Skip to main content
Glama

Approve Booking Request

approve_booking_request

Approve a pending online booking request — accept it, confirm the booking (it stops being a quote, so reminders and payment chasing apply), keep the held date, and email the client it's confirmed. The result's notified says whether that email actually went. Applies only to bookings that came in through the public booking page and are awaiting a decision (online_approval='pending' on the booking).

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>"
    },
    "name": "approve_booking_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-destructive mutation; the description adds the real behavioral payload — the record transitions out of quote status, reminders and payment chasing become active, the held date is retained, and a client confirmation email is sent. It even discloses that the returned `notified` flag reports whether that email actually went out, which is the kind of post-condition an agent cannot infer from annotations.

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 action and its precondition are front-loaded, and the parenthetical about the quote-to-booking transition earns its space. There is minor redundancy between 'Approve' and 'accept it, confirm the booking', and the closing eligibility sentence would read better moved up front.

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?

There is no output schema, yet the description covers the one return value an agent cares about (`notified`) alongside the state change and email side effect. For a single-parameter, non-destructive mutation with full annotation coverage, nothing needed to call it correctly is missing.

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% for the single `id` parameter, so the baseline is 3. The description adds eligibility meaning to that id — it must reference a booking originating from the public booking page in pending approval state — which constrains which ids are valid beyond the schema's 'numeric id from the matching list/get/search tool'.

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 and resource ('Approve a pending online booking request') and immediately spells out what approval means in domain terms (it stops being a quote, date is kept, client is emailed). This is clearly distinguishable from the deny/update siblings 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?

It states a precise precondition: the booking must have come from the public booking page and be awaiting a decision (online_approval='pending'). That effectively tells the agent when not to call it, though it never names a sibling (e.g. deny_booking_request) as the alternative action.

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