Skip to main content
Glama

Switzerland OpenData Rail and Transit MCP

Search Swiss transit locations

search_swiss_transit_locations
Read-onlyIdempotent

Search Swiss SBB rail stations, bus stops, addresses, and transit landmarks by name.

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

Input Schema

NameRequiredDescriptionDefault
typeNoOptional location type filter (default "all").
queryYesStation or place name (e.g. "Zurich HB", "Geneva", "Basel SBB", "Lucerne").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true and destructiveHint=false, so the safety and side-effect profile is fully covered without description help. The description adds the data source (SBB) and the breadth of location types, but says nothing about result caps, fuzzy/partial matching, or what happens on ambiguous queries.

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?

A single front-loaded sentence with no filler; every element (source, location types, lookup mode) carries information. Nothing to trim and nothing 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 two-parameter, read-only search with full schema coverage and rich annotations, the description is nearly sufficient. The remaining gap is whether results carry station IDs usable by the coordinate/departure siblings, which would help an agent chain calls.

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%, with both `query` (with examples) and the `type` enum fully documented in the schema. The description's "by name" only reinforces the query semantics already present, so the baseline 3 applies.

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?

The description pairs a specific verb ("Search") with a specific resource (Swiss SBB rail stations, bus stops, addresses, transit landmarks) and scopes it to name lookup. This is clearly distinct from the sibling tools, which deal with delays, coordinates, departures, and journey planning rather than name resolution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the name-to-location lookup step, but there is no explicit statement of when to use it versus the coordinate or departure siblings, nor any exclusion or prerequisite. Adequate but with a clear gap.

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.