Skip to main content
Glama

Got a Plan Trip Planner

Save flight deals

save_flight_deals

Saves return fares, such as ones the traveller found or picked, or ones found with the flight-search sites the traveller picked on the planner, to the traveller's new-trip draft, for one country. The planner shows them as cards, cheapest first, each with a Book button for its site, and starts a trip from one, so they need no list in the chat. A fare from the same source for the same airports and the same dates replaces the earlier one; fares for other dates stay. Give bags and hours whenever the site shows them, so the planner can weigh a fare with no checked bag or a long journey against a dearer one. Nights are counted by the calendar, from the day the flight leaves to the day the flight home leaves (14 to 30 June is 16 nights), whatever time the flights leave or land. sites records how each picked site's search went, including a site the traveller has not connected in Claude, so the planner can say so; a site that failed is left out of the results.

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": {
      "country": "<country>"
    },
    "name": "save_flight_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealsNo
sitesNo
countryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (which only say write, non-destructive, non-open-world), the description discloses real behavioral rules: a fare from the same source for the same airports and dates replaces the earlier one while other dates stay, the planner orders cards cheapest first, and sites records each site's search outcome including not_connected and omitted failures. That replacement semantics is exactly the kind of side effect an agent needs and which destructiveHint=false does not convey.

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 substance is front-loaded in the first sentence, but the whole text is a chain of comma-spliced clauses that mixes what the tool does with UI rationale ('The planner shows them as cards...') and edge-case rules. Every idea roughly earns its place, yet restructuring into bullets would make it markedly easier to parse.

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 3-parameter, one-required write tool with nested arrays and no output schema, the description covers replacement rules, ordering, bag/hour guidance, night counting, and site-status reporting. Remaining gaps are minor: it never says what happens if no trip draft exists yet, nor what the tool returns on acceptance or rejection.

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 description coverage is reported at 0%, so the description must compensate, and it partially does: it explains why bags and hours should be supplied when the site shows them, how nights are counted by the calendar (14–30 June is 16 nights), and what sites entries mean. It says nothing about price, currency, airline, source, stops, adults/children, link, or out/back beyond incidental mentions, so the nested deal fields remain partly unexplained.

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?

The opening clause gives a specific verb and resource: saves return fares into the traveller's new-trip draft, scoped to one country. It is clear what the tool does, but the run-on structure buries the core statement behind side details about planner cards and Book buttons, and it never contrasts itself with siblings such as add_booked_flight or save_new_trip_draft.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: fares the traveller found or picked, or found via the picked flight-search sites, go here, and the planner display means 'they need no list in the chat' — which obliquely tells the agent not to enumerate fares in conversation. There is no explicit when-not-to-use guidance or naming of the sibling that handles a booked flight, a chosen flight, or clearing a fare.

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.