Skip to main content
Glama

TrimTeam — yacht charter

Cancel a booking request

cancel_booking_request
DestructiveIdempotent

Withdraws a booking request while it is still a request (before the operator holds the boat). After that, cancellations go through the manager (concierge@trimteam.ai).

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": {
      "booking_ref": "<booking_ref>",
      "booking_key": "<booking_key>"
    },
    "name": "cancel_booking_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_keyYesbooking_key from request_booking
booking_refYesbooking_ref from request_booking

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false. The description adds the crucial phase boundary: this only works while the booking is still a request, and it names the fallback channel after that point. It doesn't state whether withdrawal is reversible or whether the refund/slot is released, which is a modest gap given annotations cover the destructive profile.

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?

Two compact sentences; the eligibility window is front-loaded before the fallback contact. No filler, though it could be slightly tighter by folding the escalation into one clause.

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?

For a simple 2-param destructive mutation with full schema coverage and annotations, the description covers eligibility and the escalation path, which are the key behavioral facts. It stops short of confirming what happens to the request record afterward (released, archived) or what the caller receives, leaving modest ambiguity for a destructive action.

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 coverage is 100% and both params are documented inline as coming from request_booking. The description adds no parameter-level meaning such as format or where to obtain the values beyond what the schema states — baseline 3 is appropriate with the schema doing heavy lifting.

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?

Specific verb (withdraws) + resource (booking request) + explicit scope condition (while it is still a request, before the operator holds the boat). An agent can distinguish this from contact_manager 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?

States the condition under which this tool applies and what to do when it no longer applies — cancellations after the operator holds the boat must go through the manager at concierge@trimteam.ai. The alternative path is named explicitly with a concrete contact.

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