How to Write Agent Tool Descriptions That Distinguish Similar Tools
Write agent tool descriptions that distinguish similar tools so the model picks the right one.
WORKFLOW TAG
Connect tools and context through the Model Context Protocol.
Write agent tool descriptions that distinguish similar tools so the model picks the right one.
Validate an agent output against its schema before downstream use, so bad output never reaches the next step.
Pin agent tool versions so an upstream change cannot silently change the run.
Design an agent tool schema with a clear description, typed parameters and required fields so the model calls the right tool correctly.
Send the protocol version on every request, call server/discover to learn what the server supports, and retry with a version both sides…
Check the server declares the subscribe feature, subscribe to the resource URI, and confirm the client gets an update notification when it…
Define a prompt with named arguments, check the client lists it for the user to select, and validate the arguments before it…
Set a log level in the request metadata, and check the server only sends messages at or above that level, with no…
Declare the completions capability, answer completion/complete with ranked values, and keep each reply under 100 items.
Ask for progress with a token in the request, and check the server reports a rising progress value with an optional total.