Skip to main content
Glama

Тариф, багаж и правила перелёта

flight_offer
Read-onlyIdempotent

Get flight fare details by offer ID to compare baggage and refund rules, sorted by price, and choose a numbered fare for booking with refreshed pricing.

Instructions

Тарифы, багаж и правила возврата по выбранному рейсу. offer_id — из flight_search().

Один рейс из выдачи разворачивается в несколько тарифов: та же дата и тот же борт, но разный багаж и разные правила возврата. Тул показывает их по возрастанию цены и нумерует — этот номер (fare=1, 2, …) уходит в flight_book(). fare=N — показать багаж и правила только по одному тарифу.

Цена читается заново: та, что была в поиске, могла устареть.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fareNo
offer_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds valuable behavioral context: the price is re-read and may be outdated, and the tool sorts fares by ascending price with this order numbering. These are useful traits for an agent to know to avoid stale assumptions and to correctly compose the number into the next booking step.

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?

The description is organized in a logical, front-loaded order: what the tool does, how the fare number relates to the booking flow, and a critical caveat about fresh pricing. Every sentence adds decision-relevant information; no filler, and the length is proportional to the tool's complexity.

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

Completeness5/5

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

The description is extremely complete for a tool of this simplicity: it covers the source of the required parameter (offer_id), the meaning and destination of the optional fare, the ordering and numbering, and the price nicety. With an output schema available no return-details repetition is needed, and the annotations layer already covers safety. The agent has everything needed to select and invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden—it succeeds. It explains offer_id as coming from flight_search() and fare as the numbered list index (fare=1, 2, …) that is used for flight_book(), with fare=N filtering to a single tariff. Both parameters are given meaningful context beyond the bare type definitions, leaving no meaning unexplained.

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?

The description uses a precise verb ('показать') and the resource ('Тарифы, багаж и правила возврата по выбранному рейсу'), and further clarifies the exact scope. It explains how a single search result expands into multiple fares and how the tool numbers them, clearly distinguishing it from the sibling flight_search, flight_book, and flight_seats. This is a specific verb+resource verb+resource with a clear role in the flight booking flow.

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?

The description clearly places the tool in the pipeline: offer_id comes from flight_search(), and the fare number generated here is passed to flight_book(). It also names the parameters that drive usage, like fare=N to show one tariff. However, it stops short of explicit 'do not use when…' exclusions or an explicit alternative comparison, though the context makes its role unambiguous.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icyberdeveloper/tbank-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server