Skip to main content
Glama

pickthetrain

Where a direct train goes from a city

list_train_destinations
Read-only

The cities in other countries (in North America, also in other states) that a direct train reaches from a given city, in the railways' open timetables, the most trains a day first, with the fastest trip, the night trains and a link to each route. Narrow it to one country, or to routes with a night train. Use find_direct_trains for the times on one route. Read-only.

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": {
      "from": "<from>"
    },
    "name": "list_train_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesthe city the trains leave from: a city's name in any language or spelling, e.g. 'Zurich', 'München', 'Praha'; add the country after a comma when two cities share a name, e.g. 'Baden, Switzerland'
limitNohow many cities, 1 to 100 (default 40)
countryNoonly cities in this country, by its English name or code, e.g. 'Italy' or 'IT'
night_onlyNoonly routes with a night train

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, destructiveHint=false and openWorldHint=false, so 'Read-only' is redundant. The description does add real behavioral context beyond the annotations: the result scope is limited to other countries (and other states within North America), and the output ordering and per-route contents are disclosed. It does not mention pagination or what happens when a city has no international connections.

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 core scope and ordering are front-loaded in the first clause, and the trailing sentences are short and functional. The opening sentence is a dense run-on ('the railways' open timetables, the most trains a day first, with the fastest trip, the night trains and a link to each route') that would read better as a list, but nothing is wasted.

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?

There is no output schema, and the description compensates by describing exactly what comes back: destination cities, train frequency ordering, fastest trip time, night-train flag, and a link per route. Combined with the annotations and a fully documented schema, an agent has everything needed to call this correctly.

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%, including examples for 'from' ('Baden, Switzerland'), the 1–100 limit range and default, and country name/code forms, so the schema carries the semantic load. The description's 'narrow it to one country, or to routes with a night train' only restates what the country and night_only parameters already say. Baseline 3 is appropriate.

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 — the cities in other countries/other states that a direct train reaches from a given city — and pins down the ordering (most trains a day first, then fastest trip) plus what each entry carries (night trains, link to route). It is clearly distinguishable from find_direct_trains, which is named as the route-level alternative.

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?

Explicitly routes the agent: 'Narrow it to one country, or to routes with a night train' maps directly onto the country and night_only parameters, and 'Use find_direct_trains for the times on one route' names the sibling and the condition that selects it. Both the when-to-use and the when-to-use-something-else cases are covered.

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