Skip to main content
Glama

Check a planned route

check_route
Read-only

Re-check a planned London route before you leave using a route_token or journey legs, and read disruption issue texts to confirm closures, diversions, or step-free access.

Instructions

Re-check a planned route shortly before leaving: pass the option's route_token copied exactly (a short id, kept for up to 2 hours and lost on restart), or legs (mode, line, from, to, start) if you do not have it. Read the issue texts, not only the status.

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": "check_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsNoonly without a route_token: the legs of the route
depart_atNocheck the route as if it left at this ISO 8601 time instead
route_tokenNothe route_token of a plan_journey option

Output Schema

NameRequiredDescriptionDefault
statusYes
delay_minYes
confidenceYes
new_issuesYes
attributionYes
retrieved_atYes
ongoing_issuesYes
suggest_replanYes
next_departuresYes
valid_for_minutesYes
status_unknown_linesNolines whose running status cannot be read: ok does not cover them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, the description discloses meaningful state behavior: the token is a short id kept only ~2 hours and lost on restart, explaining why idempotentHint is false and why re-checking is time-boxed. It also directs the agent to read issue texts rather than only status, which is real behavioral guidance not present in the annotations.

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?

Two dense sentences, front-loaded with the primary guidance (re-check shortly before leaving) followed by the fallback path and a reading instruction. No filler, no repetition of schema text.

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?

With an output schema present, the description need not enumerate return fields, and the one caveat it does give (read issue texts) is exactly the part an agent might otherwise miss. Token expiry, fallback legs, and timing guidance cover everything needed to call this correctly on a 3-parameter read-only tool.

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 already 100%, so the baseline is 3, but the description adds value the schema does not: the token must be copied 'exactly' and has a 2-hour lifetime, and it enumerates the legs fields needed when no token exists. This makes the token-vs-legs choice operationally clear.

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 verb and resource ('Re-check a planned route') and ties it to the token produced by planning, which separates it from plan_journey. It stops short of explicitly naming plan_journey as the tool that creates the route_token, so the sibling routing is inferred rather than spelled out.

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?

'Shortly before leaving' gives clear timing context, and the description gives an explicit fallback rule: use route_token, or legs 'if you do not have it'. It never says when not to use this tool (e.g. to plan a new journey, use plan_journey), leaving the negative case implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.