Skip to main content
Glama

Got a Plan Trip Planner

Choose a ferry, bus or train for a leg

choose_transport

Saves the ride the traveller picked for one ferry or road leg of a trip: option is its position in the options saved for the leg, counted from 0. After the trip's dates moved, same_ride keeps the ride chosen for the old date on the leg's new date instead (not booked; its times are the usual ones, to check on the booking site). Booking itself happens on the booking site; mark_leg marks it booked. clear_flight removes the choice again.

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": {
      "trip_id": "<trip_id>",
      "leg_key": "<leg_key>"
    },
    "name": "choose_transport"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionNo
leg_keyYes
trip_idYes
same_rideNoTrue to keep the ride chosen for this hop before its date moved, on the new date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the description's job is to add context, which it partly does by clarifying that no booking occurs here and that mark_leg/clear_flight handle the book and undo steps. It omits key behavioral facts: that options must already exist (e.g. via save_transport_options), and what happens when re-invoked for a leg that already has a choice or when 'option' is out of range.

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?

The main action is front-loaded and every clause carries information; the parenthetical about same_ride ('not booked; its times are the usual ones, to check on the booking site') is useful rather than filler. The single dense run-on construction makes it slightly harder to scan than a short bulleted structure would.

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 4-parameter mutating tool with no output schema, the description covers scope, the booking hand-off, and the sibling tools well. It stops short of explaining the prerequisite of saved options and the overwrite/replace semantics, which an agent would need before calling it safely.

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 coverage is only 25%, so the description needs to carry weight; it does well for 'option' ('its position in the options saved for the leg, counted from 0') and adds real context for 'same_ride' beyond the schema's own wording. However, 'leg_key' and 'trip_id' get no semantic help — an agent is not told where leg_key comes from (e.g. saved options from find_transport/save_transport_options), leaving half the parameters undocumented.

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?

States a specific verb and resource ('Saves the ride the traveller picked... for one ferry or road leg of a trip') and immediately scopes it against two siblings: 'mark_leg marks it booked' and 'clear_flight removes the choice again.' An agent can tell this is the choose/record step, not the booking or clearing step, without opening any 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?

Gives clear context for when to call it (after options were saved for a leg and the traveller picked one) and explicitly routes the booking step elsewhere ('Booking itself happens on the booking site'). It does not contrast with the other choose_* siblings (flight/route/stay), so the boundary for non-ferry/road legs is only implied by the 'ferry or road leg' scope.

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.