Skip to main content
Glama
A1 Yandex KIT MCP

A1 Yandex KIT MCP

Create bundle

create_bundle

Creates a promotional bundle with its empty components, discount, and dates so you can then bind product cards or categories and activate the offer.

Instructions

Create a bundle (набор) together with its components. Required: title, discount (integer percent 1-99) and components — each {component_type: ALL (the whole catalog) | CATEGORIES_AND_COLLECTIONS | PRODUCT_CARDS, display_sequence, optional min_sum (decimal string)}. Optional: description (shown to buyers), type (SINGLE_COMPONENT — several units of one component; MULTI_COMPONENT — two or more components), quantity, discount_mode (SUM_WITH_ANOTHER_DISCOUNT — applied on top of other discounts; DONT_SUM_WITH_ANOTHER_DISCOUNT — applied to the price without them), bundle_dates ({start_date, optional end_date}), status (ACTIVE|INACTIVE), slug, seo_title, seo_description. The spec does not document min_sum and quantity; in the KIT cabinet a bundle's condition is a minimum cart amount of its products or a number of items. Components are created empty: take their IDs from the response and bind product cards or categories/collections with manage_bundle_component_objects. For a safe launch create it INACTIVE, bind, verify with get_bundle, then activate with update_bundle. Not idempotent: after a timeout, HTTP 429, LIMIT_EXCEEDED or another uncertain result, look for the bundle with list_bundles before considering a repeat. Call get_operation_schema("CreateBundle") for the exact request shape.

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": {
      "bundle": "<bundle>"
    },
    "name": "create_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
bundleYesBundle record matching the CreateBundleRequest schema (see get_operation_schema("CreateBundle")). Required: title, discount, components.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.15.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares non-idempotency, names the failure modes (timeout, HTTP 429, LIMIT_EXCEEDED) and the required follow-up, and warns that components are created empty so the bundle is inert until bound. It also discloses undocumented fields (min_sum, quantity) and their real-world meaning, which is behavior an agent could not infer from the 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?

Required fields, components shape and optional fields are front-loaded, and the amount of detail is justified by a complex nested creation payload. The weakness is formatting: it is one dense paragraph, and the critical lifecycle and idempotency warnings are buried near the end after the field inventory.

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?

For a single-parameter nested-object mutation with no annotations and no output schema, the description covers field semantics, creation order, activation workflow, retry safety and the escape hatch for schema ambiguity. It even tells the agent where IDs come from ('take their IDs from the response'), covering the return-value gap left by the missing output schema.

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?

The input schema is a single opaque object with additionalProperties, so the description is the only source of field semantics — and it enumerates required and optional fields with value ranges (discount as integer percent 1-99) and full enum meanings for component_type, type and discount_mode. It even flags which fields the upstream spec omits, so the agent knows to resolve ambiguity via get_operation_schema.

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 opens with a specific verb+resource ('Create a bundle (набор) together with its components') and immediately distinguishes the creation step from the sibling lifecycle tools (get_bundle, update_bundle, manage_bundle_component_objects). An agent knows exactly what object this produces and that components start empty.

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?

It prescribes an explicit workflow: create INACTIVE, bind objects with manage_bundle_component_objects, verify with get_bundle, then activate with update_bundle. It also names the recovery path on uncertain outcomes (check list_bundles rather than retrying) and points to get_operation_schema for the exact shape — concrete when/when-not guidance with named alternatives.

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