Skip to main content
Glama

Explain a signafAIde error code

signafaide_explain_error
Read-onlyIdempotent

Explains what a signafAIde error code means and how to resolve it, covering chain conflicts, quota limits, invalid keys, network failures, and unrecorded calls.

Instructions

What a signafAIde error code means and how to fix it, e.g. chain_conflict, quota_exceeded, invalid_key, network, not_recorded.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "signafaide_explain_error"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe error code, e.g. from SignafaideError.code or the service's error body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that the response includes both meaning and remediation, but it says nothing about unknown or malformed codes, any rate limits, or the exact return shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no padding: the purpose and the example codes each earn their place, and there is no redundant restatement of the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter lookup tool with no output schema, the description is nearly sufficient: it covers what the tool does and what the result contains. The only gap is that it never states the trigger condition, such as calling this after a SignafaideError.code is returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is documented, so the baseline is 3; the description goes beyond that by enumerating concrete code values (chain_conflict, quota_exceeded, invalid_key, network, not_recorded) that the schema does not supply. This gives the agent a real sample space for the otherwise free-form string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb-and-resource purpose: it explains what a signafAIde error code means and how to fix it. That is clearly distinct from the sibling tools (claim_link, flush, init, verify), but the description never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent must infer that this tool should be called after receiving an error. There is no explicit trigger such as "call this when a signafAIde call fails", and no stated exclusion or alternative path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.