Skip to main content
Glama

approve_booking

AUTHENTICATED. Approve a pending booking request as the signed-in host. Confirms the booking, creates the calendar event, and notifies the guest.

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": {
      "booking_id": "<booking_id>"
    },
    "name": "approve_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_idYesThe booking id to approve. Must belong to the signed-in host and be in `pending` status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the auth requirement and three concrete side effects — confirming the booking, creating the calendar event, and notifying the guest. It omits reversibility, idempotency, and failure behavior, which keeps it out of the top band for a mutation 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?

Two short sentences, zero filler, and the auth precondition is front-loaded before the action and its effects. Every clause carries information.

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 single-parameter mutation with no output schema, the definition covers auth, preconditions, and side effects adequately. What remains thin is failure/edge behavior (e.g., non-pending or non-owned bookings), which an agent would need in order to handle errors.

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 booking_id's meaning and its pending/ownership constraints are already documented in the schema. The description restates 'pending' and 'signed-in host' rather than adding format or syntax detail beyond the schema, so the baseline 3 applies.

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 ('Approve a pending booking request') plus the actor scope ('as the signed-in host'). The verb is precise enough to distinguish it from decline_booking and cancel_booking without opening either 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?

Gives clear context: the booking must be pending and must belong to the signed-in host, which tells the agent when this tool is applicable. It does not explicitly route to alternatives such as decline_booking or my_pending_approvals, so it stops short of full when/when-not guidance.

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