Skip to main content
Glama

cruise reorder

cruise_reorder
DestructiveIdempotent

Preview and commit cruise reorder operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

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": {
      "request": "<request>"
    },
    "name": "cruise_reorder"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
confirmationTokenNoOmit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval.

Output Schema

NameRequiredDescriptionDefault
resultYes
statusYes
successYes
contractVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the destructiveHint/idempotentHint annotations, the description discloses the preview-then-commit gate, the prohibition on fabricating approval, idempotency retry semantics, and a fallback when cruise tools are unavailable. The generic patch sentence ("Omitting a field preserves it; null clears nullable fields") is partly boilerplate since the request schema sets additionalProperties=false and only exposes a ReorderDays operation, so it adds less than it appears to.

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 preview/commit workflow is front-loaded and the ordering of information follows the actual call sequence. The closing segment-type and unavailability guidance is relevant but reads as appended policy rather than core to reordering, slightly diluting focus.

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 destructive, versioned mutation with an output schema present, the description covers the safety workflow, retry behavior, and scope boundaries well. It doesn't explain what the preview payload contains, though the output schema is expected to carry return values.

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?

With only 50% schema description coverage, the description usefully discloses where expectedVersion comes from (cruise_get) and how idempotencyKey should be reused on retries, which the schema does not say. It still leaves tripId and the nullable cruiseId unexplained, and the patch/null note does not map cleanly onto the actual nullable field.

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?

"Preview and commit cruise reorder operations atomically" states a specific verb (reorder), resource (cruise days), and the two-phase execution model in one sentence. It clearly separates this tool from siblings like checklist_items_reorder or library_list_items_reorder and from cruise_day_update.

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 prescribes the exact workflow: call cruise_get for expectedVersion, omit confirmationToken to preview, show the user, then repeat the unchanged request with the token only after approval. It also states the retry rule (reuse idempotencyKey), the domain boundary (commercial cruise reservations and sea/port days use cruise_* tools), and the explicit exclusion that Activity/CruiseActivity must never substitute for a cruise day while shore excursions remain valid.

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