Skip to main content
Glama

BEEP.rent — car rental in Poland

Cancel a reservation

cancel_reservation
DestructiveIdempotent

Use when the user asks to cancel: after verify_reservation_management, with its management_id (and the reservation_number when the code was sent for the user's e-mail), or with the reservation_number when the user's BEEP.rent account is connected. First call without confirm: it returns the refund and a confirmation_token and cancels nothing. Show the refund, get the user's explicit yes, then call again with confirm=true and that token. Cancellation is irreversible. Example: {"management_id":"from_verify","confirm":true,"confirmation_token":"from_preview"}.

Input Schema

NameRequiredDescriptionDefault
marketNo
confirmNofalse previews; true executes the previewed operation.
management_idNoFrom verify_reservation_management.
confirmation_tokenNo
reservation_numberNoThe number of one of the user's own reservations.

Output Schema

NameRequiredDescriptionDefault
linksNo
reasonNo
refundNo
statusNook
messagesNo
policiesNo
replayedNo
expires_atNo
next_stepsNo
consequencesNo
continue_urlNo
content_languageNo
confirmation_tokenNo
reservation_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true), the description discloses the crucial preview behavior: the first call cancels nothing, returns the refund and a confirmation_token, and cancellation is irreversible. This is exactly the kind of operational safety context an agent needs before invoking a destructive tool.

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?

The description is front-loaded with the usage condition and workflow, then adds irreversibility and an example. Every sentence contributes operational value, and there is no redundant restatement of the tool name or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a destructive, multi-step tool with five parameters and an output schema, the description covers the prerequisite chain, preview semantics, confirmation requirements, irreversibility, and input source for the non-obvious parameters. An agent has enough information to call it safely without needing to infer destructive behavior.

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 60%, and the description adds meaningful semantics for the key parameters: confirm controls preview vs execution, management_id comes from verify_reservation_management, confirmation_token comes from the preview, and reservation_number is conditional on account connectivity. It does not explain the market parameter, which is the main gap.

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?

The description states a specific verb and resource ('cancel' a reservation) and immediately distinguishes the supported invocation paths (management_id vs reservation_number) from sibling tools like verify_reservation_management. An agent can tell exactly what this tool does 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?

It gives explicit when-to-use conditions, prerequisites (verify_reservation_management or a connected BEEP.rent account), and a step-by-step flow: call without confirm, show the refund, obtain explicit yes, then call with confirm=true and the token. The alternative input paths are also clearly delineated.

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