Skip to content

docs: fix misleading MCP tool examples (get_configs, branch_id) - #70

Merged
padak merged 1 commit into
mainfrom
fix/68-mcp-docs-get-configs
Mar 28, 2026
Merged

docs: fix misleading MCP tool examples (get_configs, branch_id)#70
padak merged 1 commit into
mainfrom
fix/68-mcp-docs-get-configs

Conversation

@padak

@padak padak commented Mar 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix wrong get_config example in mcp-workflow.md -- tool is get_configs (plural) and takes configs list of {component_id, configuration_id} objects, not a flat config_id
  • Clarify that branch_id is a CLI flag (--branch), NOT a tool input parameter -- passing it in --input causes Pydantic validation error
  • Add "Discovering tool parameters" section to mcp-workflow.md with inputSchema lookup example
  • Add schema discovery and branch_id gotchas to gotchas.md
  • Add MCP tip Phase 3: Command Layer Deduplication #9 to kbagent context output

Test plan

  • ruff check + ruff format --check pass
  • pytest -k context -- all 8 tests pass
  • Verify kbagent context output includes new tip Phase 3: Command Layer Deduplication #9
  • Review mcp-workflow.md examples match actual get_configs inputSchema

Fixes #68

Fix wrong get_config example (should be get_configs with configs list param),
clarify that branch_id is a CLI flag not a tool input parameter, and add
schema discovery tips to context, mcp-workflow, and gotchas docs.

Fixes #68
@padak
padak merged commit 5470530 into main Mar 28, 2026
1 check passed
@padak
padak deleted the fix/68-mcp-docs-get-configs branch March 28, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_configs MCP tool: filtering by config_id or branch_id not supported

1 participant