Skip to main content
Glama

search_places

Read-only

Find the IATA code for a city or airport by name before searching flights. Supply a place name to get codes like MOW or LED.

Instructions

Находит IATA-код города или аэропорта по названию. Вызывайте перед остальными инструментами, если код неизвестен: им нужны коды вроде MOW или LED, а не названия.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoСколько вариантов вернуть
queryYesНазвание города или аэропорта на русском или английском, например «Питер»

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/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 real context beyond that: it is a lookup dependency for other tools, and its output is a code (MOW/LED), not free text. It does not mention how the limit/default affects result breadth, but that is minor against the annotation coverage.

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, zero waste, with the core purpose stated first and the prerequisite workflow guidance second. Every sentence earns its place.

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?

For a two-parameter lookup with no output schema, the description supplies the missing piece an agent needs: what comes back (an IATA code) and why it matters (siblings require codes, not names). Nothing essential to correct invocation is missing.

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% and both parameters (query, limit) are documented in the schema, so the baseline is 3. The description reinforces that query is a name (Russian or English implied by the example) but adds no syntax or format details beyond the schema.

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 and resource: resolves the IATA code of a city or airport from a name. It also identifies its role relative to siblings (the code resolver that must run before search_flights/cheapest_destinations/price_calendar), so an agent can distinguish it without opening any schema.

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 says when to call it: before the other tools, when the code is unknown, because those tools require codes like MOW or LED rather than names. This names the dependency condition and the alternative (skip it when the code is already known), leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.