Skip to main content
Glama

Swisstransport Search Stations

swisstransport_search_stations
Read-onlyIdempotent

Search for Swiss public transport stations (train, bus, tram) by name query.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Zurich HB"
    },
    "name": "swisstransport_search_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesStation name to search for (e.g., "Zurich HB", "Bern", "Geneva").

Output Schema

NameRequiredDescriptionDefault
countYesNumber of stations returned
stationsYesList of matching stations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered elsewhere. The description adds only the geographic scope (Swiss) and mode coverage, and says nothing about match behavior (partial vs. exact), result limits, or what identifiers come back.

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?

One sentence, front-loaded with the verb and resource, with the mode list in parentheses as a quick clarifier. Nothing is wasted and nothing is buried.

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?

For a single-parameter lookup with full schema coverage, complete annotations, and an output schema, the definition is nearly sufficient. The only shortfall is the absent note on match behavior and on passing the returned station identifier to downstream tools.

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% and the schema even supplies examples (":example": {"query": "Zurich HB"}), so the single parameter is fully documented structurally. The phrase "by name query" adds no syntax or format detail beyond what the schema already carries, landing at the baseline 3 for one parameter.

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?

"Search for Swiss public transport stations (train, bus, tram) by name query" gives a specific verb (search), a precise resource (Swiss public transport stations), and a qualifier on transport modes, so an agent knows exactly what it retrieves. It does not distinguish itself from the nearest sibling (get_stationboard), which is the only thing keeping it from a 5.

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?

The description states no when-to-use context, no prerequisites, and no named alternative. An agent must infer that this is the entry point for resolving a station name before calling a stationboard or connection tool; nothing in the text says so.

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.