Skip to main content
Glama

rail_search

Read-onlyIdempotent

Search the How to pay catalog by free text — how to pay — Stripe for humans, x402 USDC for agents. Read-only; returns matching entries with name, price, notes, and links. Use to find an entry by keyword; use rail_get when you already know the entry id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rail_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text query matched against entry id, name, notes, price, and URL. Omit or send an empty string to list every entry in the catalog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / q / description
      Added value: +"Free-text query matched against entry id, name, notes, price, and URL. Omit or send an empty string to list every entry in the catalog."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the description needn't restate safety, and it doesn't waste space doing so. It adds value by disclosing the fields returned (name, price, notes, links), which matters because there is no output schema. It is silent on result limits or pagination for broad searches, which is the only meaningful gap.

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 purpose is front-loaded and the routing hint comes last, which is the right order. The parenthetical flavor ("Stripe for humans, x402 USDC for agents") adds characterization but is slightly decorative rather than operationally useful.

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-optional-parameter search with no output schema, the description covers purpose, alternative routing, read-only nature, and the shape of returned entries. Everything an agent needs to select and invoke it correctly is present.

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 coverage is 100% and the single parameter's description already explains the match fields and the omit/empty-string behavior that lists every entry. The description adds only the phrase "by free text," which the schema name and text already convey, so the baseline of 3 applies.

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 and resource ("Search the How to pay catalog by free text") and immediately clarifies what the catalog contains. It also explicitly names the sibling rail_get, so an agent can distinguish this lookup-by-keyword tool from the lookup-by-id tool without opening a 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 when-to-use rule ("Use to find an entry by keyword") plus the exact condition that selects the alternative ("use rail_get when you already know the entry id"). No inference is required to route between the two.

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