Skip to main content
Glama
A1 Yandex KIT MCP

A1 Yandex KIT MCP

Get delivery label formats

get_delivery_label_formats
Read-only

Retrieves the label sizes each delivery service can print and how it handles formats—explicit choices, provider default, or unsupported—so you can choose valid label_format values.

Instructions

List the label sizes the given delivery services can print — the values accepted by get_order_delivery_labels' label_format. Per service, mode says how it treats sizes: EXPLICIT_FORMATS (pick one of formats), PROVIDER_DEFAULT (size ignored, the service prints its own) or NOT_SUPPORTED (no labels at all, formats empty). preselected is only the size preselected in the KIT UI — it does NOT apply when label_format is omitted. Services come back in the platform's own display order, so look one up by delivery_service, not by position.

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": {
      "delivery_service": "<delivery_service>"
    },
    "name": "get_delivery_label_formats"
  }
}

Input Schema

NameRequiredDescriptionDefault
delivery_serviceYesDelivery services to report sizes for; duplicates are ignored by the API. A chunk's service is in get_order under delivery_chunks[].delivery_info.delivery_service_type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • changedInput schema / properties / delivery_service / items / enum
      Previous value: -[
      -  "YANDEX_DELIVERY",
      -  "CDEK",
      -  "META_SHIP_DALLI",
      -  "META_SHIP_RUSSIAN_POST",
      -  "META_SHIP_PECOM",
      -  "OZON",
      -  "MERCHANT_SHIP",
      -  "YANDEX_MARKET_FBO"
      -]New value: +[
      +  "YANDEX_DELIVERY",
      +  "CDEK",
      +  "META_SHIP_DALLI",
      +  "META_SHIP_RUSSIAN_POST",
      +  "META_SHIP_PECOM",
      +  "OZON",
      +  "MERCHANT_SHIP",
      +  "YANDEX_MARKET_FBO",
      +  "UNIVERSAL_DELIVERY_CSE"
      +]
  2. Addedv1.7.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered structurally. The description does add real behavioral value by enumerating the three `mode` values with their semantics, explaining that `formats` is empty when NOT_SUPPORTED, and clarifying that `preselected` is UI-only — information not derivable from annotations. A 3 reflects that this is solid supplemental context, though the primary safety profile was already carried by the annotation.

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?

Front-loaded with the core action, then the return-value legend, then the ordering caveat — a logical progression where each sentence carries distinct information. Slightly dense with backtick-heavy notation, but nothing is redundant.

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?

There is no output schema, so the description must carry the return contract, and it does: it defines `mode` values, `formats`, `preselected` semantics, and that results are unordered by importance and must be looked up by service. An agent can parse the response correctly from this alone.

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% and the single `delivery_service` parameter already documents the accepted enum values and where to find a chunk's service in get_order. The description explains result semantics rather than the input, so it adds little beyond the schema for the parameter itself; 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?

Specific verb and resource ("List the label sizes the given delivery services can print") plus an explicit tie to the consuming parameter (get_order_delivery_labels' label_format), which distinguishes it cleanly from every sibling including get_order_delivery_labels itself.

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?

Usage context is clear: this is the lookup that feeds label_format on get_order_delivery_labels. It also warns not to use `preselected` when label_format is omitted, which is effectively a when-not-to guidance. It stops short of stating an explicit ordering rule (call this before requesting labels) or naming cases where this tool is unnecessary.

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