Skip to main content
Glama
A1 Yandex KIT MCP

A1 Yandex KIT MCP

Get order

get_order
Read-only

Fetch a single order by ID with line items, delivery details, payment amount and status; use customer_id to link the buyer and delivery_chunks for address data.

Instructions

Get a single order by its ID, including line items (items[].name is the product name at order time), delivery chunks, payment and status. customer_id links the order to its buyer — read the card with get_customer. payment_info.amount is the full amount paid for the order (discounts and delivery included, item addons excluded; refunds do not reduce it). Read the delivery address from delivery_chunks[].delivery_info.address.locality/.address: they always match the chosen delivery method; of the courier_*, pickup_point_* and self_pick_up_* groups only the one matching method is returned.

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": {
      "id": "<id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOrder ID (UUID).
redactNoUse redact:true when the task does not need personal data (e.g. counting or aggregating orders) — personal fields (name, phone, email, date of birth, delivery address and its parts, notes) are replaced with "[redacted]". Applies to the response only; request bodies are never redacted. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.0
    • changedInput schema / properties / redact / description
      Previous value: -"Use redact:true when the task does not need personal data (e.g. counting or aggregating orders) — personal fields (name, phone, email, delivery address and its parts, notes) are replaced with \"[redacted]\". Applies to the response only; request bodies are never redacted. Default false."New value: +"Use redact:true when the task does not need personal data (e.g. counting or aggregating orders) — personal fields (name, phone, email, date of birth, delivery address and its parts, notes) are replaced with \"[redacted]\". Applies to the response only; request bodies are never redacted. Default false."
  2. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / redact
      Added value: +{
      +  "description": "Use redact:true when the task does not need personal data (e.g. counting or aggregating orders) — personal fields (name, phone, email, delivery address and its parts, notes) are replaced with \"[redacted]\". Applies to the response only; request bodies are never redacted. Default false.",
      +  "type": "boolean"
      +}
  3. First observedv1.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description is free to spend its words on substantive behavior: the semantics of payment_info.amount (discounts and delivery included, addons excluded, refunds do not reduce it) and the fact that only the courier_*/pickup_point_*/self_pick_up_* group matching `method` is returned. That is real, non-obvious disclosure, though error and rate-limit behavior are unaddressed.

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 sentences, front-loaded with purpose and then the field-level caveats an agent would otherwise get wrong. The field-path notation (items[].name, delivery_chunks[].delivery_info.address.locality) is dense but purposeful; no filler.

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?

There is no output schema, so the description carries the burden of explaining return shape and does so for the key fields and their quirks (address source, amount composition, conditional delivery groups). What remains thin is failure behavior, but for a read-only single-resource fetch this is close to complete.

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 description coverage is 100%, so both `id` and `redact` are already fully documented in the schema, including the redaction behavior. The description only echoes 'by its ID' and adds no parameter meaning beyond the schema, so the baseline 3 applies.

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 concrete verb and resource ('Get a single order by its ID') and enumerates what the response contains (line items, delivery chunks, payment, status), which distinguishes it from list-style siblings such as get_customer_orders and from get_order_addons.

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 need for a single order fetched by ID is implied rather than contrasted with alternatives, and no when-not guidance is given. The one genuine routing hint is 'read the card with get_customer', which points to a sibling for adjacent data but not to an alternative for the same task.

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

Deploy Server

Other Tools