Skip to main content
Glama

Детали поездки

travel_order_details
Read-onlyIdempotent

Fetch booking details by order ID, including hotel dates, room, meals, and guests; for flights and trains, get the available order summary and an explanation of missing data.

Instructions

Детали поездки по orderId из orders("путешествия").

Полная карточка есть только для ОТЕЛЕЙ: даты, отель, номер, питание, гости. Для авиа и ж/д API отдаёт только сводку из orders() — почему, тул объяснит.

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": {
      "order_id": "<order_id>"
    },
    "name": "travel_order_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the bar is lower, yet the description adds real substance: full detail (dates, hotel, room, meal plan, guests) is available only for hotels, while air and rail return just the orders() summary. That coverage limitation is exactly the kind of asymmetry an agent needs before calling, and it is not expressible in annotations or schema.

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?

Three short sentences, front-loaded with the purpose and followed immediately by the hotel-versus-transport coverage caveat. The closing 'почему, тул объяснит' is slightly vague filler, but overall there is little waste.

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; the description instead supplies the one thing the schema cannot – that detail depth varies by travel type. The only remaining gap is that it never states what happens with an invalid or non-travel order ID.

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 0% for the single order_id parameter, so the description must carry the meaning – and it does, stating the ID originates from orders() for travel orders. It stops short of format constraints (string shape, whether a non-travel or grocery order ID is rejected).

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 description gives a concrete verb+resource (trip details by orderId) and names the source collection orders("путешествия"), so the agent knows this is a travel-order lookup rather than a generic order lookup. It does not explicitly name the sibling it replaces (e.g. order_details or orders), so differentiation is inferred rather than stated.

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 'orderId from orders("travel")' phrasing – the agent can infer it should first have a travel order ID. There is no explicit when-to-use/when-not statement and no direct routing to or away from sibling tools such as order_details or orders.

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