Skip to main content
Glama

create_booking

Idempotent

Create one real supplier reservation after explicit consent. Requires secure client access and private guest session.

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": {
      "request": "<request>"
    },
    "name": "create_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare write, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses that an actual supplier reservation is created (a real-world side effect), that explicit consent is a precondition, and that secure client access plus a private guest session are required. It still omits failure/compensation behavior if the supplier rejects the booking.

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?

Two short sentences, verb-front-loaded, no filler. It is arguably too terse for a nested write payload, but nothing in it is wasted.

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?

An output schema exists so return values need not be explained, but this is a mutation with a deeply nested, entirely undescribed request schema. The description gives no guidance on how to build the request or what quote_token/consent flags mean, which is a substantial gap for a booking-creating tool.

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%, so the nested request object — quote_token, full guest identity, three consent booleans, idempotency_key, session ref — is completely undocumented. The description only loosely gestures at 'consent' and 'session'; it says nothing about the quote token being the source of the booking data, the idempotency key's role, or the required guest fields.

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+resource: 'Create one real supplier reservation'. The word 'real' and 'supplier reservation' distinguish it from the sibling create_booking_link, which presumably only mints a link. No sibling is named explicitly, so it falls short of a 5.

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?

'after explicit consent' and 'Requires secure client access and private guest session' imply preconditions (a confirmed quote, an active session), and thus imply the tool should be called only after get_quote/begin_session. But it never says when NOT to use it, nor names get_quote or create_booking_link as prerequisites or alternatives.

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