Skip to main content
Glama

Got a Plan Trip Planner

Save an activity on a trip

save_activity
Idempotent

Saves a tour, ticket or activity the traveller plans or booked at one stop of a trip, with its day, time, total price and booking link, and whether it is booked with its confirmation number. It counts in the trip's cost and shows in the planner's budget and bookings; a dated one goes in the trip's calendar. The same place and name updates the one saved before. Booking itself happens on the activity's own site.

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>",
      "place": "<place>",
      "name": "<name>"
    },
    "name": "save_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoThe day, during the stay at that place
linkNo
nameYes
noteNo
timeNo
placeYesThe stop's place, as the trip names it
priceNoTotal for all travellers
bookedNo
trip_idYes
currencyNo
confirmationNoThe booking or confirmation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond annotations (readOnly=false, idempotent=true, destructive=false): the upsert rule 'The same place and name updates the one saved before', the downstream effects on trip cost, the planner's budget/bookings, and the calendar. Return value is not described, but no output schema exists and the side-effect disclosure is the more important gap filler.

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?

Three tight sentences, front-loaded with the core action and payload, then consequences, then the dedupe rule and the scope exclusion. Dense but every sentence carries information; no filler.

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 11-parameter mutation with no output schema, the definition covers purpose, side effects, upsert semantics and one scope boundary — enough to invoke it correctly. Missing only return-value expectations and guidance on currency/note, which are minor relative to the tool's complexity.

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 only 36% schema coverage, the description carries the load and does: it explains date, time, price (confirmed as counting toward trip cost), link, booked, confirmation number, place and name, including the day-relative-to-stay constraint that the schema only partially states. It leaves 'note', 'currency' and 'trip_id' unexplained, which keeps it off a 5.

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 (saves) and resource (a tour, ticket or activity at one stop of a trip) and enumerates the payload fields it captures. It is clearly a write-to-trip-planner tool, distinct from search siblings like find_activities, though it never names an alternative explicitly.

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?

Gives clear context for use: an activity the traveller 'plans or booked at one stop of a trip', and states an exclusion — 'Booking itself happens on the activity's own site' — so the agent knows this records, it does not book. No explicit routing against sibling save_* tools, so not 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.