Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

rail_router_route

$0.01 USDC on Solana per challenge - the payment buys one signed rail identification of the one 402 response (or its headers) you submit: which rail it belongs to, with the grammar evidence printed.

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": {
      "artefact": "<artefact>"
    },
    "name": "rail_router_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
artefactYesThe one 402 artefact to identify: its status, headers and body in the form received. Processed in memory only, never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well on the commercial dimension: it discloses the price ($0.01 USDC on Solana), that payment is per challenge, that the result is a signed identification, and that evidence is printed. It omits how payment is actually made/authorized, what happens if the artefact is not a 402 or identification fails, and whether a failed call is refunded — significant gaps for a paid, non-annotated tool.

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?

It is a single dense sentence with no filler, and the pricing term is front-loaded so a cost-sensitive agent sees it immediately. The clause structure is somewhat convoluted ('the payment buys one signed rail identification of the one 402 response ... you submit'), which slows parsing slightly, but nothing 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?

There is no output schema and no annotations, so the description must substitute for both. It does say what the caller receives (a signed rail identification plus printed grammar evidence), which is the key missing piece, but it never explains the rail taxonomy, the response format, or error/refund behavior. For a paid single-purpose classifier this is adequate but leaves real ambiguity.

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 100% and there is a single nested 'artefact' parameter whose schema already explains it must be the response as received with status, headers, and body. The description adds modest value by clarifying that headers alone may be submitted and that exactly one artefact is accepted, but it does not explain the nested structure further. Baseline 3 applies when the schema does the heavy lifting.

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 resource and outcome: submitting one 402 response (or its headers) yields a signed identification of which 'rail' it belongs to, with grammar evidence. The verb is implicit ('buys one signed rail identification') and the term 'rail' is never defined, so an agent unfamiliar with the taxonomy must infer it. It also does not differentiate itself from siblings rail_router_precheck or rail_probe_probe, which likely operate on the same artefact.

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: you submit one artefact and get an identification. There is no statement of when to prefer this over rail_router_criteria, rail_router_precheck, or rail_probe_probe, nor of preconditions such as having a valid 402 response in hand. The 'one 402 response' phrasing hints at a one-at-a-time constraint but does not frame it as guidance.

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.

Resources