Skip to main content
Glama

find_station

Read-only

Search for SNCF train stations by name and return the station IDs needed for departures, journeys, and disruption queries.

Instructions

Find train stations by name. Returns station ids to use in the other tools.

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": {
      "query": "<query>"
    },
    "name": "find_station"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds that the output is station ids, but says nothing about matching behavior (exact vs partial name, multiple matches, empty results) or rate/availability concerns. Adequate but thin beyond 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 short sentences, front-loaded with the action and followed immediately by the result's purpose. Nothing is wasted or repeated.

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 structure needn't be spelled out, and the description nonetheless flags the key payload (station ids) plus the downstream use. For a one-parameter lookup this is nearly complete; the main residual gap is how name matching behaves on ambiguity or no-match.

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 0% for the single 'query' parameter, so the description carries the burden. 'By name' tells the agent the query is a station name rather than a code, but it does not specify whether partial strings, multiple tokens, or case/format matter — only partial compensation.

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?

States a specific verb and resource ('Find train stations by name') and adds the practical intent of the result ('station ids to use in the other tools'). None of the siblings (departures, disruptions, journeys) is a station lookup, so differentiation is clear by implication rather than explicit naming.

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?

The phrase 'ids to use in the other tools' establishes a clear when-to-use context: this is the resolution step before calling departures, journeys, or disruptions. It stops short of stating exclusions or saying explicitly 'call this first', leaving the workflow ordering to be inferred.

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

Deploy Server

Other Tools