Skip to main content
Glama

MAQAMI Travel

get_data_flights_airlines_iatas_iatacode

Read-onlyIdempotent

Overview

Retrieve full details for a specific airline using its 2-letter IATA code.

When to Use

  • Airline display - Show airline name, logo, and alliance for a given IATA code

  • Flight result enrichment - Fetch airline details to display alongside search results

  • Data validation - Verify an airline code and retrieve its metadata

What You Get

  • Airline details including name, IATA/ICAO codes, and country

  • Alliance membership (Star Alliance, oneworld, SkyTeam, or Vanilla Alliance)

  • Logo URL for displaying the airline's logo in your UI

  • Active status indicating whether the airline is currently operating

Quick Start

Provide the 2-letter IATA code (e.g., AA for American Airlines) in the URL path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iataCodeYes2-letter IATA airline code (e.g., AA)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description earns credit beyond that by enumerating the returned metadata (name, IATA/ICAO, country, alliance, logo URL, active status) — valuable given there is no output schema.

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

Conciseness4/5

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

Markdown headers front-load the purpose and usage before the payload description. It is slightly heavier than needed for a one-parameter lookup, but each section (usage, return fields, quick start) carries information an agent would otherwise lack.

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?

With no output schema, the 'What You Get' section correctly compensates by describing return fields, and the quick start shows the required path parameter. Nothing essential for calling or interpreting the result 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 the single iataCode parameter is already documented as a 2-letter code with the 'AA' example. The description restates the same format guidance without adding syntax, validation, or lookup-failure semantics, so it is the expected baseline rather than an enhancement.

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) and resource (full details for a specific airline) keyed on the 2-letter IATA code. The 'specific airline' phrasing implicitly separates it from the sibling list endpoint get_data_flights_airlines_iatas, which enumerates codes rather than fetching one.

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' block gives three concrete scenarios (airline display, flight result enrichment, code validation). It lacks any when-not guidance or explicit reference to the sibling list/detail tools, so an agent must infer that this is the single-record variant.

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