Skip to main content
Glama

expedia_locations_search

Read-only

Fetch Expedia destination/property typeahead suggestion records for free-text term, including cities, airports, neighborhoods, and hotels. Use expedia_properties_search to find stays or expedia_properties_filters to inspect search facets.

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

Input Schema

NameRequiredDescriptionDefault
termNoRequired city, airport, neighborhood, or property search text; maximum 100 UTF-8 bytes.
localeNoLanguage/country locale, default en_US.
currencyNoPrice currency code, default USD.

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. Changed3 schema fields changed
    • addedInput schema / properties / currency / description
      Added value: +"Price currency code, default USD."
    • addedInput schema / properties / locale / description
      Added value: +"Language/country locale, default en_US."
    • addedInput schema / properties / term / description
      Added value: +"Required city, airport, neighborhood, or property search text; maximum 100 UTF-8 bytes."
  2. 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 is covered. The description adds useful context that results span multiple entity types rather than properties only, but says nothing about result volume, ranking, or why a read is marked non-idempotent. With annotations carrying the behavioral burden, this is adequate rather than rich.

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 sentences, no filler, with the core purpose and accepted term types front-loaded before the sibling routing. Every clause carries information an agent would otherwise have to infer.

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 the safety hints are fully covered by annotations. The definition is complete enough to call correctly, with only minor room for stating result-set characteristics or a max-suggestions note.

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%, so `term`, `locale`, and `currency` are already documented in the schema, including the 100-byte cap and defaults. The description restates that `term` is free-text and lists what it accepts, but does not explain how `currency` or `locale` affect the suggestions. Baseline 3 applies when the schema does the heavy lifting.

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 ('Fetch') and resource ('destination/property typeahead suggestion records') scoped to free-text `term`, and enumerates the entity types returned (cities, airports, neighborhoods, hotels). It explicitly names the sibling it is not (expedia_properties_search), so an agent can separate typeahead lookup from property search 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?

Gives concrete routing: use expedia_properties_search for stays and expedia_properties_filters for search facets, which covers the two most likely confusions in this catalog. It stops short of stating an explicit condition for when this tool is necessary (e.g., when you need a location identifier before another call) or when to skip it.

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.