Skip to main content
Glama

Детали заказа

order_details
Read-onlyIdempotent

Fetch seats, hall, booking code, and cart contents for a cinema or concert order by ID. Use this to inspect entertainment bookings; grocery orders require grocery_order_status.

Instructions

Детали одного заказа (места, зал, код брони, состав корзины). Работает для развлекательных заказов (кино/концерты); для продуктов — grocery_order_status, для поездок деталей в этом 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": "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

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds a real behavioral constraint beyond them: the tool is only valid for entertainment orders, and travel has no detail counterpart. It stops short of saying what happens if a non-entertainment order_id is passed (error vs empty).

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: the first defines the payload, the second routes between domains. No filler, and the core purpose is front-loaded before the alternatives.

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?

Output schema exists, so listing return fields is a bonus rather than a necessity, and the tool is a single-parameter lookup. What is missing is the order_id contract and the failure mode when the order is not an entertainment order, which the domain restriction implies but never resolves.

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

Parameters2/5

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

Schema description coverage is 0% and the description says nothing about order_id — no format, no source of the ID, no example. The only parameter is arguably self-evident from its name, but the description does not compensate for the missing schema documentation as the low coverage requires.

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?

States a specific verb+resource ('Детали одного заказа') and enumerates what the response contains (seats, hall, booking code, cart). It also draws the boundary against grocery_order_status and against the travel domain, so the agent can tell it apart from siblings without opening a schema.

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

Usage Guidelines5/5

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

Explicit when-to-use: entertainment orders (cinema/concerts). Explicit alternatives: grocery_order_status for grocery, orders() for travel since this API has no travel detail endpoint. Both a routing rule and an exclusion are stated.

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