Skip to main content
Glama

Vibe of the City

Change a trip idea

update_trip_idea
Idempotent

Changes something already on a trip's plan: its wording, day, time, length, note, or where it happens (a place_ref from search_places, or an address's name, lat and lng). Use it instead of add_trip_idea whenever the user means an item that is already there, e.g. "set the location of the ATP match"; get its idea_id from get_trip. Only set a time the user gave or a source confirmed. Everyone on the trip sees the change. Confirm it with the user first.

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

Input Schema

NameRequiredDescriptionDefault
latNoRequired for a place_ref not starting with poi:, and for an address pin.
lngNoRequired for a place_ref not starting with poi:, and for an address pin.
dateNoThe day, within the trip's dates.
nameNoRequired for a place_ref not starting with poi:, and for an address pin.
noteNoOne line: booking number, meeting point, what to bring.
textNoNew wording.
timeNoStart time, 24-hour, only on a dated idea.
idea_idYesFrom get_trip.
trip_idYesFrom list_my_trips.
place_refNoWhere it happens, from search_places or list_saved_places.
duration_minutesNoHow long it lasts, when the user gave a length or an end time, only on a dated idea.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the description adds value by disclosing the social side effect ('Everyone on the trip sees the change') and a confirmation gate before applying it. It stops short of explaining patch semantics — what happens to fields not supplied, or what an invalid idea_id returns — which matters for an 11-parameter mutation.

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?

Front-loaded with the purpose, then the sibling routing rule, then prerequisites and guardrails — a logical order with no filler sentences. It is dense but each clause carries a distinct constraint, though the example quote could be trimmed without loss.

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 wide, mostly-optional mutation with no output schema, the description covers routing, ID sourcing, source-attribution rules, shared visibility, and confirmation. The remaining gap is update semantics — whether omitted fields are preserved or cleared — which an agent calling this with 2 of 11 parameters would arguably need.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining the location parameter family as an either/or: a place_ref from search_places versus an address's name, lat and lng. That cross-field dependency is the kind of semantics a schema alone documents poorly, so it earns a step above baseline.

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?

States a specific verb and resource ('Changes something already on a trip's plan') and enumerates the mutable facets: wording, day, time, length, note, and location. It also explicitly names the sibling it is not (add_trip_idea), so an agent can route between the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit selection rule ('Use it instead of add_trip_idea whenever the user means an item that is already there'), a concrete example phrasing, and the prerequisite for obtaining idea_id from get_trip. It further constrains input ('Only set a time the user gave or a source confirmed') and mandates user confirmation, covering both when to use and how to behave.

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