Skip to main content
Glama

Booking for agents

confirm_booking

Confirm a requested booking (pages with confirm: agent).

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": "confirm_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether confirming is reversible, whether it triggers notifications to the client or owner, whether it is idempotent, or what errors occur for non-requested bookings. The cryptic '(pages with confirm: agent)' fragment hints at some permission or feature-flag condition without explaining it.

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 description is a single front-loaded sentence with no padding, which is appropriate for a one-parameter mutation. The only structural weakness is the trailing parenthetical, which adds ambiguity rather than information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-changing operation with no annotations, no output schema, and an undocumented parameter, the definition explains neither the outcome of a successful confirmation nor the failure conditions. An agent could not predict side effects such as client notifications or state validation from this text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter (booking_id) is undocumented in both schema and description. The description gives no indication of where a booking_id comes from (e.g., list_bookings/get_booking) or its format, so it fails to compensate for the coverage gap.

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 ('Confirm a requested booking') and narrows scope to bookings in a requested state, which separates it from get_booking or list_bookings. It does not explicitly distinguish it from sibling mutations like cancel_booking or decline_booking, and the trailing parenthetical '(pages with confirm: agent)' is opaque rather than clarifying.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'a requested booking' implies a precondition (the booking must already exist in a requested state), which is implicit guidance on when to call it. However, there is no mention of when not to call it, what to do if the booking is not in a requested state, or how it relates to the sibling cancel_booking/decline_booking tools.

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