Skip to main content
Glama
Flight Search MCP
by sickn33

export_itinerary_calendar

Read-only

Exports flight itinerary segments as an ICS calendar file for import into calendar apps, preserving departure and arrival times with UTC offsets.

Instructions

Return an ICS calendar file as text. Prefer timestamps with explicit UTC offsets.

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": {
      "segments": "<segments>"
    },
    "name": "export_itinerary_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
segmentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

B3.1/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe non-mutating read, and the description usefully adds the return medium (ICS text rather than a file handle or URL). Beyond that, it discloses nothing about limits such as the 36-segment cap, how missing timezones are handled, or whether the output is stable across calls.

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?

Two short sentences with the output contract front-loaded and the parameter hint second, so the agent gets the primary fact immediately. No filler, though the extreme brevity is arguably under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This tool takes a nested array of up to 36 segment objects with five required fields each, none described in schema or description. With no output schema, the description only vaguely indicates the return is ICS text and omits structure, validation behavior, and error conditions, leaving an agent with real gaps for a moderately complex call.

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 coverage is 0%, so the description must carry the load, and it does so only partially: it clarifies that departure/arrival timestamps should include explicit UTC offsets, which adds meaning beyond the regex pattern. It says nothing about the segments array itself, the IATA-code conventions for origin/destination, flightNumber formatting, or the 1-36 segment bounds that the agent must honor.

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?

The definition names a specific verb and artifact: 'Return an ICS calendar file as text,' which clearly identifies an export/serialization operation. It is distinct enough from data-fetching siblings, but it never names the obvious inverse sibling import_calendar_conflicts, so the agent must infer the direction split on its own.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives, no prerequisite information (must the itinerary exist first? is segments the full trip or a leg?), and no exclusions. The only guidance-like sentence, 'Prefer timestamps with explicit UTC offsets,' is a formatting preference for inputs, not a usage rule.

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