search_rules
Free. Finds rule keys. Use get_rate (paid) to get the value in force on a date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text, e.g. 'vat threshold' |
Free. Finds rule keys. Use get_rate (paid) to get the value in force on a date.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text, e.g. 'vat threshold' |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context — that this call is free while get_rate is paid, and that it returns keys rather than values — which steers cost-aware tool selection.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three clipped sentences, zero waste, with the most decision-relevant fact ('Free') front-loaded and the routing hint last. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter, no-output-schema lookup tool, the description covers purpose, cost, and return nature (keys). It could be marginally richer about what happens on no match, but nothing essential to a correct call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single 'query' parameter is documented with an example ('vat threshold'), so the description carries no additional parameter burden. Baseline 3 is appropriate since the schema does the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Finds rule keys'), and explicitly contrasts itself with the sibling get_rate. An agent can immediately tell this is the key-discovery tool rather than the value-lookup tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the alternative (get_rate) and the exact condition that selects it ('to get the value in force on a date'), which by contrast defines when to use this tool: when the key itself is unknown. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.