Skip to main content
Glama

rail_get

Read-onlyIdempotent

Retrieve one How to pay catalog entry by its id, e.g. stripe, x402. Read-only; returns the entry's name, price, notes, and links. Use when you know the exact entry id; use rail_search to find an id by keyword. An unknown id returns an error listing the known ids.

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": {
      "id": "<id>"
    },
    "name": "rail_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntry id within the How to pay catalog, e.g. stripe, x402. Get the id list from rail_search with an empty query; an unknown id returns an error listing the known ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Entry id within the How to pay catalog, e.g. stripe, x402. Get the id list from rail_search with an empty query; an unknown id returns an error listing the known ids."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description still adds value by disclosing the return payload (name, price, notes, links) and the failure mode (unknown id returns an error listing known ids). It stops short of richer operational detail, but for a single-record lookup little else is needed.

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?

Three compact sentences, front-loaded with the verb and resource, then the return shape, then the sibling routing and error case. No redundant or filler wording.

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

Completeness5/5

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

For a one-parameter, read-only lookup with no output schema, the description covers what it does, what it returns, how to obtain a valid id, and what happens on a bad id. Nothing an agent needs in order to call it correctly is missing.

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 id parameter is already documented, so the baseline is 3; the description goes further by giving valid-format examples (stripe, x402) and by framing the parameter's lookup source (rail_search with an empty query) and failure behavior.

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?

States a specific verb ('Retrieve') and resource ('one How to pay catalog entry by its id') with concrete example ids (stripe, x402), and explicitly contrasts with the sibling rail_search. An agent can distinguish rail_get from rail_search without inspecting either schema.

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

Usage Guidelines5/5

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

Gives an explicit positive condition ('use when you know the exact entry id') and names the alternative ('use rail_search to find an id by keyword'). The schema also points to getting the id list via rail_search with an empty query, reinforcing the routing.

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