Skip to main content
Glama
malkreide

swiss-transport-mcp

by malkreide

transport_trip_plan

Read-only

Plan a public transport journey between two locations in Switzerland. Returns trip options with transfers, durations, and modes.

Instructions

Plan a journey between two locations in Switzerland.

Works like the SBB app: enter origin and destination (stop IDs or place names), get multiple trip options with transfers, durations, and transport modes.

For best results, use stop IDs from transport_search_stop. Place names (addresses) also work but may be slower.

Returns: Trip options, each with legs (individual journey segments), total duration, number of transfers, and transport modes used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
countNo
tripsNo
originNo
messageNo
destinationNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description's claim of returning trips without modification aligns. It adds useful context such as operating like the SBB app and specifying return structure, but does not disclose performance characteristics or edge cases beyond the annotation.

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?

The description is concise, with three well-structured paragraphs that front-load the core purpose, followed by usage tips and return overview. No unnecessary sentences or redundancy.

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?

The description covers primary use, input advice, and return structure, but lacks details on optional parameters (time, limit) and their defaults. Given an existing output schema, the description is mostly complete, but minor omissions prevent a perfect score.

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 0% according to context, but the description mentions origin and destination parameters and their preferred inputs. However, it omits the time and limit parameters, which are described in the schema. The description adds value by suggesting stop IDs, but incomplete coverage reduces the score.

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 clearly defines the tool as planning a journey between two locations in Switzerland, explicitly stating it returns multiple trip options with transfers, durations, and transport modes, distinguishing it from sibling tools like transport_search_stop.

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?

The description provides explicit guidance on when to use stop IDs from transport_search_stop for best results and notes that place names work but may be slower, effectively differentiating between this tool and its sibling for stop search.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/swiss-transport-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server