Skip to main content
Glama

Got a Plan Trip Planner

Choose a route option

choose_route
Destructive

Makes one of the route options saved with suggest_routes the trip's route. The other options stay saved, so the traveller can switch back. Flights chosen for legs that no longer exist stay saved but are not shown. Refused while it would move a flight marked booked; booked hotels and tours that leave the route are named in the reply.

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>",
      "option": "<option>"
    },
    "name": "choose_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionYesThe option's letter: A, B or C
trip_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past destructiveHint=true: it discloses that unselected options persist, that flights tied to removed legs are retained but hidden, that the operation can be refused around booked flights, and that the reply names booked hotels and tours that drop off the route. That is exactly the side-effect and refusal detail an agent needs before invoking a destructive mutation.

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?

Three tight sentences, front-loaded with the primary action, followed by persistence behavior and then the refusal condition. Every sentence carries information an agent could act on; nothing is redundant with the title.

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?

With no output schema, the description covers the reply's important contents (named booked hotels and tours leaving the route) and the mutation's side effects. Minor gaps remain around preconditions such as whether the trip must already exist, but the picture is essentially complete for a two-parameter destructive tool.

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?

The schema documents the option parameter (a letter A/B/C) but leaves trip_id bare, so coverage sits at 50%. The description supplies context that 'option' refers to an option saved via suggest_routes but adds no format or constraint detail beyond the schema, so it neither compensates for nor extends the documented half.

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: it turns one of the options saved by suggest_routes into the trip's route, and it names that sibling explicitly. An agent can distinguish this commit action from suggest_routes and route_map 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?

Usage context is clear: call it after suggest_routes to commit one option, and it explains that the alternative of switching back stays available. It also states a hard precondition (refused while it would move a booked flight) but doesn't spell out the when-not path, such as what to call instead when it's refused.

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.