Skip to main content
Glama

Flight airports

st_flight_airports
Read-onlyIdempotent

Find cities SnappTrip offers flights from, including IATA codes and airports, and filter by Persian or English city name or IATA code.

Instructions

List the cities SnappTrip offers flights from, with IATA codes and airports.

The list is the site's popular cities; other IATA codes may still work in st_flight_search.

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": "st_flight_airports"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFilter by Persian or English city name or IATA code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely new behavioral context beyond them: the result set is a curated popularity list, not the full inventory of valid codes, which prevents the agent from treating absence from the list as an invalid airport.

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 short sentences with zero filler. The core capability is front-loaded in sentence one and the important limitation follows in sentence two, which is the right order for an agent scanning for purpose first.

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 single-optional-param read tool with full annotation coverage and no output schema, the description covers what is returned and the key caveat about list coverage. Minor gaps remain: it doesn't say whether query matching is substring or exact, or whether an empty filter returns everything, but nothing essential for 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 the single optional query parameter is documented as filtering by Persian/English city name or IATA code. The description says nothing about the filter at all, so it adds no meaning beyond the schema; baseline 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?

"List the cities SnappTrip offers flights from, with IATA codes and airports" names a specific verb (list), a specific resource (origin cities), and the payload (IATA codes plus airport names). An agent can immediately tell this is a reference/lookup tool rather than a search or pricing tool like the st_flight_* siblings.

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 second sentence gives a concrete routing rule: the list is only the site's popular cities, and other IATA codes may still be usable via st_flight_search. That tells the agent when this tool's output is sufficient and when to fall back to a sibling, though it stops short of an explicit "call this first to resolve a city name" instruction.

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