Skip to main content
Glama

Search onward flights

search_flights
Read-only

Find one-way flights to use as an onward ticket. Returns up to 10 flights, each with an id to buy and its price in USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDeparture date, YYYY-MM-DD, within 9 months. Defaults to 14 days from now.
originYesIATA code of the airport leaving the country the traveller is entering, e.g. "BKK"
destinationYesIATA code of where the onward flight goes, e.g. "SIN"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context by stating the result shape ('up to 10 flights, each with an id to buy and its price in USD'), which matters because no output schema exists. It omits any rate-limit, auth, or data-freshness notes.

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 tight sentences with zero filler; the core purpose and the result shape are both front-loaded. Every clause earns its place.

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?

With no output schema, the description ably covers the return contract (cap of 10, id, USD price) and the schema carries all three parameters. Annotations cover read-only/open-world. The only real gaps are the absence of an explicit alternative (buy_ticket) and any operational caveats.

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 schema itself documents origin, destination, and the date default/format thoroughly. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Find one-way flights') plus the intended use case ('as an onward ticket'), which is far more informative than a tautology. It implicitly separates from buy_ticket (purchase) and find_airports (lookup), though it never names those siblings to make the routing explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'to use as an onward ticket' implies the scenario in which this tool is appropriate, giving the agent useful context. However, there is no explicit when-not guidance, no prerequisites, and no named alternative for cases where the agent wants to purchase rather than search.

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