Skip to main content
Glama

Decline a booking request

decline_booking
Destructive

IRREVERSIBLE: Decline a booking request

Declines a booking that waits for the host (status pending). The optional reason is handed to the calendar provider, which may show it to the attendee. Only calendars with booking requests support this (Cal.com). The others answer 422 not_supported.

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": {
      "id": "<id>",
      "bookingId": "<bookingId>"
    },
    "name": "decline_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the calendar integration.
bodyNoOptional `reason`, at most 500 characters. An empty object or no body declines without a reason.
confirmNoLeave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value.
bookingIdYesThe `id` of the booking as GET /integrations/bookings returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds genuinely new context: the IRREVERSIBLE warning, that the `reason` is forwarded to the calendar provider and may be shown to the attendee, and the exact failure mode (422 not_supported) for unsupported calendars. It does not discuss permission requirements or what a successful decline returns.

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?

Three short sentences with the irreversible warning front-loaded first, which is the right ordering for a destructive action. Minor redundancy from restating the title in the opening line.

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, non-idempotent mutation with no output schema, the description covers reversibility, provider applicability, error behavior, and attendee-visible side effects. What remains undocumented — success response shape and permission needs — is minor given the rich schema.

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 coverage is 100%, so the schema already documents all four parameters, including the `confirm` echo flow and the 500-character limit on `reason`. The description adds only the downstream effect of `reason` (shown to the attendee), which is useful but marginal against an already complete schema.

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?

States a specific verb and resource ('Declines a booking') and narrows scope to bookings awaiting the host with status `pending`. The remaining gap is that it does not distinguish this from the sibling cancel_booking, leaving the decline-vs-cancel distinction to inference.

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 (only bookings in `pending` status) and a provider restriction (only Cal.com calendars with booking requests; others return 422 `not_supported`). It stops short of explicitly saying when to prefer this over cancel_booking.

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.