Skip to main content
Glama

Recommend Airport Arrival Time

recommend_airport_arrival_time
Read-only

Calculates when to arrive at the airport from departure time, baggage and transit buffers, and live congestion; falls back to general guidance when congestion data is unavailable.

Instructions

Recommend when to arrive at the airport based on flight time, optional baggage/transit buffer, and (if available) live congestion. Works even without API keys (falls back to generic guidance).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "airportCode": "<airportCode>",
      "departureTime": "<departureTime>"
    },
    "name": "recommend_airport_arrival_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateIdNoGate ID for Incheon airport (e.g., DG1_E). Only applicable to ICN.
baggageNoIf true, adds buffer time for baggage drop (default: false).
terminalNoTerminal ID for Incheon airport (e.g., P01). Only applicable to ICN.
flightTypeNoFlight type (default: ICN=international, others=domestic).
airportCodeYesOrigin airport IATA code (Korea).
extraMinutesNoExtra buffer minutes to add on top of the recommendation (default: 0).
departureTimeYesFlight departure datetime. Use ISO 8601 (e.g., '2025-12-20T09:00:00+09:00'), 'yyyy-MM-dd HH:mm[:ss]' (assumes Asia/Seoul), or 'now'.
transitMinutesNoOptional travel time to the airport; returns a recommended leave time.

Output Schema

NameRequiredDescriptionDefault
dataNo
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, so safety is covered. The description adds real behavioral context beyond that: congestion data is used only 'if available' and the tool degrades to generic guidance without API keys, which sets expectations about output quality and reliability. It stops short of describing accuracy or how congestion affects the recommended time.

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 sentences, zero padding. The core purpose is front-loaded and the fallback caveat follows as a secondary clause, which is exactly the right ordering.

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 an output schema present, return values need no explanation, and the 8-param schema is fully described. The description covers the key behavioral caveat (degraded mode without live data), leaving only minor gaps such as how the recommendation is derived or how precise the returned arrival time is.

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%, so every one of the 8 parameters is already documented with types, defaults, and enums. The description reinforces that baggage and transit buffers are optional and that congestion is conditional, but adds no format or interaction detail beyond the schema; 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 ('recommend when to arrive at the airport') plus the inputs that drive the recommendation (flight time, baggage/transit buffer, live congestion). An agent can tell this is a planning/recommendation tool rather than a raw data lookup like get_airport_congestion, though no sibling is named explicitly.

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?

Usage is implied by the function itself: call it when you need an arrival-time recommendation. The fallback note ('works even without API keys') tells the agent it can always call it, but there is no explicit when-not guidance or pointer to the sibling that supplies raw congestion data if that is what the agent actually needs.

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