Skip to main content
Glama

get_booking

Read-only

Retrieve a single hotel booking by its 6-character locator to check reservation details and status.

Instructions

One booking by its locator.

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": {
      "locator": "<locator>"
    },
    "name": "get_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
locatorYes6 letters or digits, e.g. ABC123

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description adds nothing beyond that. It does not say what happens when the locator is unknown (error vs empty), whether the result is a full booking object, or any access/rate constraints, so for a tool with no output schema the behavioral picture stays thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with zero padding, so there is nothing to trim and no structure problems. However, the brevity is under-specification rather than economy; there is no front-loaded statement of what is returned or when the call fails.

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?

The tool is simple (one required, fully documented parameter, read-only), which lowers the bar, but with no output schema the description should still say what a booking record contains or what a miss produces. As written, an agent can form the call but not anticipate the response.

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 locator field already documents the 6-character alphanumeric pattern with an example, so the schema does the heavy lifting. The description's 'by its locator' adds no syntax or format meaning beyond it, which matches the baseline 3 for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'One booking by its locator' identifies the resource and the lookup key, so retrieval of a single booking is inferable, but there is no verb and no explicit differentiation from siblings like create_booking or cancel_booking. It borders on restating the name get_booking rather than describing the operation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer this over a list/search alternative, and no prerequisites or constraints. The agent must infer context from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.