Skip to main content
Glama

MAQAMI Travel

get_data_flights_airports_iatas_iatacode

Read-onlyIdempotent

Overview

Retrieve detailed information for a specific airport using its 3-letter IATA code.

When to Use

  • Airport display - Show airport name, city, and country for a given IATA code

  • Flight result enrichment - Fetch airport details to display alongside origin/destination in search results

  • Autocomplete validation - Verify an airport code and retrieve its full details

What You Get

  • Airport details including name, city, country, and timezone

  • IATA and ICAO codes for the airport

  • Geographic coordinates (latitude and longitude)

  • Country and city information for display purposes

Quick Start

Provide the 3-letter IATA code (e.g., JFK for John F. Kennedy International) in the URL path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iataCodeYes3-letter IATA airport code (e.g., JFK)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile needs no repetition. The description adds genuinely non-structured context by enumerating the returned fields (name, city, country, timezone, IATA/ICAO, coordinates) in the absence of an output schema. It omits error behavior for an unknown code and any rate limits, keeping it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structure is well front-loaded, but for a one-parameter lookup the four markdown sections are heavy and partly redundant: 'country and city' appears in both 'What You Get' and the following bullet, and 'Quick Start' repeats the schema's own example. Trimming one or two bullets would lose nothing.

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?

Purpose, usage scenarios, and returned fields are all covered for this simple read-only lookup, and annotations remove the need to explain safety. Only failure modes (unknown/invalid IATA code) are unaddressed, a minor gap for a tool this simple.

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 coverage is 100% and there is a single parameter, so the schema already documents iataCode fully. The description only restates the format and adds the JFK example (also in the schema) plus a note that it goes in the URL path, adding marginal value. Baseline 3 is appropriate.

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 (Retrieve) plus resource (detailed information for a specific airport) and the key (3-letter IATA code), which cleanly separates it from the sibling list endpoints get_data_flights_airports and get_data_flights_airports_iatas. An agent can pick between them 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?

The 'When to Use' section gives three concrete scenarios (display, flight-result enrichment, autocomplete validation), which is clear positive guidance. It stops short of an explicit when-not-to-use or naming the sibling list tool to use instead when you lack a code, so it is not a 5.

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.

Resources