Skip to main content
Glama

Get one of my bookings

get_booking
Read-only

One of the signed-in customer's bookings, with the same details as list_my_bookings.

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

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage of the texts: ru, en or pt (default en).
booking_idYesA booking id from list_my_bookings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds real value beyond that by disclosing the result shape (same details as list_my_bookings) and the authorization scope (signed-in customer's own bookings only). It says nothing about failure modes, e.g. an unknown id or a booking owned by another user, which would matter for a detail lookup.

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?

A single short sentence, front-loaded with the resource and scope, that spends no words on restating the tool name or on filler. Nothing in it is redundant with the schema or title.

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 simple, fully-schema-documented two-parameter read with a complete annotation set, the definition covers the essentials, and the reference to list_my_bookings partially compensates for the absence of an output schema by telling the agent what the payload looks like. Only the error/empty-result behavior is left unaddressed.

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

Parameters4/5

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

Schema description coverage is 100%, so both parameters (booking_id, locale enum) are already documented, giving a baseline of 3. The description adds one genuinely useful semantic link: booking_id is not arbitrary but must be one that came from list_my_bookings, which sharpens correct invocation beyond the schema alone.

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?

The description identifies the resource precisely: a single booking belonging to the signed-in customer, and states its payload parity with list_my_bookings ("the same details as list_my_bookings"). The singular-vs-list contrast with the sibling list_my_bookings is implicit rather than spelled out, and the retrieval verb is carried by the name rather than the description, so it falls just 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?

Usage is only implied: fetching "one of" the bookings signals a single-item lookup, and the reference to list_my_bookings hints where the id comes from (reinforced by the schema). There is no explicit when-to-use/when-not statement and no routing against alternatives such as get_offering or check_availability, leaving the agent to infer the choice.

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