Skip to main content
Glama

Trip check

check_trip_delay_risk
Read-onlyIdempotent

Trip check: one call rates the delay risk (low, moderate, high) for a flight between two airports on a date, with plain-language reasons. Combines live FAA delays and ground stops, current airport weather and airport forecasts for both ends, the destination's State Department travel advisory, and the currency exchange rate for international trips. Any airport worldwide by IATA code, e.g. SFO to LHR. Not for flight planning.

Input Schema

NameRequiredDescriptionDefault
toYesDestination airport
dateNoYYYY-MM-DD
fromYesOrigin airport (IATA like SFO or ICAO like KSFO)

Output Schema

NameRequiredDescriptionDefault
dataYesThe result. Its fields are documented at https://www.x402pulse.dev/developers for each endpoint.
cachedNotrue if the result came from x402Pulse's cache, false if it was just computed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the data sources it fans out to, the three-level rating scale, and plain-language reason output. It still omits freshness/latency and whether results are cached, which matters for a live-data aggregator.

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?

Front-loaded with purpose, then composition, then output format, then scope. The source enumeration is long but each clause carries routing value. Slightly dense for a definition that could trade one clause for a note on the optional date.

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?

An output schema exists, so return values need not be described, and annotations cover safety. The description covers scope, sources, and rating output well. Remaining gaps are minor: what happens when the optional `date` is omitted and how stale the underlying live feeds may be.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description goes further by clarifying the destination's accepted form ('any airport worldwide by IATA code, e.g. SFO to LHR'), where the schema only says 'Destination airport' — though it slightly undersells `from`, which the schema allows as IATA or ICAO. It does not address whether `date` is optional.

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 with the exact output shape: 'rates the delay risk (low, moderate, high) for a flight between two airports on a date, with plain-language reasons.' An agent can immediately distinguish this composite risk-rater from siblings like get_airport_status, get_airport_forecast, and get_travel_advisory, whose data it consumes.

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?

'Combines live FAA delays and ground stops, ... weather and airport forecasts ... travel advisory, and the currency exchange rate' tells the agent this single call subsumes five sibling tools, which is strong routing context. 'Not for flight planning' adds an explicit exclusion, but no alternative tool is named for the flight-planning case.

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