Skip to main content
Glama

Got a Plan Trip Planner

Suggest route options

suggest_routes
Idempotent

Saves one to three different routes for a trip that travels around (two or three when the traveller wants to compare), for the traveller to compare: each with a short name, a line on why, and its stops in travel order with the nights at each (as in update_trip). The planner shows them side by side on the map; the trip's route stays as it is until one is chosen with choose_route. For a trip started from a flight, every option keeps the trip's nights, starts where the flight lands and ends where the flight home leaves: with the last night there, or there with 0 nights only when the last stay is within about an hour of it, so the trip to the airport is not on the morning of the flight. Between places on a fast rail network (Japan, Korea, Taiwan, Western Europe) the legs are trains. New options replace the ones saved before.

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>",
      "options": "<options>"
    },
    "name": "suggest_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYes
trip_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that new options replace previously saved ones (the key state-changing side effect), that the trip's current route is left untouched, and that the options are rendered side by side. It also documents non-obvious domain rules — flight-anchored trips must start where the flight lands and end where the flight home leaves, with the last night there or there with 0 nights only within about an hour — plus that fast-rail regions produce train legs.

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 the core action and the shape of each option, then layered with constraints in roughly decreasing priority. Dense but mostly information-bearing; the parenthetical '(two or three when the traveller wants to compare)' is slightly at odds with the 'one to three' preceding it and could be dropped.

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 write tool with no output schema, the agent needs to know what gets persisted, what gets overwritten, and what happens to the existing route — all covered, along with the tricky flight-arrival/departure anchoring rule. The main residual gap is trip_id and the fact that the sibling save_route_ideas exists as an adjacent concept.

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?

The top-level schema only declares trip_id and options without descriptions, so the description carries real weight: it defines what each option must contain ('a short name, a line on why, and its stops in travel order with the nights at each'), points to update_trip for the stops/nights format, and explains the one-to-three count that the schema enforces. It does not explain trip_id at all, and the nested schema fields (island, airport, lat/lon) are left to their own descriptions.

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?

Opens with a concrete verb and resource — 'Saves one to three different routes for a trip' — and immediately clarifies the cardinality and the content of each option (short name, why line, stops in travel order with nights). It also distinguishes itself from the sibling that consumes the result: the trip's route stays as it is until one is chosen with choose_route.

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 states the context of use (traveller wants to compare options, which are shown side by side on the map) and names the successor tool choose_route plus the format reference update_trip. It does not explicitly say when to prefer suggest_routes over the sibling save_route_ideas or when not to call it, which keeps it from a 5.

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.