Skip to main content
Glama

Get booking

get_booking
Read-onlyIdempotent

Returns the secure iQuota link where the traveller views their booking. It returns no booking details: the traveller identifies themselves on that page, not in the conversation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_referenceNoOptional booking reference (e.g. IQ-XXXXXX), only to prefill the page.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / booking_reference / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / booking_reference / default
      Added value: +null
    • changedInput schema / properties / booking_reference / description
      Previous value: -"Booking reference returned by book_hotel."New value: +"Optional booking reference (e.g. IQ-XXXXXX), only to prefill the page."
    • removedInput schema / properties / booking_reference / type
      Removed value: -"string"
    • removedInput schema / properties / guest_email
      Removed value: -{
      -  "description": "Guest email used in the booking.",
      -  "title": "Guest Email",
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "booking_reference",
      -  "guest_email"
      -]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "title": "_getbDictOutput",
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / booking_reference / description
      Added value: +"Booking reference returned by book_hotel."
    • addedInput schema / properties / guest_email / description
      Added value: +"Guest email used in the booking."
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. Beyond that, the description discloses a genuinely non-obvious behavior: the return payload is a URL only and identity verification happens out-of-band on the hosted page — important context the annotations do not convey. It says nothing about link expiry or reuse, which keeps it off a 5.

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 tightly written sentences, front-loaded with the return value and followed by the scope limit. No filler, and the most decision-relevant fact (no booking details) is stated early.

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 one-optional-parameter, read-only tool with an output schema, this covers what an agent needs to call it correctly and to know it will not receive booking data. Minor omission: nothing about link lifetime or whether the same link is reusable, which matters for repeated calls.

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% and the single parameter already carries its own explanation (optional reference, only to prefill the page). The description adds nothing about booking_reference, but with full schema coverage the baseline 3 is appropriate.

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: it returns the secure iQuota link for a booking, and explicitly narrows the scope by saying it returns no booking details. That negative statement separates it from detail-fetching siblings such as get_hotel without requiring the agent to open 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?

The description makes clear this is the hand-off tool: the traveller identifies themselves on the linked page "not in the conversation," which tells an agent when to reach for it rather than trying to collect details itself. It stops short of naming a concrete alternative for retrieving booking details, so no explicit when-not/alternative routing.

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.