Skip to content

Fix MCP tool-name casing in README and document version tool - #25

Merged
rockfordlhotka merged 1 commit into
mainfrom
docs/fix-tool-names-add-version
Jun 3, 2026
Merged

Fix MCP tool-name casing in README and document version tool#25
rockfordlhotka merged 1 commit into
mainfrom
docs/fix-tool-names-add-version

Conversation

@rockfordlhotka

Copy link
Copy Markdown
Member

Summary

The README documented the MCP tools as Search and Fetch (capitalized) and showed tools/call examples using those names. The MCP SDK exposes the C# Search/Fetch/Version methods with a lowercase first letter on the wire, so calling Search actually returns -32602 Unknown tool: 'Search'. The version tool was also live but undocumented.

This was verified end-to-end against a locally running server (dotnet run --project csla-mcp-server -- run): tools/list reports search, fetch, version, and tools/call only succeeds with the lowercase names.

Changes

  • Update all wire-name references and tools/call JSON examples to lowercase search / fetch.
  • Document the previously undocumented version tool (intro list, MCP Tools overview, and a new ### Tool: version section with example).
  • Add a note explaining the casing (C# methods are Search/Fetch/Version, but the SDK camelCases them on the wire), including the exact -32602 error.

Docs-only change; no code modified.

🤖 Generated with Claude Code

The MCP SDK exposes the C# Search/Fetch/Version methods with a lowercase
first letter on the wire, so the documented tools/call examples using
"Search"/"Fetch" return -32602 Unknown tool. Update all wire-name
references and JSON examples to lowercase, add the previously
undocumented `version` tool, and add a note explaining the casing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rockfordlhotka
rockfordlhotka merged commit a283299 into main Jun 3, 2026
1 check passed
@rockfordlhotka
rockfordlhotka deleted the docs/fix-tool-names-add-version branch June 3, 2026 07:22
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.

1 participant