Skip to main content
Glama

Tolk2Go Interpreter Booking

Cancel a booking

tolk2go_interpreting_cancel_booking
DestructiveIdempotent

Cancel one of the signed-in customer's booking requests or bookings; this cannot be undone, so confirm with the customer first. A request that is still searching is withdrawn; a confirmed booking is cancelled under the cancellation terms shown by tolk2go_interpreting_preview_selection, so a late cancellation can be charged. Returns the booking_id with status cancelled, or an error when the booking cannot be cancelled (for example when it is already completed). The reason is optional.

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_id": "<booking_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "tolk2go_interpreting_cancel_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
booking_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true; the description goes well beyond them by stating the action is irreversible, that late cancellation under confirmed terms can incur a charge, what happens to a searching request, and what error conditions look like (e.g. already completed). This is exactly the added context the annotations cannot carry.

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?

Front-loads the irreversibility warning before the mechanics, and each sentence carries distinct information (warning, branch behavior, return/error shape). The trailing 'The reason is optional' is a useful but slightly orphaned fragment.

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?

With no output schema, the description helpfully states the return value ('booking_id with status cancelled') and the error case. The only material gap for a destructive, idempotent mutation is the unexplained idempotency_key, which matters for safe retries.

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

Parameters2/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 explain all three parameters. It only says 'the reason is optional', and booking_id is self-evident, but the required idempotency_key — a non-obvious parameter with a 200-char limit — is never mentioned or explained anywhere.

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 and resource with scope: cancelling one of the signed-in customer's booking requests or bookings. It also distinguishes the two sub-cases (still-searching request is withdrawn vs confirmed booking is cancelled), which no sibling name alone would convey.

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?

Gives a clear precondition ('confirm with the customer first') and routes the agent to tolk2go_interpreting_preview_selection for the cancellation terms that determine charges. It does not name an explicit alternative tool for cases where cancelling is the wrong action, but the context is otherwise unambiguous.

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