Skip to main content
Glama
reservation-mcp

reservation-mcp

by bdatdo0601

Cancel Reservation

cancel_reservation
Destructive

Cancels a reservation on Resy or OpenTable and returns a dry-run preview by default; set confirm to true to execute the cancellation.

Instructions

Cancels a reservation on Resy or OpenTable. Defaults to a safe dry-run preview unless confirm is explicitly set to true.

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": {
      "platform": "<platform>",
      "reservation_id": "<reservation_id>"
    },
    "name": "cancel_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to execute cancellation. False/omitted returns a dry-run preview.
platformYesPlatform holding the reservation.
reservation_idYesReservation ID returned by list_reservations or confirm_booking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the risk profile is known. The description adds genuinely new behavioral context beyond them: the default is a non-destructive dry-run, and real cancellation requires an explicit confirm=true flag. It stops short of stating irreversibility or that the cancellation affects the live third-party booking permanently.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler, and the safety-critical dry-run behavior is front-loaded immediately after the action statement. Nothing is redundant or buried.

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 three-parameter, destructive-but-guarded tool with no output schema, the definition covers the essentials: what it does, which platforms, and the dry-run default. Minor gap: it does not describe what the dry-run preview contains or warn that a confirmed cancellation cannot be undone.

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 description coverage is 100%, so the confirm, platform, and reservation_id semantics are already documented in structured data. The description only reinforces the confirm flag's default-off behavior and adds no syntax, format, or sourcing details beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Cancels a reservation on Resy or OpenTable" states a specific verb, resource, and the two supported platforms, so the action is unambiguous. It does not explicitly contrast itself with siblings such as preview_booking or confirm_booking, which keeps it just short of a 5.

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 concrete invocation guidance: the call is a dry-run preview by default and only executes when confirm is explicitly true. It does not say when an agent should prefer this over other reservation-related siblings or what prerequisites (e.g., a valid, still-active reservation) are needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.