Skip to main content
Glama

Got a Plan Trip Planner

Save the new-trip draft

save_new_trip_draft
Idempotent

Saves the same fields as plan_new_trip to the traveller's new-trip draft without showing the planner, for when a planner is already open in the conversation, which refreshes itself. Fields left out stay as they were. For a message from the planner that starts "New trip in Got a Plan:" or "Set up my new trip in Got a Plan from these words", read the traveller's words and set every field they give: the country (or countries to compare), free dates (a month or season counts as its first and last day), nights, travellers, budget, airports, regions, interests; for a named part of a country add a focus with its name and every airport in it with scheduled passenger flights (IATA, busiest first, small ones too: Sicily is CTA, PMO, TPS, CIY). Leave way and step out so the planner moves on by itself, leave their wishes as they are, and say in two or three lines what you set. If the words are thin, save what they say first, then ask one short question.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_new_trip_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
wayNo"prompt": from the traveller's own words (a new draft starts here); "when": they set up their free dates by hand; "where": they pick the country by hand. Left out, a draft started from words moves on by itself to the next step the words leave open
stepNoScreen to show: prompt; when, where, flights; or country, season for the "where" way
focusNoA part of a country to travel in, with all of its airports
freshNoStart a new draft only when the current one has already become a trip (the planner's New trip button); otherwise carry on with it
resetNoStart a new draft: nothing of the old one is kept but the flight sites picked; the departure airports and travellers are asked again unless given in the same call
adultsNo
budgetNoBudget for the whole trip, all travellers, flights included, in budget_currency; 0 for none
wishesNoWhat the traveller has in mind, in their own words; empty to clear
compareNoCountries to compare flights for
countryNoThe country, when the traveller knows where to go
regionsNo
childrenNoThe ages of the children travelling, one each
free_fromNoFirst day the traveller could leave
interestsNo
free_untilNoLast day they could be back
max_nightsNo
min_nightsNo
flight_sitesNoWhere the Flights step looks for fares, as the traveller picked them on the planner: "pinroute" is Got a Plan's own airline search; kiwi, expedia, edreams, lastminute are flight-search connectors the traveller can have in Claude. Empty for Got a Plan's own search only
home_airportsNoAirports the traveller can fly from, the main one first: only ones they named for this trip. Left out when they didn't say, the planner asks them
budget_currencyNoThe currency the budget is in, such as USD or GBP; when left out, the currency of the country the traveller flies from (euros where that is not a currency Got a Plan prices)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent write, so the bar is lower. The description still adds real behavior: it writes without rendering the planner, the open planner refreshes itself, and 'Fields left out stay as they were' discloses partial-update semantics that the annotations do not convey. It doesn't cover auth or error behavior, keeping it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core distinction is front-loaded in the first sentence, which is good. The remainder is a long, comma-chained run-on that demands careful parsing, and it repeats the Sicily airport list already documented in the schema. Every element is roughly useful, but the structure makes it harder to scan than it needs to be.

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 20-parameter mutation tool with no output schema, the description covers the workflow, how to translate traveller words into fields, partial-update semantics, and what to report back. Some parameters (flight_sites, home_airports, fresh, reset) are handled only by the schema, which is a real but modest gap given 75% coverage.

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 20 params and 75% schema coverage the baseline is 3, but the description adds genuine meaning: it maps traveller words to fields (month or season expands to first and last day), spells out how to populate focus with every airport in a named area, and instructs leaving way and step out rather than setting them. Several params (fresh, flight_sites, home_airports, budget_currency) are not addressed in the description, relying on the schema.

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 fields to the traveller's new-trip draft) and immediately distinguishes it from the sibling plan_new_trip: same fields, but no planner shown, for when a planner is already open. An agent can pick between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('when a planner is already open in the conversation, which refreshes itself') and an explicit trigger condition (messages starting 'New trip in Got a Plan:' / 'Set up my new trip…'). It also gives a fallback when input is thin ('save what they say first, then ask one short question'), so nothing is left to inference.

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.