Search traps by error text
search_trapsCall when a call to a third-party service fails. Paste the error text. Returns the closest verified traps with fixes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| error_text | Yes | ||
| include_stale | No |
search_trapsCall when a call to a third-party service fails. Paste the error text. Returns the closest verified traps with fixes.
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| error_text | Yes | ||
| include_stale | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, covering the safety profile. The description adds useful return context ('closest verified traps with fixes') and implies the error text should be pasted verbatim, but discloses nothing about pagination, ranking, or staleness behavior.
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 short sentences, with the usage trigger front-loaded before the return description. No wasted words; minor awkwardness in 'Call when a call...' but structurally sound.
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?
There is no output schema and none is strictly needed, but with 0% schema coverage the definition should say more about provider and include_stale. The description is adequate for the core call but leaves real gaps for a 3-parameter tool.
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 coverage is 0%, so the description carries the full burden. It sheds light on error_text ('paste the error text'), but provider and include_stale go entirely unexplained in both schema and description, leaving two of three parameters semantically opaque.
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+resource ('Search traps by error text') and clarifies that results are 'the closest verified traps with fixes'. It does not, however, differentiate itself from the sibling lookup_traps, which appears to serve a similar retrieval purpose.
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?
Gives a clear triggering condition: 'Call when a call to a third-party service fails.' This tells the agent when to reach for it. It stops short of naming alternatives (lookup_traps) or stating when NOT to use it.
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.