Skip to main content
Glama

Got a Plan Trip Planner

Create a trip route

create_trip

Use when the traveller already knows the places they want to visit and for how many nights. Saves a new multi-stop trip to the traveller's Got a Plan account. Stops are in travel order with the nights spent at each; a last stop with 0 nights is where the trip ends. Places in Thailand are recognised by name; elsewhere, give each place's coordinates and nearest airport code. Returns the trip with its dates and legs.

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": {
      "name": "<name>",
      "start": "<start>",
      "adults": "<adults>",
      "stops": "<stops>"
    },
    "name": "create_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
startYesDate of the first night
stopsYes
adultsYes
budgetNoWhat the whole trip may cost, all travellers, in budget_currency
childrenNoThe ages of the children travelling, one each (they are not counted in adults)
home_airportNoWhere the traveller flies from and back to. Leave it out when they travel from home by train or car (a weekend in Vienna from Munich), and instead start and end the stops with their home town as a 0-night stop (Munich 0, Vienna 2, Munich 0): the trip then has train or drive legs from and to home and no flights
budget_currencyNoThe currency the budget is in, such as USD or GBP; euros when left out

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 mutation and closed-world lookup profile is known. The description adds genuinely new behavior: the last 0-night stop marks the trip's end, island stops become ferries while same-big-island stops are driven, and Thailand places resolve by name while others need coordinates plus an airport code. It still says nothing about validation failures, duplicate trips, or what happens to an existing trip.

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?

Five tight sentences with the triggering condition front-loaded and no filler. The home_airport example (Munich/Vienna) largely restates the schema's own example, which is the only real 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?

For an 8-parameter mutation with no output schema, the description covers the return value ("the trip with its dates and legs"), the stop-ordering contract, and the geo-resolution rules. Gaps remain around error conditions and permission/auth needs, but nothing essential for a correct first call is missing.

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?

With schema coverage at 63%, the description compensates well on the ambiguous parts: it explains that stops are ordered with nights each, that a trailing 0-night stop terminates the trip, and that lat/lon/airport are only needed outside the Thailand list. It adds no meaning for name, adults, children or budget beyond what the schema already documents.

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: "Saves a new multi-stop trip to the traveller's Got a Plan account," plus the shape of what is saved (stops in travel order with nights). It does not name a sibling such as save_new_trip_draft or plan_new_trip to distinguish itself from near-duplicates, so it stops short of a 5.

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?

Opens with an explicit precondition: "Use when the traveller already knows the places they want to visit and for how many nights," which tells the agent this is not for exploratory planning. It also gives conditional rules for Thailand vs non-Thailand places and for the no-flight home_airport case, but never states when not to use it or which sibling to pick instead.

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.