Skip to main content
Glama

Add or change trip items

save_items
Destructive

Add or update any number of items in one call. Each item has a type — transport, stay, activity, expense, packing_item or place — and the fields for that type. Include id to update an existing item (only the fields given change); leave id out to add one to trip_id. Places can only be updated (to pin coordinates or fix the city). Returns a result per item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesThe items to add or update.
trip_idNoThe trip new items are added to. Not needed when only updating.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
savedYesItems saved.
failedYesItems that failed.
resultsYesOne result per item, in order: index, type, id, ok, error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / items / items / anyOf
      Previous value: -[
      -  {
      -    "description": "A flight, train, bus, ferry, car rental or drive. mode is required when adding.",
      -    "properties": {
      -      "agency": {
      -        "description": "Booked through (travel agency or site).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "aircraft": {
      -        "description": "Aircraft type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "arrive_terminal": {
      -        "description": "Arrival terminal.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "arrive_time": {
      -        "description": "Local arrival time \"HH:MM\", with \" +N\" if it lands N days after departure, e.g. \"05:20 +1\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "arrive_tz": {
      -        "description": "IANA time zone at arrival.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "booking_ref": {
      -        "description": "Booking or confirmation reference.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "cabin": {
      -        "description": "Cabin or class.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "depart_date": {
      -        "description": "Departure date. Date, YYYY-MM-DD.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "depart_terminal": {
      -        "description": "Departure terminal.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "depart_time": {
      -        "description": "Local departure time \"HH:MM\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "depart_tz": {
      -        "description": "IANA time zone at departure, e.g. Australia/Sydney.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "distance_km": {
      -        "description": "Distance in km, if known.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "from_code": {
      -        "description": "Departure airport or station code, e.g. SYD.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from_country": {
      -        "description": "Country it leaves from (name or ISO code).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "from_place": {
      -        "description": "Where it leaves from, e.g. Sydney or Sydney Airport.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Give the transport's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "mode": {
      -        "description": "How: flight, train, bus, ferry, car_rental, drive or other.",
      -        "enum": [
      -          "flight",
      -          "train",
      -          "bus",
      -          "ferry",
      -          "car_rental",
      -          "drive",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      "notes": {
      -        "description": "Anything else worth keeping.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "operating_carrier": {
      -        "description": "Operating carrier if different from the provider.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "price_raw": {
      -        "description": "Price with currency, e.g. \"AUD 420.00\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "provider": {
      -        "description": "Airline, rail operator, bus or rental company, e.g. Qantas.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "seats": {
      -        "description": "Seat numbers.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "service": {
      -        "description": "Flight or service number, e.g. QF1.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "description": "Free text, e.g. \"Confirmed\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ticket_numbers": {
      -        "description": "Ticket numbers.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to_code": {
      -        "description": "Arrival airport or station code, e.g. LHR.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to_country": {
      -        "description": "Country it arrives in.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "to_place": {
      -        "description": "Where it arrives.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "travellers": {
      -        "description": "Who travelled, by name. New names are added to the account's people.",
      -        "items": {
      -          "description": "A person's name, or \"me\".",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "type": {
      -        "const": "transport",
      -        "description": "Always \"transport\".",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Accommodation. property is required when adding.",
      -    "properties": {
      -      "address": {
      -        "description": "Street address.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "agency": {
      -        "description": "Booked through.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "booking_ref": {
      -        "description": "Confirmation number.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "check_in": {
      -        "description": "Check-in date. Date, YYYY-MM-DD.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "check_out": {
      -        "description": "Check-out date. Date, YYYY-MM-DD.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "city": {
      -        "description": "City the stay is in.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "country": {
      -        "description": "Country (name or ISO code).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "guests": {
      -        "description": "Number of guests.",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Give the stay's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "lat": {
      -        "description": "Latitude.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "locality": {
      -        "description": "The city it belongs to, when the label is a suburb or area.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "locality_country": {
      -        "description": "ISO alpha-2 of that city.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "lon": {
      -        "description": "Longitude.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "notes": {
      -        "description": "Anything else worth keeping.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "price_raw": {
      -        "description": "Price with currency, e.g. \"EUR 540\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "property": {
      -        "description": "Hotel or place name.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "provider": {
      -        "description": "Booked with, e.g. Booking.com or the hotel chain.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "room_type": {
      -        "description": "Room type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "description": "Free text, e.g. \"Confirmed\".",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "travellers": {
      -        "description": "Who travelled, by name. New names are added to the account's people.",
      -        "items": {
      -          "description": "A person's name, or \"me\".",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "type": {
      -        "const": "stay",
      -        "description": "Always \"stay\".",
      -        "type": "string"
      -      },
      -      "tz": {
      -        "description": "IANA time zone.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "A restaurant, place, activity or note. kind and name are required when adding; name, kind and city can't be changed later. Updates can also set done and journal.",
      -    "properties": {
      -      "category": {
      -        "description": "restaurant, cafe, bar, attraction, museum, tour, concert, theatre, sport, nature, beach, spa, shopping, meeting, parking or place.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "city": {
      -        "description": "City.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "country": {
      -        "description": "Country (name or ISO code).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "date": {
      -        "description": "Date, YYYY-MM-DD. Optional.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "done": {
      -        "description": "Done (updates only).",
      -        "type": "boolean"
      -      },
      -      "id": {
      -        "description": "Give the activity's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "journal": {
      -        "description": "A journal entry about it (updates only).",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "kind": {
      -        "description": "restaurant, place, activity or note.",
      -        "enum": [
      -          "restaurant",
      -          "place",
      -          "activity",
      -          "note"
      -        ],
      -        "type": "string"
      -      },
      -      "lat": {
      -        "description": "Latitude.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "lon": {
      -        "description": "Longitude.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "description": "What it is, e.g. teamLab Planets or Sukiyabashi Jiro.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "note": {
      -        "description": "A note about it.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "price_raw": {
      -        "description": "Price with currency.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "rating": {
      -        "description": "1–5, for places already visited.",
      -        "maximum": 5,
      -        "minimum": 1,
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "time": {
      -        "description": "Local time \"HH:MM\". Optional.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "type": {
      -        "const": "activity",
      -        "description": "Always \"activity\".",
      -        "type": "string"
      -      },
      -      "tz": {
      -        "description": "IANA time zone.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Spending that isn't a booking. Can only be added.",
      -    "properties": {
      -      "category": {
      -        "description": "food, transport, stay, activity, shopping or other.",
      -        "enum": [
      -          "food",
      -          "transport",
      -          "stay",
      -          "activity",
      -          "shopping",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      "date": {
      -        "description": "Date, YYYY-MM-DD. Optional.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "description": {
      -        "description": "What the money went on.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Give the expense's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "price_raw": {
      -        "description": "Amount with currency, e.g. \"JPY 3400\" or \"$25\".",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "expense",
      -        "description": "Always \"expense\".",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "A packing-list entry (Trvlrr Plus). text is required when adding.",
      -    "properties": {
      -      "done": {
      -        "description": "Packed.",
      -        "type": "boolean"
      -      },
      -      "id": {
      -        "description": "Give the packing_item's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "description": "documents, clothing, tech, health or other.",
      -        "enum": [
      -          "documents",
      -          "clothing",
      -          "tech",
      -          "health",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      "text": {
      -        "description": "The item.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "packing_item",
      -        "description": "Always \"packing_item\".",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "A place a trip visited, by its id from the trip's places. Update only.",
      -    "properties": {
      -      "country": {
      -        "description": "Country.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Give the place's id to update it; leave out to add one.",
      -        "type": "string"
      -      },
      -      "lat": {
      -        "description": "Latitude.",
      -        "maximum": 90,
      -        "minimum": -90,
      -        "type": "number"
      -      },
      -      "locality": {
      -        "description": "The city it belongs to.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "locality_country": {
      -        "description": "ISO alpha-2 of that city.",
      -        "pattern": "^[A-Za-z]{2}$",
      -        "type": "string"
      -      },
      -      "lon": {
      -        "description": "Longitude.",
      -        "maximum": 180,
      -        "minimum": -180,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "place",
      -        "description": "Always \"place\".",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "A flight, train, bus, ferry, car rental or drive. mode is required when adding.",
      +    "properties": {
      +      "agency": {
      +        "description": "Booked through (travel agency or site).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "aircraft": {
      +        "description": "Aircraft type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "arrive_terminal": {
      +        "description": "Arrival terminal.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "arrive_time": {
      +        "description": "Local arrival time \"HH:MM\", with \" +N\" if it lands N days after departure, e.g. \"05:20 +1\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "arrive_tz": {
      +        "description": "IANA time zone at arrival.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "booking_ref": {
      +        "description": "Booking or confirmation reference.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "cabin": {
      +        "description": "Cabin or class.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "depart_date": {
      +        "description": "Departure date. Date, YYYY-MM-DD.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "depart_terminal": {
      +        "description": "Departure terminal.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "depart_time": {
      +        "description": "Local departure time \"HH:MM\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "depart_tz": {
      +        "description": "IANA time zone at departure, e.g. Australia/Sydney.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "distance_km": {
      +        "description": "Distance in km, if known.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "from_code": {
      +        "description": "Departure airport or station code, e.g. SYD.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from_country": {
      +        "description": "Country it leaves from (name or ISO code).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from_place": {
      +        "description": "Where it leaves from, e.g. Sydney or Sydney Airport.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Give the transport's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "mode": {
      +        "description": "How: flight, train, bus, ferry, car_rental, drive or other.",
      +        "enum": [
      +          "flight",
      +          "train",
      +          "bus",
      +          "ferry",
      +          "car_rental",
      +          "drive",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "notes": {
      +        "description": "Anything else worth keeping.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "operating_carrier": {
      +        "description": "Operating carrier if different from the provider.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_method": {
      +        "description": "card or cash.",
      +        "enum": [
      +          "card",
      +          "cash"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_status": {
      +        "description": "paid, due (to pay before the trip) or on_arrival (pay there or on the day).",
      +        "enum": [
      +          "paid",
      +          "due",
      +          "on_arrival"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "price_raw": {
      +        "description": "Price with currency, e.g. \"AUD 420.00\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "provider": {
      +        "description": "Airline, rail operator, bus or rental company, e.g. Qantas.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "seats": {
      +        "description": "Seat numbers.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "service": {
      +        "description": "Flight or service number, e.g. QF1.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "Free text, e.g. \"Confirmed\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ticket_numbers": {
      +        "description": "Ticket numbers.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to_code": {
      +        "description": "Arrival airport or station code, e.g. LHR.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to_country": {
      +        "description": "Country it arrives in.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "to_place": {
      +        "description": "Where it arrives.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "travellers": {
      +        "description": "Who travelled, by name. New names are added to the account's people.",
      +        "items": {
      +          "description": "A person's name, or \"me\".",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "type": {
      +        "const": "transport",
      +        "description": "Always \"transport\".",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Accommodation. property is required when adding.",
      +    "properties": {
      +      "address": {
      +        "description": "Street address.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "agency": {
      +        "description": "Booked through.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "booking_ref": {
      +        "description": "Confirmation number.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "check_in": {
      +        "description": "Check-in date. Date, YYYY-MM-DD.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "check_in_time": {
      +        "description": "Check-in time, HH:MM local; empty means mid-afternoon.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "check_out": {
      +        "description": "Check-out date. Date, YYYY-MM-DD.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "check_out_time": {
      +        "description": "Check-out time, HH:MM local; empty means late morning.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "city": {
      +        "description": "City the stay is in.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "country": {
      +        "description": "Country (name or ISO code).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "guests": {
      +        "description": "Number of guests.",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Give the stay's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "lat": {
      +        "description": "Latitude.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "locality": {
      +        "description": "The city it belongs to, when the label is a suburb or area.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "locality_country": {
      +        "description": "ISO alpha-2 of that city.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lon": {
      +        "description": "Longitude.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "notes": {
      +        "description": "Anything else worth keeping.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_method": {
      +        "description": "card or cash.",
      +        "enum": [
      +          "card",
      +          "cash"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_status": {
      +        "description": "paid, due (to pay before the trip) or on_arrival (pay there or on the day).",
      +        "enum": [
      +          "paid",
      +          "due",
      +          "on_arrival"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "price_raw": {
      +        "description": "Price with currency, e.g. \"EUR 540\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "property": {
      +        "description": "Hotel or place name.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "provider": {
      +        "description": "Booked with, e.g. Booking.com or the hotel chain.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "room_type": {
      +        "description": "Room type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "Free text, e.g. \"Confirmed\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "travellers": {
      +        "description": "Who travelled, by name. New names are added to the account's people.",
      +        "items": {
      +          "description": "A person's name, or \"me\".",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "type": {
      +        "const": "stay",
      +        "description": "Always \"stay\".",
      +        "type": "string"
      +      },
      +      "tz": {
      +        "description": "IANA time zone.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A restaurant, place, activity or note. kind and name are required when adding; name, kind and city can't be changed later. Updates can also set done and journal.",
      +    "properties": {
      +      "category": {
      +        "description": "restaurant, cafe, bar, attraction, museum, tour, concert, theatre, sport, nature, beach, spa, shopping, meeting, parking or place.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "city": {
      +        "description": "City.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "country": {
      +        "description": "Country (name or ISO code).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "date": {
      +        "description": "Date, YYYY-MM-DD. Optional.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "done": {
      +        "description": "Done (updates only).",
      +        "type": "boolean"
      +      },
      +      "id": {
      +        "description": "Give the activity's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "journal": {
      +        "description": "A journal entry about it (updates only).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "description": "restaurant, place, activity or note.",
      +        "enum": [
      +          "restaurant",
      +          "place",
      +          "activity",
      +          "note"
      +        ],
      +        "type": "string"
      +      },
      +      "lat": {
      +        "description": "Latitude.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "lon": {
      +        "description": "Longitude.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "What it is, e.g. teamLab Planets or Sukiyabashi Jiro.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "note": {
      +        "description": "A note about it.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_method": {
      +        "description": "card or cash.",
      +        "enum": [
      +          "card",
      +          "cash"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "payment_status": {
      +        "description": "paid, due (to pay before the trip) or on_arrival (pay there or on the day).",
      +        "enum": [
      +          "paid",
      +          "due",
      +          "on_arrival"
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "price_raw": {
      +        "description": "Price with currency.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rating": {
      +        "description": "1–5, for places already visited.",
      +        "maximum": 5,
      +        "minimum": 1,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "remind_on": {
      +        "description": "A day to be reminded about it. Date, YYYY-MM-DD. null clears it.",
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "remind_time": {
      +        "description": "Time of day for the reminder, \"HH:MM\" local; empty means 09:00.",
      +        "pattern": "^\\d{2}:\\d{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "time": {
      +        "description": "Local time \"HH:MM\". Optional.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "const": "activity",
      +        "description": "Always \"activity\".",
      +        "type": "string"
      +      },
      +      "tz": {
      +        "description": "IANA time zone.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Spending that isn't a booking. Can only be added.",
      +    "properties": {
      +      "category": {
      +        "description": "food, transport, stay, activity, shopping or other.",
      +        "enum": [
      +          "food",
      +          "transport",
      +          "stay",
      +          "activity",
      +          "shopping",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "date": {
      +        "description": "Date, YYYY-MM-DD. Optional.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "description": "What the money went on.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Give the expense's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "price_raw": {
      +        "description": "Amount with currency, e.g. \"JPY 3400\" or \"$25\".",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "expense",
      +        "description": "Always \"expense\".",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A packing-list entry (Trvlrr Plus). text is required when adding.",
      +    "properties": {
      +      "done": {
      +        "description": "Packed.",
      +        "type": "boolean"
      +      },
      +      "id": {
      +        "description": "Give the packing_item's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "remind_on": {
      +        "description": "A day to be reminded about it. Date, YYYY-MM-DD. null clears it.",
      +        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "remind_time": {
      +        "description": "Time of day for the reminder, \"HH:MM\" local; empty means 09:00.",
      +        "pattern": "^\\d{2}:\\d{2}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "section": {
      +        "description": "documents, clothing, tech, health or other.",
      +        "enum": [
      +          "documents",
      +          "clothing",
      +          "tech",
      +          "health",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "The item.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "packing_item",
      +        "description": "Always \"packing_item\".",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A place a trip visited, by its id from the trip's places. Update only.",
      +    "properties": {
      +      "country": {
      +        "description": "Country.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Give the place's id to update it; leave out to add one.",
      +        "type": "string"
      +      },
      +      "lat": {
      +        "description": "Latitude.",
      +        "maximum": 90,
      +        "minimum": -90,
      +        "type": "number"
      +      },
      +      "locality": {
      +        "description": "The city it belongs to.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "locality_country": {
      +        "description": "ISO alpha-2 of that city.",
      +        "pattern": "^[A-Za-z]{2}$",
      +        "type": "string"
      +      },
      +      "lon": {
      +        "description": "Longitude.",
      +        "maximum": 180,
      +        "minimum": -180,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "place",
      +        "description": "Always \"place\".",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare write/destructive semantics, so the description is not carrying the safety burden alone. It still adds real behavior beyond them: partial-merge semantics ("only the fields given change"), the update-only restriction on places, and per-item result return, which tells the agent to expect partial success rather than an all-or-nothing write.

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

Conciseness5/5

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

Four sentences, front-loaded with the core operation, then the type list, then the add-vs-update rule, then the place exception and return shape. No filler and nothing repeated from the title.

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?

Return shape is covered by the output schema and safety by annotations, and the description fills the remaining gaps: item typing, upsert rule, and the place exception. It stops short of stating permission prerequisites or failure semantics for invalid items, but it is sufficient for correct invocation.

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 the descriptions on id, type and per-type fields already do the work; the baseline of 3 applies. The description's account of id/trip_id mirrors the schema rather than adding format or constraint detail beyond it.

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?

Specific verb pair (add/update) plus resource (trip items) in the first sentence, then an explicit enumeration of the six supported item types. An agent can immediately tell this apart from delete_items (removal) and update_trip (trip-level edits) without opening any schema.

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?

Clear operating rules: include id to update vs. omit id to add, trip_id needed only for new items, and places are update-only. It does not, however, explicitly compare itself to sibling tools such as delete_items or update_trip, so the agent must infer the boundary rather than being routed.

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.