Skip to main content
Glama

Vibe of the City

Add to a trip

add_trip_idea

Adds an idea to a trip: something to do, optionally on a day, at a time and for a length, optionally pinned to a place (place_ref) or to an address from search_places (name, lat, lng without a place_ref). Everyone on the trip sees it and may get a notification. Confirm the wording, day and time 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>",
      "text": "<text>"
    },
    "name": "add_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.
textYesWhat to do, e.g. "Dinner at Lode & Stijn".
timeNoStart time, 24-hour.
trip_idYesFrom list_my_trips.
place_refNoThe place to pin, from search_places or list_saved_places.
duration_minutesNoHow long it lasts, when the user gave a length or an end time (10:00–10:30 is 30; 22:00–01:00 is 180). Needs a date and a time. Leave it out for an open end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare mutation/safety flags; the description adds two things annotations cannot: the idea is visible to everyone on the trip and may trigger a notification, which is exactly the kind of side-effect disclosure needed before a write. It also states the confirm-with-user requirement, which reinforces the non-destructive-but-public nature of the operation.

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: the first defines the operation and its optional shape, the second is a well-placed operational instruction. It is dense and front-loaded, but the long parenthetical about place_ref/address syntax makes the first sentence hard to parse on a single read.

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 10-parameter write tool with no output schema, this covers the parts an agent most needs: what concept it creates, the optional fields' intent, the two pinning paths, the user-confirmation step, and the social side effect. It could note what comes back (e.g., the created idea or its id) since no output schema exists, but nothing critical is missing.

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 coverage is 100%, so the baseline is 3, and the description mostly restates the schema in prose: day, time, length, and the two pinning modes (place_ref vs. name/lat/lng address). The one piece of added meaning is framing those two pinning modes as mutually exclusive alternatives, but the schema already encodes the same dependency, so it does not materially exceed the baseline.

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?

Opens with a specific verb and resource ("Adds an idea to a trip") and immediately narrows what an "idea" is: something to do, possibly with day/time/length and an optional place pin. That distinguishes it from update_trip_idea and the day-planning siblings well enough to select it, though the description never names the update variant 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 a concrete prerequisite ("Confirm the wording, day and time with the user first") and routes the address-pin path to search_places. What it does not do is say when to use update_trip_idea instead, or that a place_ref should come from search_places/list_saved_places before calling, so there is no explicit when-not guidance.

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