Skip to main content
Glama

Reinstate a reservation

reinstate_reservation
DestructiveIdempotent

Changes: puts one cancelled or no-show stay back to booked, when its dates have not passed and a room of its type is free. Previews first: the first call shows the change and makes nothing. Reinstates a cancelled or no-show stay whose dates have not passed. Refused when a night still ahead has no free room of its type, and for a stay booked on Expedia or Booking.com. First call without confirm: a preview, nothing changes; then call again with the same values, confirm true and preview_id. Needs the owner's sign-in.

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": {
      "confirmation": "<confirmation>"
    },
    "name": "reinstate_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy, in the person's words
confirmNotrue to go ahead with the change shown in the preview
preview_idNopreview_id from the preview
confirmationYesThe stay's confirmation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely new behavior: a preview-first two-step protocol where the first call changes nothing, the refusal conditions, and the 'owner's sign-in' authorization requirement — none of which the annotations convey.

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

Conciseness3/5

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

Front-loaded with the correct action, but redundant: the preview behavior is stated twice ('Previews first: the first call shows the change and makes nothing' and 'First call without confirm: a preview, nothing changes'), and the reinstatement scope is repeated in the second and third sentences. Tightening would cut roughly a third of the text with no loss.

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 destructive mutation with no output schema, the description covers the workflow, eligibility, refusal cases and auth needs, which is enough to call it correctly. It does not say what the preview response actually contains (fields to inspect before confirming), which would be the remaining gap.

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 coverage is 100%, so baseline is 3. The description goes beyond the schema by explaining the parameter sequencing — the second call must reuse 'the same values, confirm true and preview_id' from the first — which is temporal meaning the field descriptions alone do not express.

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: 'puts one cancelled or no-show stay back to booked', with scope conditions (dates not passed, room of that type free). This is clearly distinguishable from cancel_reservation or change_reservation without opening any schema.

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?

Explicitly gives when-it-applies ('cancelled or no-show stay whose dates have not passed') and when-not ('refused when a night still ahead has no free room of its type, and for a stay booked on Expedia or Booking.com'), plus the required two-call flow. It stops short of naming an alternative tool to use when the exclusion applies, so it is not a full when/when-not/alternative triad.

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