Skip to main content
Glama

Spick Me — Swiss public transport

Plan a public-transport journey in Switzerland

plan_journey
Read-onlyIdempotent

Find the best connections by train, tram, bus, boat and mountain railway between two places in Switzerland, from Spick Me's own routing engine over the official Swiss timetable. Door to door: an address or a named place works as well as a station, and the walk to and from the nearest stops is included.

Use it for "how do I get from A to B", "when is the next train to …", "I need to be in Bern by 9". Every journey comes with a picture_url: a link that opens a ready-made image of the connection the user can look at or share — offer it when a picture would help.

Inputs: from and to are each A station or stop name ("Zürich HB", "Bern", "Lausanne, Flon"), an address ("Bahnhofstrasse 1, Winterthur"), a named place ("ETH Zürich", "Kunsthaus"), a coordinate as "geo:47.3769,8.5417", or a place_id returned by find_place ("stop:8503000"). Names are read the way a rider types them; an ambiguous name returns candidates instead of a guess. Give departure (leave at or after) or arrival (be there by), not both; both are Swiss local time in ISO 8601, e.g. "2026-09-26T08:00"; an explicit offset or Z is converted. A bare "08:00" means today (tomorrow if it has long passed). Omit for now. via is up to three stations or stops the journey must pass through (then one best journey is returned); to stop somewhere on the way, use plan_day_out. max_transfers caps the number of changes (0 = direct only). limit is how many alternatives to return (1–8, default 4).

All times are planned timetable times with their Swiss offset; live delays are not included, so say so when it matters.

Example: {"from": "Winterthur", "to": "Bern", "departure": "2026-09-26T07:00"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesWhere the journey ends.
viaNoStations or stops the journey must pass through, in order. With via, one best journey is returned.
fromYesWhere the journey starts.
limitNoHow many alternative journeys to return.
arrivalNoArrive by this time. Give this or departure, not both.
departureNoLeave at or after this time. Omit both departure and arrival for now.
max_transfersNoThe most changes of vehicle allowed; 0 for direct connections only.
transfer_time_factorNoHow much time to allow for changing trains, as a multiple of the timetable's minimum change times: 1 (default) is the timetable's own; 1.5 for luggage, children or reduced mobility; 0.7 for a fast walker. Between 0.5 and 3.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
dataYes
fromYes
journeysYes
interpretedNo
walk_insteadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses non-obvious behaviors: ambiguous names return candidates rather than a guess, via reduces output to one best journey, and results are planned timetable times with Swiss offsets with no live delay data — with the instruction to say so when it matters. It also explains the picture_url artifact and when to offer it. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and usage, then inputs, then a single example — a logical order with no wasted sentences. It is on the long side and the picture_url sentence borders on promotional, but each paragraph carries information the agent needs.

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?

For an eight-parameter planning tool with an output schema, the description covers everything an agent must know to call it correctly: formats, time semantics, mutual exclusions, alternatives limit, and the absence of real-time data. Return-value detail is legitimately delegated to the output schema.

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 baseline is 3, but the description adds real value beyond the schema: accepted input formats for from/to (station, address, named place, 'geo:lat,lng', 'stop:8503000'), the departure/arrival mutual exclusion, ISO 8601 Swiss local time with offset conversion, and the bare '08:00 means today' rule. Only transfer_time_factor is left to the schema alone.

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+resource ('Find the best connections by train, tram, bus, boat and mountain railway between two places in Switzerland') and names the data source (Spick Me's routing engine over the official Swiss timetable). This is clearly distinguishable from siblings like travel_time_matrix, reachable_area and plan_day_out, which it also explicitly routes away from.

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

Usage Guidelines5/5

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

It gives concrete triggering phrases ('how do I get from A to B', 'I need to be in Bern by 9') and an explicit exclusion: to stop somewhere along the way, use plan_day_out instead. It also tells the agent how to obtain a place_id (find_place) and what an ambiguous name does (returns candidates, no guessing).

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.

Resources