Skip to main content
Glama

Production Failure Intelligence

xguard.failures
Idempotent

Look up a supported Cloudflare Workers error in the official error reference and return the documented diagnostic steps. USD 0.001 per atomic result.

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": {
      "provider": "<provider>",
      "code": "<code>"
    },
    "name": "xguard.failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotency and non-destructiveness, and the description usefully adds a pricing model ('USD 0.001 per atomic result') and the nature of the return value, which the annotations do not cover. It still omits the failure mode for unsupported codes, any latency/caching behavior, and why a pure 'look up' operation is annotated readOnlyHint=false, leaving a behavioral question unanswered.

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?

Two sentences, zero padding: the action and return are front-loaded, and the cost model follows immediately after. Nothing is repeated from the name, title, or schema, and no sentence could be deleted without losing information.

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 simple two-parameter, enum-bound lookup with no output schema, the description covers purpose, source, and returned content, and annotations carry the safety profile. The remaining gap is behavioral edge cases (unsupported code, error vs. empty response) rather than any core calling information.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate, and it does partially by clarifying that 'code' is a *supported* Cloudflare Workers error and 'provider' anchors the official reference. Both parameters are enum-constrained, so the admissible values are self-documenting, but the description adds no format hints, no example values, and no meaning for 'atomic result' as used in the pricing sentence.

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?

States a specific verb and resource ('Look up a supported Cloudflare Workers error') plus the payload ('documented diagnostic steps') and the source ('official error reference'). It is clearly not a general code-search or compatibility tool, but it never names a sibling or explicitly contrasts itself with the broader xguard.* catalog, so sibling differentiation is left to inference.

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 implied rather than stated: the agent can infer 'use this when you have a Cloudflare Workers error code and want remediation steps.' There is no when-not guidance, no named alternative for cases like version changes or compatibility checks, and no statement of what to do when the code is unsupported by the enum.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.