Skip to main content
Glama

Find railway station

find_station
Read-only

Search Finnish railway stations by name or short code and return the station codes required by other rail tools. Optionally include stations without passenger traffic.

Instructions

Search Finnish railway stations by name or short code (e.g. 'Tampere', 'HKI', 'Pasila'). Returns short codes used by other rail 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
queryYesStation name or short code
include_non_passengerNoAlso include stations without passenger traffic

Output Schema

NameRequiredDescriptionDefault
stationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds domain scope (Finnish stations only) and the key behavioral fact that output codes feed other tools, though it says nothing about result volume or how partial-name matching behaves.

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 with the purpose first and the downstream-use note second; every clause carries information and nothing is padded.

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, annotations covering safety and openness, and full schema coverage on both parameters, the description supplies everything missing: domain scope, input format examples, and why the returned codes matter.

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 100%, so the baseline is 3, but the description earns an extra point by giving concrete examples ('Tampere', 'HKI', 'Pasila') that show both a full name and short-code formats, clarifying what query accepts beyond the schema's generic 'Station name or short code'.

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 Finnish railway stations') with the domain scoped to Finland, and adds that it returns short codes consumed by other rail tools, which separates it from siblings like station_board or train_connections that take those codes as input.

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 line 'Returns short codes used by other rail tools' implies this is the resolver step before calling other rail tools, giving clear usage context. It does not explicitly name an alternative or state when not to use it, so it stops short of full routing guidance.

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