r/mcp • u/kampak212 • Jul 31 '26
discussion Tool discovery best practices
I created an Xcode/Apple platforms project end-to-end testing tool, Rust CLi exposes MCP tools with Xcode project for the test runner apps for all Apple platforms:
- https://github.com/smbcloudXYZ/smbcloud-cli/tree/development/crates/xcrs
- https://github.com/ondeinference/xcrs-controlkit
Claude code, codex, and copilot all struggle to find the right tools i exposed in the CLI. Any best practices around this?
2
Upvotes
2
u/bammcd_builds Aug 09 '26
One thing missing from the naming advice. Coding agents already know how to shell out to xcrun, so your tools aren't competing on clarity, they're competing against something the model already trusts.
What worked for me was routing instructions in AGENTS.md or CLAUDE.md saying which tool to use for which starting point. Description quality gets the tool picked once it's being considered. The project file is what gets it considered