Skip to main content
Glama

Kildeverk

Find public transport stops

transit_find_stops
Read-onlyIdempotent

Find bus, tram, metro, train, ferry and airport stops anywhere in Norway, from the national stop register. Search by name, near a point, or by municipality code, optionally only some kinds of stop (e.g. 'railStation'). Returns stop ids for transit_departures, with the modes served, location and fare zones.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "transit_find_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
limitNo
queryNoStop name, e.g. 'Oslo S'.
radius_kmNoWith lat and lon and no query: how far to look.
stop_typesNoOnly these kinds of stop, e.g. ['railStation'].
municipalityNoMunicipality code, e.g. '4601' (Bergen).

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 readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds value the annotations cannot: the authoritative national register as data source and, in the absence of an output schema, what actually comes back (stop ids, modes served, location, fare zones). It does not mention result caps or what happens with zero parameters, leaving minor behavioral gaps.

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 sentences, front-loaded with the operation and geography, then the search modes, then the return contract. Every clause carries information and there is no boilerplate.

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 7-parameter tool with no required parameters and no output schema, the description covers the search modes and sketches the return contents, which is the critical missing piece. Gaps remain around default behavior with no arguments, the result limit, and how the stop-type filter interacts with the geographic filters.

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?

At 57% schema coverage the description meaningfully compensates for the undocumented parameters: it explains that query means name search, lat/lon means proximity search, municipality means code search, and stop_types means restricting modes, with a concrete example ('railStation'). It adds no detail on limit or on how query and lat/lon interact, so it is helpful but not exhaustive.

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 opens with a specific verb and resource ('Find bus, tram, metro, train, ferry and airport stops') plus explicit scope ('anywhere in Norway, from the national stop register'). It also situates the tool against its downstream consumer by noting the returned stop ids feed transit_departures, so an agent can distinguish lookup from departure queries without opening a schema.

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?

It enumerates the three valid search strategies ('by name, near a point, or by municipality code') and the optional narrowing by stop type, which tells an agent how to pick parameters for a given user request. It stops short of explicit exclusions or stating what to do when multiple strategies are combined, so it is strong guidance rather than a complete decision rule.

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.