Skip to main content
Glama
A1 Yandex KIT MCP

A1 Yandex KIT MCP

Bulk update product card slugs

bulk_update_card_slugs

Change storefront URL slugs for up to 100 product cards in one atomic request; if any card or slug is invalid, the entire batch is rejected and nothing is applied.

Instructions

Change the URL identifier (slug) of up to 100 product cards in one synchronous, atomic request — the only way to change a card's storefront URL (update_variant has no slug field). Address cards by product_card_id, read from Variant.product_card_id (get_variant/list_variants) — NOT a product id. No field returns the card slug: Variant.slug is the variant's own slug and does not change; verify the write by re-reading relative_link_url, which carries the new slug immediately. If a single item is invalid (card not found, card listed twice, slug malformed, repeated in the batch or already taken by another card) the whole request is rejected with 400 and NOTHING is applied; the response errors list names every offending card (product_card_id + code: PRODUCT_CARD_NOT_FOUND, DUPLICATE_ITEM, INVALID_SLUG, DUPLICATE_SLUG, SLUG_ALREADY_TAKEN). Old links keep working after the change. Do not assemble the new URL from the slug: read the storefront link from relative_link_url (list_variant_links), which follows the store's URL rules. Success returns {"ok":true}.

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": {
      "items": "<items>"
    },
    "name": "bulk_update_card_slugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesSlug updates, 1-100 items, one entry per product card.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.14.0

TDQS

A4.8/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 behavioral burden and does so: it discloses synchronous atomicity, all-or-nothing rollback on a 400, the exact error codes returned per offending card, the fact that old links keep working, and the success payload {"ok":true}.

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?

The critical information — scope, atomicity, id source — is front-loaded and no sentence is padding, though the single dense paragraph with dash-separated asides is harder to scan than a short bulleted layout would be.

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 batch mutation with no output schema, the description covers everything an agent needs: valid id source, atomicity semantics, error taxonomy, verification path via relative_link_url, and the success response shape.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema by warning that product_card_id is a card UUID rather than a product id and that entries must not repeat within a batch, and by clarifying that Variant.slug is not the card slug.

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 and resource ('Change the URL identifier (slug) of up to 100 product cards') and immediately distinguishes itself from update_variant by noting that tool has no slug field, so an agent can route without opening either 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?

It states explicitly when to use this tool versus update_variant, tells the agent where to source product_card_id (Variant.product_card_id via get_variant/list_variants), and points to list_variant_links for reading the storefront URL — concrete routing rather than implied usage.

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