Skip to main content
Glama

Add trip item

add_trip_item

Add an item (hotel, activity, meal, etc.) to a saved trip on a given day.

Input Schema

NameRequiredDescriptionDefault
dayYesDay number within the trip.
typeYesItem type.
titleYesItem title (1-255 chars).
sortOrderNoOrder within the day (default 0).
descriptionNoOptional notes (≤2000 chars).
itineraryPublicIdYesThe trip's public id (from `list_trips`/`save_trip`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "hotel",
      -  "flight",
      -  "experience",
      -  "transfer",
      -  "activity",
      -  "meal",
      -  "note"
      -]New value: +[
      +  "hotel",
      +  "experience",
      +  "transfer",
      +  "activity",
      +  "meal",
      +  "note"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is covered. The description adds little beyond that: it doesn't mention duplicate handling, validation limits (day 1-365, title length), or what the response contains. With annotations carrying the safety burden, this is adequate but thin.

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?

A single front-loaded sentence that states the verb, resource, and scoping with zero waste. The parenthetical examples are mildly redundant with the schema enum, which keeps it from being maximally tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool whose safety profile is covered by annotations and whose parameters are fully documented, the description is serviceable. It still omits what happens on success (returned id/order), how items are ordered by default, and any error conditions, which an agent adding to a persisted itinerary would benefit from knowing.

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 is already documented, including the type enum and day bounds. The description's '(hotel, activity, meal, etc.)' loosely echoes the enum but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 (add) and resource (item to a saved trip) with the day scoping, so an agent immediately knows the operation. It does not explicitly differentiate itself from siblings like save_trip, but the resource is distinct enough to infer the boundary.

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?

The phrase 'to a saved trip' implies a trip must already exist (created via save_trip), which is useful prerequisite context. However, there is no explicit when-to-use guidance, no mention of when not to use it, and no named alternative for adding days or bulk items.

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