Skip to main content
Glama

hotels_autocomplete

Read-only

Fetch anonymous Hotels.com destination or property suggestions for partial text; suggestions do not include availability or prices. Use hotels_search once the destination is selected.

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": {
      "q": "<q>"
    },
    "name": "hotels_autocomplete"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPartial destination or property name

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. Changed1 schema field changed
    • addedInput schema / properties / q / description
      Added value: +"Partial destination or property name"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description still adds real value: 'anonymous' (no auth/identity needed) and the explicit absence of availability or prices, which prevents an agent from treating suggestions as inventory. It does not address result volatility (relevant given idempotentHint=false), which the annotation covers but the prose leaves implicit.

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 tight sentences; the capability statement comes first and the next-step routing comes second. Nothing extraneous and no restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 shape need not be described. For a one-parameter typeahead, the description covers what it returns conceptually (suggestions, not availability/prices) and what to do next, leaving no decision-relevant gap.

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?

With a single parameter at 100% schema coverage, the schema already documents q as a partial destination or property name. 'Partial text' restates the same idea without adding format, length, or matching behavior.

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?

Names a specific verb and resource ('Fetch ... destination or property suggestions') and bounds the input ('for partial text'), which separates it cleanly from hotels_search and from the other domain autocompletes in the sibling set.

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

Usage Guidelines5/5

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

Explicitly routes the agent: this tool for partial text, then 'Use hotels_search once the destination is selected.' Both the condition and the alternative are stated rather than inferred.

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.