Skip to main content
Glama

agoda_flights_itinerary_amenities

Read-only

Agoda flight segment amenities: aircraft type, seat layout, meals, entertainment, and wifi for one or more flight segments from a prior 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": "agoda_flights_itinerary_amenities"
  }
}

Input Schema

NameRequiredDescriptionDefault
segmentsNoOne or more flight segments to fetch amenities for.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-dependency behavior is known. The description's one contribution is the prerequisite that segments must originate from a prior flight search, which is genuinely useful context, but it says nothing about failure modes for stale or invalid segments, or about caching/freshness.

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?

A single front-loaded sentence that lists the returned amenity categories first and the input provenance second. It contains no filler; it is terse to the point of omitting a verb, but nothing is wasted.

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?

The tool is simple: one fully documented array parameter, existing annotations, and an output schema that carries the return-value contract. The description covers what the tool yields and where its input comes from, which is enough for correct invocation, with only error/edge-case behavior left unstated.

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?

With 100% schema description coverage, the schema already defines each segment field, including the important note that cabin_class maps to a search response's cabin_code. The description only restates that the input is one or more segments from a prior search, adding nothing beyond the structured fields.

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?

Names a specific resource (flight segment amenities) and enumerates what it returns: aircraft type, seat layout, meals, entertainment, wifi. That is far more specific than the tool name alone, though it is phrased as a noun label rather than a verb and does not directly contrast itself with agoda_flights_search or the other 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 Guidelines3/5

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

The phrase 'for one or more flight segments from a prior flight search' implies the call sequence: run a search first, then pass its segments here. However there is no explicit when-to-use/when-not-to-use statement and no named alternative, so the guidance is implied rather than stated.

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.