Skip to main content
Glama

Publish Trip (Draft to Active)

publish_trip
Destructive

PUBLISH a draft trip (draft -> active): the trip is listed on the company website and opens for booking. NO notification is sent to participants (it is not an announcement). Params: id (trip uuid). Works only on a draft trip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameNo
statusNo
endDateNo
guideIdNo
joinCodeNo
timezoneNo
createdAtNoISO 8601 timestamp
joinTokenNo
programIdNo
startDateNo
updatedAtNoISO 8601 timestamp
cancelledAtNoISO 8601 timestamp
completedAtNoISO 8601 timestamp
cancelReasonNo
coverImageUrlNo
coverThumbUrlNo
organizationIdNo
stableLiveCodeNo
maxParticipantsNo
changedNotifiedAtNoISO 8601 timestamp
weatherCardsEnabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / stableLiveCode
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false, openWorldHint=true). The description adds value beyond them by disclosing that no participant notification is sent and that the operation is restricted to draft trips, both of which are non-obvious behaviors.

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?

Short and front-loaded: the action and its effect come first, then the notification caveat, then the parameter and precondition. No filler, though the all-caps emphasis and the 'Params: id' line are slightly redundant with structured fields.

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 low-complexity single-parameter mutation with an output schema, the description covers purpose, effect, non-notification behavior, and the draft-only precondition. It leaves error/response behavior to the output schema and annotations, which is reasonable.

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 description coverage is 0%, so the description must carry parameter meaning. It does name the single parameter and its role — 'id (trip uuid)' — which is adequate compensation for a one-parameter tool, though it adds nothing beyond the schema's uuid format/pattern hints.

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 (PUBLISH), the resource (a draft trip), and the resulting state transition (draft -> active) plus its concrete effect: listed on the website and open for booking. This is far more than a restatement of the name and clearly separates it from sibling mutation tools like update_trip.

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?

The description gives a clear precondition — 'Works only on a draft trip' — and rules out the announcement use case with 'NO notification is sent to participants.' It does not, however, name alternative tools or explain what to do when the trip is not a draft.

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