Skip to main content
Glama

Change trips

trip_write
Destructive

Change the caller's own voyages: create, update, delete, replace the full crew set (set_crew, PUT semantics), set or clear the charter (set_charter — a null charter clears it), announce the trip to its crew by email (announce), and turn its public link on or off (create_share, revoke_share). A trip spans at most 365 calendar days, first and last included; longer is trip_too_long (422). An update that moves the trip's dates so that a diary entry would fall outside them is refused with diary_outside_trip (409), whose details list those dates; first rewrite those entries on days inside the new dates and delete them (diary_write), or pick dates that keep them. Charter price/deposit are integer minor units plus an ISO 4217 currency code — never a float. Inviting a crew member to the app is person_write's invite/accept_invitation: an invitation is person-scoped, and accepting one shares every trip of that owner whose crew that person is on, past and future. announce mails the trip's particulars to crew who have a linked account and have not switched that category off in Settings; it reports how many actually went out, and is rate-limited per trip and per recipient address. create_share turns on a public, read-only, no-login link to one of the caller's OWN trips and returns its URL (idempotent — one link per trip, calling it again returns the same URL); revoke_share turns it off. The public view is redacted — no charter, crew shown as initials only, no owner details — but anyone with the link can open it, so the URL is semi-public. IDs are 6-character case-sensitive alphanumeric strings. Timestamps are UTC ISO 8601. Distances are integer meters. Durations are integer seconds.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only provide destructiveHint=true, so the description carries most of the load — and it delivers: set_crew is a full PUT-style replace, set_charter with null clears the charter, announce emails crew who have accounts and reports how many went out, create_share/revoke_share expose a semi-public redacted link, and the 365-day / diary-conflict failures (422, 409) are spelled out. This is genuinely additive behavioral context beyond the annotation.

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?

The purpose is front-loaded and nearly every sentence conveys a distinct rule or failure mode, so there is little waste. However, it is delivered as one dense run-on paragraph mixing action semantics, error codes, and data-format conventions; batching these per action would have been easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a multi-action mutation tool with no output schema, the description still covers the essentials: side effects (email, public link), what create_share returns (a URL), that announce reports a sent count, the 365-day limit, and the diary-conflict recovery path. Nothing an agent needs in order to call any of the eight actions correctly is missing.

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?

Beyond the schema's patterns it explains semantics the schema cannot: set_crew replaces the entire crew set (PUT), a null charter clears it, charter price and deposit are integer minor units with an ISO 4217 code and never a float. It also states that IDs are case-sensitive alphanumeric and timestamps are UTC ISO 8601, which resolves ambiguities an agent would otherwise have to guess.

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?

The description opens with a specific verb and resource ('Change the caller's own voyages') and then enumerates every action the tool supports — create, update, delete, set_crew, set_charter, announce, create_share, revoke_share. This lets an agent distinguish it from siblings like trip_read, diary_write and person_write without opening the 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?

It routes the agent to the right sibling explicitly: rewrite diary entries via diary_write before moving dates (and what trip_too_long/diary_outside_trip mean), and invite crew via person_write's invite/accept_invitation. It also states when actions are safe to repeat (create_share is idempotent) and when announce is rate-limited, which is real when-to-use guidance rather than a restatement of the schema.

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