Skip to main content
Glama

Update trip

trip_update
Destructive

Update trip dates, title, destination, or description for a trip the authenticated user can edit. May synchronize changes to the trip owner's connected calendars when automatic sync is enabled.

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

Input Schema

NameRequiredDescriptionDefault
nameNoAlias for title
titleNoNew trip title (e.g., 'Japan October 2026')
trip_idYesThe ID of the trip to update
end_dateNoTrip end date in YYYY-MM-DD format
start_dateNoTrip start date in YYYY-MM-DD format
descriptionNoOptional trip description or notes, up to 1000 characters (keep it under about 900)
destinationNoPrimary destination city or region

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / destination_confirmed
      Removed value: -{
      -  "description": "Required true when changing destination on a trip that already has dated itinerary items; confirms this is a parent-trip change, not an item location correction.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / destination_scope
      Removed value: -{
      -  "description": "Required as 'trip' when changing destination on a trip that already has dated itinerary items.",
      -  "enum": [
      -    "trip"
      -  ],
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the bar is lower, yet the description still adds non-obvious context by disclosing that changes may propagate to the trip owner's connected calendars when automatic sync is enabled. It does not explain partial-update semantics (whether omitted fields are left untouched) or what the destructiveHint implies for overwritten values, which keeps it below 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.

Conciseness4/5

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

Two sentences, front-loaded with the action and affected fields, with the side-effect caveat correctly placed second. No filler, though the field enumeration partly duplicates the schema.

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 7-parameter mutation tool with no output schema, the description covers purpose, edit permission, affected fields, and an important side effect, and the annotations plus full schema coverage fill in the safety profile. The main remaining gap is whether this is a partial patch or a full replace, which an agent would want to know.

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 100%, so every parameter including the 'name' alias for title is already documented in the schema, making 3 the baseline. The description restates the field list but adds no format, aliasing, or conflict-resolution detail beyond what the schema provides.

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 description names a specific verb (update) and resource (trip) and enumerates the mutable fields (dates, title, destination, description), which implicitly separates it from siblings like trip_city_update, trip_cover_update, and trip_expense_update. It does not explicitly name a sibling or state how it differs from trip_rename, which also appears to touch naming, so it stops short of full differentiation.

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?

It gives one useful eligibility condition -- the authenticated user must be able to edit the trip -- which helps an agent decide if the call is permitted. There is no guidance on when to prefer a narrower sibling (trip_rename, trip_city_update, trip_cover_update) or when not to use this broader tool.

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.

Resources