Skip to main content
Glama

Add Trip Stop

add_trip_item

Add a stop to a trip. Params: id (trip uuid) + body { templateId OR label, dayNumber, notes, kind, startTime (HH:MM), locationText, locationLat, locationLng, durationMin, headsetPolicy }. headsetPolicy (null clears) = { level: required|recommended|optional, groupThreshold? (int 1..500, applies to groups LARGER than this), reason (1..300, short rule summary or rationale, in the content's language), sourceUrl? (https only; REQUIRED when level=required), sourceLabel? (1..120) }. Only set level=required when a written rule exists and you have its https source; never invent rules. NO notification is sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes

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

A4/5.0
Behavior4/5

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

Annotations mark this as a non-idempotent write with destructiveHint=false, and the description adds genuinely new behavior: "NO notification is sent," the "headsetPolicy (null clears)" clearing semantic, and the conditional requirement that sourceUrl is present when level=required. It does not mention permissions or authorization needed to modify a trip, but the extra disclosure goes beyond the annotations.

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?

Purpose is front-loaded in the first sentence and each subsequent clause adds a real constraint on an otherwise undocumented body. It is dense and long, but with 0% schema coverage the detail is earned rather than padding, so it lands just short of maximal conciseness.

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 nested-object create tool with an output schema (so return values need not be described), the definition covers the body shape, the trickiest nested field, and the notification behavior. Remaining gaps, such as permission requirements or how ordering/day placement behaves, are minor given what is already supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so: it annotates id as a trip uuid, gives formats (startTime HH:MM), states the templateId-OR-label relationship, and explains non-obvious semantics such as groupThreshold applying only to groups LARGER than the value and sourceUrl being required when level=required. This is meaning an agent could not recover from the bare schema.

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?

"Add a stop to a trip" states a specific verb and resource, and the resource (trip stop) is distinguishable from siblings like add_template_schedule_stop or add_trip_participant without opening a schema. It stops short of naming the alternatives explicitly, so it is clear but not fully self-differentiating.

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?

Usage is implied by the create-verb framing rather than stated: there is no explicit when-to-use or when-not-to-use guidance and no sibling is named as the alternative. The one substantive guideline, "Only set level=required when a written rule exists... never invent rules," is a field-level rule rather than a routing instruction, so the reader must infer that this is the tool for mutating trip stops.

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