Skip to main content
Glama

Request a train refund

brij_request_train_refund

Free over MCP (the x402 price quoted below applies to the HTTP API only; MCP calls are rate-limited instead).

Ask for a refund on a rail booking (manual review).

Paid x402 endpoint: $0.10 USDC. Identical to POST /air/refund-requests (X-Customer-Support-Code, X-Passenger-Family-Name = lead traveller's family name).

Input Schema

NameRequiredDescriptionDefault
reasonYesFree-text explanation of why the refund is requested.
contactNoOptional reply-to channel (email, phone, etc.) the operator can use to follow up.
intent_idYesId returned by POST /air/intents.
customer_support_codeYesThe customer_support_code returned when the intent was created.
passenger_family_nameYesFamily name of the passenger as captured at /book. Compared case-insensitively with leading/trailing whitespace trimmed.

Output Schema

NameRequiredDescriptionDefault
statusNo
intent_idNo
requested_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With annotations declaring readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, the description adds genuinely new context: the request goes through manual review, MCP calls are rate-limited rather than priced, and specific auth headers are required. It does not, however, say whether a refund request can be withdrawn or how long review takes.

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

Conciseness3/5

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

The description opens with pricing/billing framing ('Free over MCP... x402 price quoted below') rather than the action, so the front-loaded content is the least decision-relevant part. The body is short and the endpoint equivalence line is compact, so waste is limited but structure is suboptimal.

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?

An output schema exists so return values need not be explained, and the description covers the key behavioral facts an agent needs (manual review, rate limiting, auth headers). It is slightly incomplete on what the request lifecycle looks like after submission, but overall adequate for a 4-required-parameter mutation.

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%, so all five parameters are already documented in the schema. The description only restates the support-code and family-name inputs in HTTP-header form, adding no new meaning about formats, constraints, or relationships.

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 sentence 'Ask for a refund on a rail booking (manual review)' gives a specific verb, resource, and processing mode, and the rail qualifier cleanly separates it from brij_request_flight_refund and brij_request_product_refund in the sibling list. An agent can identify the tool's job without opening the schema.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus its flight/product refund siblings, nor any prerequisite guidance (e.g. that an intent must first exist). The reference to the equivalent HTTP endpoint and required headers is endpoint trivia, not selection 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