Jonas Schmidt
@jonas_schmidt • 2 weeks ago
Draft an MCP tool name, description and input schema that tell a model when to use the tool, when not to, and how to fill every argument.
tool_behaviorusageneighbors{{tool_behavior}}{{usage}}{{neighbors}}tool_behavior: Full-text search across customer support tickets in our helpdesk. Filters: status (open, pending, solved), updated date range, customer email. Returns up to 25 tickets per page (id, subject, status, updated_at, customer email, 200-character snippet) plus a next-page cursor. Takes about 2 seconds. Doesn't search attachments or internal notes. usage: Our support agents ask Claude in Slack things like "any open tickets about refund delays this week?" or "what has acme.com complained about lately?" neighbors: get_ticket (fetches one ticket's full thread by ID), search_help_articles (searches public knowledge-base articles)
`json`query: "refund delay", status: "open" and updated_after set to Monday's date. A topic plus status plus time range is exactly this tool's job.@acme.com instead. The "when you already have its ID" line in the description is there to prevent that. If testing shows it still happens, name the ID case in the first sentence.