Skip to main content
Glama

List airlines

list_airlines
Read-onlyIdempotent

Get domestic airline IDs and names so you can filter domestic flight searches by specific airlines.

Instructions

List domestic airline IDs (airlineId) and names for filtering find_domestic_flights.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_airlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only that this is a reference lookup keyed to airlineId, which is modest value beyond the structured fields; page size limits are left to the schema and an output schema already documents the return shape.

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?

A single sentence with zero filler, front-loading the resource and immediately explaining the downstream purpose. Nothing is redundant or buried.

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 simple, zero-required-parameter lookup with full annotation coverage, a 100% documented schema, and an output schema, the description supplies the essential purpose and workflow linkage. It could only improve by noting whether the full airline set fits in one page, which is a minor gap.

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 pagination parameters are documented in the schema with defaults and ranges. The description adds no parameter guidance, so the baseline of 3 applies.

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 ('List domestic airline IDs and names') and names the exact field returned (airlineId), making the result actionable. It also ties the tool to its consumer, find_domestic_flights, so an agent can distinguish it from the many other list_* reference tools in the catalog.

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 phrase 'for filtering find_domestic_flights' establishes the workflow context: call this first to obtain airlineId, then use it to filter flights. There is no explicit when-not guidance (e.g., if you already know the airline ID, skip this call), but the usage path is unambiguous.

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