Skip to main content
Glama

⚠️ Orders: click-and-collect (details)

orders_cnc_set_details

Set pickup address, booking period, and buyer comment for click-and-collect orders. Call when the order has a setCNCDetails action to send these details to the buyer.

Instructions

⚠️ Prepares a click-and-collect order and sends the details to the buyer (cnc_set_details, CNC = click-and-collect). Write operation: the seller sets the pickup address, the booking period, and a comment the buyer will see. Call it when the order has an available setCNCDetails action. After handover, confirmation is done via orders_apply_transition (receive) with the buyer's code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAvito order ID.
dryRunNov0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false).
addressNoAddress where the buyer picks up the item (e.g. "Tverskaya Street 3, Moscow").
detailsNoA comment the buyer will receive (e.g. "I can hand over the item from 13:00 to 18:00").
bookingPeriodYesItem booking period in hours (e.g. 4).
marketplaceIdYesOrder number in the new Avito system (marketplace).
idempotencyKeyNov0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error. Keys are stored as bounded SHA-256 fingerprints.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.3
  2. Removedv1.3.2
  3. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design."New value: +"v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error. Keys are stored as bounded SHA-256 fingerprints."
  4. Changed7 schema fields changedv0.8.0
    • changedInput schema / properties / address / description
      Previous value: -"Адрес пункта самовывоза."New value: +"Address where the buyer picks up the item (e.g. \"Tverskaya Street 3, Moscow\")."
    • changedInput schema / properties / bookingPeriod / description
      Previous value: -"Период бронирования (часов)."New value: +"Item booking period in hours (e.g. 4)."
    • changedInput schema / properties / details / description
      Previous value: -"Доп. детали."New value: +"A comment the buyer will receive (e.g. \"I can hand over the item from 13:00 to 18:00\")."
    • changedInput schema / properties / dryRun / description
      Previous value: -"v0.7.0: если true — возвращает preview HTTP-запроса без вызова Avito API. Безопасно для просмотра, что именно будет сделано. Default: значение AVITO_MCP_DRY_RUN_DEFAULT (обычно false)."New value: +"v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false)."
    • changedInput schema / properties / id / description
      Previous value: -"ID заказа."New value: +"Avito order ID."
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"v0.7.0: опциональный ключ для защиты от дублей. Повторный вызов с тем же ключом в течение AVITO_MCP_IDEMPOTENCY_TTL_SEC возвращает закешированный результат. Тот же ключ с другими args вернёт ошибку conflict — это безопасно по дизайну."New value: +"v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design."
    • changedInput schema / properties / marketplaceId / description
      Previous value: -"ID маркетплейса."New value: +"Order number in the new Avito system (marketplace)."
  5. First observedv0.7.4

TDQS

A4.4/5.0
Behavior4/5

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

The description identifies the tool as a write operation, matching the readOnlyHint=false annotation. It adds behavioral context by noting the prerequisite (available action) and the buyer-facing outcome (sends details). However, it does not describe error conditions or the exact state changes beyond what annotations imply. Given the annotations already provide safety hints, this is sufficient but not exhaustive.

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?

The description is four sentences long, each serving a clear purpose: stating the action, explaining what the seller sets, specifying when to call, and indicating the next step. It is front-loaded with the core purpose and avoids unnecessary words or repetition.

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?

The description provides necessary context for using the tool: prerequisite, action details, and subsequent step. However, it does not describe the return value or what the tool outputs (e.g., success/error), which would be helpful given no output schema. Still, the combination with the schema and annotations makes it largely complete for correct usage.

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?

With 100% schema description coverage, the input schema already documents all 7 parameters. The description highlights three key parameters (address, bookingPeriod, details) but does not add new meaning beyond the schema. The baseline of 3 is appropriate since the description does not reduce clarity but also does not enhance parameter understanding.

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 clearly states the tool prepares a click-and-collect order and sends details to the buyer. It defines the acronym CNC and specifies the seller sets the pickup address, booking period, and comment. It distinguishes from sibling tools by mentioning the prerequisite (available setCNCDetails action) and the subsequent confirmation step via orders_apply_transition.

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?

The description explicitly states when to call the tool: 'Call it when the order has an available setCNCDetails action.' It also provides a clear alternative for the next step: 'After handover, confirmation is done via orders_apply_transition (receive) with the buyer's code.' This gives concrete context and excludes other use cases.

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