Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Lunacal. If you published it, claim ownership there.

Decline booking

decline_booking
Destructive

Decline (reject) a pending booking on an event type that requires confirmation. Identify the booking by its numeric bookingId (the id field from list_bookings, not the uid). Only bookings with status 'unconfirmed' can be declined. Confirm with the user first — this rejects the booking and Lunacal emails the attendee. Pass recurringEventId to decline the whole recurring series, and reason to tell the attendee why.

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

Input Schema

NameRequiredDescriptionDefault
reasonNoReason sent to the attendee for the decline
bookingIdYesNumeric booking id from list_bookings (not the uid)
recurringEventIdNoDecline all future bookings in this recurring series

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 and openWorldHint=true, and the description adds genuinely new effects: Lunacal emails the attendee, the booking is rejected permanently, and passing recurringEventId escalates the blast radius to the whole series. That side-effect and scope disclosure is exactly what an agent needs before calling a destructive, non-idempotent 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?

Four short sentences, front-loaded with the action and the eligibility rule, then the confirmation requirement, then the optional-parameter effects. No filler and nothing important buried at the end.

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?

With no output schema, the description still conveys the outcome (rejection plus attendee email) and the series-wide consequence, which covers what an agent must know. It omits what a failed or ineligible decline returns (e.g., error on an already-confirmed booking), a minor gap for a 3-parameter mutation.

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 baseline is 3. The description's notes on bookingId (numeric id, not uid) and reason ('tell the attendee why') largely mirror the schema text, and its series wording ('whole recurring series') is only marginally different from the schema's 'all future bookings in this recurring series'.

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 gives a specific verb pair ('Decline (reject)') plus a precise resource and scope: a pending booking on an event type that requires confirmation. It also names the exclusion condition (status 'unconfirmed'), which lets an agent separate this from confirm_booking or cancel_booking without opening another 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?

It states a hard eligibility rule ('Only bookings with status unconfirmed can be declined') and a procedural precondition ('Confirm with the user first'), and points to list_bookings as the id source. It stops short of explicitly naming cancel_booking as the route for already-confirmed bookings, so the alternative for the out-of-scope case is only implied.

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