Skip to main content
Glama

agoda_flights_search_locations

Read-only

Agoda flight destination/airport search: resolves a free-text city or airport name into IATA airport codes, with each city's direct and nearby airports.

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": {
      "keyword": "<keyword>"
    },
    "name": "agoda_flights_search_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYesFree-text city or airport 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. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine value beyond them by describing the shape of the result set (IATA codes plus each city's direct and nearby airports), which tells the agent to expect multiple airports per city and to disambiguate. It does not explain why idempotentHint=false is set, i.e. that identical keywords may return varying results.

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?

The entire definition is one front-loaded sentence naming the provider, the operation, and the output semantics, with no filler. The colon-plus-clause structure puts the core action first and the return detail second.

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 single-parameter lookup with an output schema and annotations covering read-only/open-world behavior, the description supplies enough to call it correctly and to interpret results. The only gap is workflow context: it does not tell the agent that the resulting codes feed the flight-search tool, which would make the definition self-sufficient in a multi-tool sequence.

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?

There is a single parameter, and the schema already documents it at 100% coverage as 'Free-text city or airport name.' The description's phrasing mirrors the schema rather than adding format hints (e.g. whether 'NYC', 'JFK', or 'New York' are all acceptable, or how ambiguous input is handled). Baseline 3 is appropriate since the schema carries the parameter load.

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 states a specific verb and resource: resolving a free-text city or airport name into IATA airport codes, and clarifies that results include both direct and nearby airports per city. This is far more than a restatement of the name. It stops short of explicitly naming a sibling (e.g. expedia_locations_search or booking_flights_autocomplete) to distinguish itself from other location-resolution tools.

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: an agent can infer from 'flight destination/airport search' that this is a keyword-to-code resolver, likely a prerequisite to agoda_flights_search, but the description never says so. There is no when-to-use, when-not-to-use, or named alternative, leaving the agent to guess how it fits with the other location/autocomplete tools.

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.