Skip to main content
Glama

Update Trip Stop

update_trip_item
DestructiveIdempotent

Update a trip stop. Params: id (trip uuid), itemId (uuid) + body (same fields as add_trip_item; headsetPolicy null clears). NO notification is sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes
itemIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
kindNo
labelNo
notesNo
statusNo
tripIdNo
actualAtNoISO 8601 timestamp
createdAtNoISO 8601 timestamp
dayNumberNo
imageUrlsNo
sortOrderNo
startTimeNo
templateIdNo
durationMinNo
locationLatNo
locationLngNo
locationTextNo
sourceItemIdNo
headsetPolicyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / headsetPolicy / properties / groupThreshold / type
      Previous value: -[
      -  "number",
      -  "string"
      -]New value: +[
      +  "number",
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / sortOrder / type
      Previous value: -[
      -  "number",
      -  "string"
      -]New value: +[
      +  "number",
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The description adds two genuinely useful traits not present in annotations: 'headsetPolicy null clears' (a non-obvious null-semantics rule) and 'NO notification is sent' (side-effect disclosure). However, annotations already declare destructiveHint=true and idempotentHint=true, and the description never explains what the destructive behavior destroys or whether the body is a full replace or a partial merge.

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?

Very compact and front-loaded: purpose first, then params, then the side-effect note. No filler sentences. The telegraphic 'Params: ...' fragment is slightly terse but still readable and earns its space.

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?

An output schema exists, so return values need not be described. For a destructive, nested-body mutation the description covers IDs, null-clearing, and notification behavior, but leaves the critical replace-vs-merge question unanswered and offloads most field semantics to a sibling tool's description.

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 0% across three params, including a large nested body object, so the description must compensate and only partly does. It clarifies id as trip uuid, itemId as uuid, delegates body fields to add_trip_item, and documents one important null behavior for headsetPolicy. The remaining body fields (kind enum, dayNumber, times, coordinates) get no meaning beyond the schema's type constraints.

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+resource ('Update a trip stop') and implicitly parallels add_trip_item by referencing its field set, which helps separate it from delete_trip_item and reorder_trip_items. It never names set_trip_item_status or explains how it differs from that sibling, so differentiation is incomplete.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative. The mention of add_trip_item is only for field semantics, not for routing ('use this instead of X when Y'). The agent must infer usage from the name alone.

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