explain_error
Explain a FlexYield error code (e.g. -32007) — what it means, the steps to take, the doorway. No authentication required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The JSON-RPC error code from the response, e.g. -32007 |
Explain a FlexYield error code (e.g. -32007) — what it means, the steps to take, the doorway. No authentication required.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The JSON-RPC error code from the response, e.g. -32007 |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral disclosure burden. It usefully reveals that no authentication is required and that the result includes meaning and steps, but it does not explicitly state whether the operation is read-only or describe the response format. For a simple informational tool this is adequate but not rich.
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?
The description is a single front-loaded sentence with no filler, and the most important information appears first. The only structural concern is the unexplained 'doorway' term, which introduces a small amount of ambiguity.
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 single-parameter, stateless explainer with no output schema, the description covers the trigger, the type of output, and the auth requirement. The main gap is that 'doorway' is not defined, leaving one promised output element unclear.
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?
The schema already fully documents the single integer parameter with an example (-32007), and the description repeats the same example without adding new constraints or syntax details. Since schema description coverage is 100%, the baseline of 3 is appropriate.
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?
The description names a specific verb (Explain), a specific resource (FlexYield error code), and previews the output content (meaning, steps, doorway). It is distinct from the sibling tools, though the cryptic 'doorway' phrase slightly diminishes the clarity.
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?
The intended use is clearly implied: when a user encounters a FlexYield JSON-RPC error code and wants an explanation and next steps. The statement 'No authentication required' provides a practical precondition, though it does not explicitly name when-not-to-use alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.