Skip to main content
Glama
aimharder-mcp
by fvena

execute_late_booking_cancellation

Destructive

Cancel a booking after a standard cancellation reports pending credit loss by confirming the exact still-booked target and credit-loss consent with confirmedCreditLoss.

Instructions

After a fresh standard cancellation reports pending-credit-loss, show the exact still-booked target and possible credit loss, then obtain separate account-holder confirmation with confirmedCreditLoss: true. Both preference switches leave this requirement in force. Use only the new late reference, recheck the same reservation, send at most one late request and reconcile with fresh reads. Never retry an uncertain write automatically. No refund or balance is verified.

Input Schema

NameRequiredDescriptionDefault
actionReferenceYes
confirmedCreditLossNo

Output Schema

NameRequiredDescriptionDefault
gymYes
actionYes
creditYes
statusYes
targetYes
noticesYes
observedStateYes
writeConfirmationRequiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructive, non-idempotent and open-world, and the description adds real context beyond them: the possibility of credit loss, the requirement for separate account-holder confirmation, the one-request ceiling, and the instruction to reconcile with fresh reads rather than retry uncertain writes. It also discloses a limitation absent from annotations – that no refund or balance is verified.

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 precondition and the confirmation requirement come first, which is the right ordering for a guarded destructive tool. The prose is telegraphic and some clauses are comma-spliced, but no sentence is filler given how tightly each constraint matters for a mutation that can lose credit.

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 an open-world destructive tool with an output schema and annotation coverage, the description supplies preconditions, retry policy, reconciliation guidance and explicit verification gaps, which is close to complete. The remaining gap is that it never plainly states the outcome action (that the booking is actually cancelled late) or what the caller should do if the confirmation is declined.

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 0%, so the description must carry the load and largely does: it explains that actionReference must be the new late reference (not a reused one) obtained from the freshly rechecked reservation, and that confirmedCreditLoss: true represents a separate account-holder confirmation rather than a default. It does not explain the 64-hex format, though the schema pattern already conveys that.

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?

The description makes the tool's role identifiable: it is the escalation step that surfaces the concrete still-booked target plus potential credit loss and collects an explicit confirmedCreditLoss consent before proceeding. It is less crisp than a plain 'cancel X late' statement because the actual operation is only implied through protocol steps, and it never names the sibling execute_booking_cancellation it extends.

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?

Use conditions are explicit and narrow: only after a fresh standard cancellation reports pending-credit-loss, only with the new late reference, at most one late request, no automatic retry on an uncertain write. What is missing is a direct pointer to the alternative path (e.g. plain execute_booking_cancellation) for the case where the precondition is not met.

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