Skip to main content
Glama

Plan Trip

plan_trip
Read-only

Calculate public transport routes in Budapest with walking, transfers, and live delays. Enter an origin and destination to get departure or arrival-based trip options.

Instructions

Plan a public transport trip with walking, transfers and live delays.

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": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "plan_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoBudapest local time, ISO format. Default: now
originYesStart: stop name or 'lat,lon'
arrive_byNoTreat time as the latest arrival instead of departure
destinationYesDestination: stop name or 'lat,lon'
max_resultsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety and external-data reach are covered. The description's genuinely additive detail is that results include live delay data and mixed walking/transit legs, which hints results are time-sensitive, but it says nothing about failures (unknown stop names, no-route cases) or how live data affects output.

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 sentence with zero padding that leads with the verb and resource and packs the differentiating details (walking, transfers, live delays) inline.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and the input schema covers most semantics. What is missing is routing guidance against sibling tools and any note on edge cases like ambiguous stop names or real-time data availability, which matters for a trip-planning tool with a 5-parameter surface.

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 80% and the schema itself documents origin/destination formats, ISO local time, and arrive_by semantics, so the description has little to add. It stays out of the way rather than duplicating, which is acceptable; only max_results lacks explanation anywhere.

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?

States a specific verb and resource ('Plan a public transport trip') plus the itinerary components it handles: walking, transfers and live delays. That distinguishes it well from the structurally different siblings (departures, find_stop, service_alerts, train_connections), though it never names an alternative explicitly.

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 by the purpose: an agent can infer 'use this for end-to-end journeys, not for single departures', but the description never says when to prefer it over departures or train_connections, nor any prerequisites such as needing resolvable stop names or coordinates.

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