Skip to main content
Glama

Snapback

recommend_failover

Should you RETRY the same target, SWITCH provider, FALL BACK to another chain, or STOP? Pass the error + your configured topology (current_chain, available_chains, and/or current_provider, available_providers) and get deterministic routing advice with the reason — so a flaky Solana RPC doesn't get retried 5x when you should switch to Base. Free, no token, no LLM. Reads only what you tell it (no network calls).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorYesthe error you hit
current_chainNothe chain you're on (e.g. 'solana')
available_chainsNofallback chains you can use (e.g. ['base','arbitrum'])
current_providerNothe RPC/provider you're using (e.g. 'helius')
available_providersNobackup providers on the same chain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It does this well by stating the tool is deterministic, costs no tokens, uses no LLM, and performs no network calls, reading only what the caller passes. It does not detail error behavior or output structure, but the core safety and privacy traits are explicit.

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

Conciseness4/5

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

The description is front-loaded with the core question, then gives input requirements, an illustrative example, and behavioral guarantees. It is slightly verbose with the motivational Solana/Base example, but each sentence contributes either usage guidance or transparency information, so no sentence is wasted.

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

Completeness3/5

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

The tool has no output schema, so the description should clarify what the agent can expect back. It says 'deterministic routing advice with the reason,' which conveys the high-level return value but does not describe the structure, the possible action values, or how the reason is formatted. Inputs are well covered, but the output contract is under-specified.

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%, so the baseline is 3. The description adds meaning beyond the schema by explaining the relationship between parameters: pass the error plus 'current_chain, available_chains, and/or current_provider, available_providers'. The 'and/or' clarifies that chain topology and provider topology are independent optional inputs, which the schema alone does not convey.

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

Purpose5/5

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

The description names a specific decision task ('RETRY', 'SWITCH', 'FALL BACK', or 'STOP') and clearly states the tool produces deterministic routing advice with a reason. It also distinguishes itself from nearby diagnostic siblings by emphasizing it is free, LLM-free, and network-free, making its niche unmistakable.

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

Usage Guidelines4/5

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

The description tells the agent when to use it: after an error, pass the error plus the configured topology, and receive routing advice. It gives a concrete motivating example ('flaky Solana RPC... switch to Base') but does not explicitly say when NOT to use it or name alternative tools for this situation.

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.