Skip to main content
Glama

booking_flights_autocomplete

Read-only

Fetch Booking.com flight-search airport and city suggestions for a partial query. Use booking_flights_search once the traveler has selected origin and destination codes.

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": {
      "query": "<query>"
    },
    "name": "booking_flights_autocomplete"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoLocation role: to or from. Defaults to to.
queryYesCity or airport name/code to search.
originNoOptional origin location code, biases results by proximity.
origin_typeNoOrigin location type, e.g. AIRPORT or CITY.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile and non-idempotent nature of incremental lookups are covered in structured data. The description adds only the workflow framing, saying nothing about result counts, ranking, or how suggestions change as the query grows. Given the annotation coverage, this is an adequate but not additive disclosure.

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 short sentences, both front-loaded with the purpose followed by the handoff to the next tool. There is no filler, no restatement of the name, and no redundant wording.

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?

An output schema exists, so return values need not be described, and annotations cover the safety and openness traits. The description supplies purpose plus the workflow handoff, which is enough for a simple autocomplete lookup, though it omits anything about the incremental-typing pattern or result ranking.

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%, with all four parameters (query, type, origin, origin_type) documented inline. The description mentions only the partial query and selection of origin/destination codes, adding no formatting, casing, or code-vs-name guidance beyond the schema. This matches the baseline-3 case where the schema carries the semantics.

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?

The description gives a specific verb (fetch) plus a precisely scoped resource (Booking.com flight-search airport and city suggestions) and the input condition (a partial query). It also names the sibling tool booking_flights_search as the next step, so an agent can separate the two without opening either 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?

It explicitly names the alternative (booking_flights_search) and the condition that selects it: once origin and destination codes are chosen. That makes the intended stage in the workflow clear. It stops short of stating a negative case (e.g. do not use this to retrieve full flight results or fares), so a 4 rather than a 5.

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.