Skip to main content
Glama
airlabs-co

AirLabs MCP Server

Official
by airlabs-co

get_city_info

Retrieve aviation city details by IATA code or list cities in a country using ISO-2 code. Returns name, code, coordinates, timezone, and population.

Instructions

TRIGGER: use when the user asks about an aviation city code/grouping or to list cities of a country in an aviation context — not for general geography questions. Look up cities in the world cities database by code or country. Returns city name, code, country, coordinates, timezone and population/popularity. USE CASES: 'Details for the LON city group', 'List cities in Bulgaria' (country_code='BG'). For turning a city NAME into a code, prefer search_airport_code (it also returns the airports for that city).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_fieldsNoComma-separated fields, e.g. 'name,city_code,country_code'.
city_codeNoIATA city code, e.g. 'LON', 'PAR'.
country_codeNoISO-2 country code, e.g. 'BG'.
Behavior4/5

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

No annotations provided, but description discloses return fields (name, code, country, coordinates, timezone, population/popularity), indicates read-only intent (no mutation mentioned), and provides use case examples. Could be improved by explicitly stating read-only.

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?

Description is front-loaded with trigger, then action, returns, use cases, and sibling differentiation. Every sentence adds value with no fluff.

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 simple lookup tool with 3 optional parameters and no output schema, the description covers all essential context: when to use, what it returns, example inputs, and differentiation from related tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All parameters have schema descriptions (100% coverage), but description adds value by specifying default return fields when `_fields` is omitted, giving example values for `city_code` ('LON') and `country_code` ('BG'), and clarifying the aviation context.

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?

Description clearly states the tool looks up cities by code or country in an aviation database, with verb 'look up', resource 'cities in the world cities database', and distinguishes from sibling 'search_airport_code' which converts city name to code.

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 states when to use: aviation city code/grouping queries or listing cities of a country in aviation context; when not to use: general geography; provides alternative sibling tool for name-to-code conversion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/airlabs-co/airlabs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server