Skip to main content
Glama

Confirm a booking request

confirm_booking

Confirm a booking request

Confirms a booking that waits for the host (status pending). The calendar provider then informs the attendee as it always does. 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": "confirm_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the calendar integration.
bookingIdYesThe `id` of the booking as GET /integrations/bookings returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the external side effect — the calendar provider notifies the attendee — and the failure mode: unsupported providers answer 422 `not_supported`. It also repeats no annotation content and adds no contradiction with readOnlyHint=false and destructiveHint=false.

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?

Four short, front-loaded sentences with no filler; the precondition and the side effect both land in the first two sentences. The only redundancy is the opening line restating the title.

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?

For a two-parameter mutation with no output schema, the definition covers what it does, what state it requires, what side effect it triggers downstream, and how it fails on unsupported providers. An agent has everything needed to call it correctly and interpret the 422 case.

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 both `id` and `bookingId` are already fully documented in the schema. The description adds only the implicit constraint that the referenced booking must be in `pending` state, which is useful but not parameter-level detail about format or source beyond what the schema says.

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 names a specific verb and resource ('Confirm a booking') and pins down the exact precondition: only bookings waiting for the host, i.e. status `pending`. That precondition is what separates it from siblings like decline_booking or cancel_booking, which operate on bookings in other states.

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?

It gives a clear usage context (pending bookings awaiting host action) and a clear when-not case (calendars without booking-request support, e.g. non-Cal.com, return 422 `not_supported`). It stops short of naming decline_booking or cancel_booking as the alternatives for other booking states, so routing still requires a small inference.

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.