Skip to main content
Glama

⚠️ Заказы: сменить статус

orders_apply_transition
Destructive

Apply a transition to an order to change its status (e.g., confirm, ship, cancel). Provide the order ID and transition name.

Instructions

⚠️ ИЗМЕНЯЕТ СТАТУС заказа через transition (например "confirm", "ship", "cancel"). Состав transitions зависит от текущего статуса — см. swagger Управление заказами.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderIdYesID заказа.
transitionYesНазвание перехода (confirm, ship, cancel, ...) — зависит от статуса.
paramsNoДополнительные параметры для transition (зависят от типа).
dryRunNov0.7.0: если true — возвращает preview HTTP-запроса без вызова Avito API. Безопасно для просмотра, что именно будет сделано. Default: значение AVITO_MCP_DRY_RUN_DEFAULT (обычно false).
idempotencyKeyNov0.7.0: опциональный ключ для защиты от дублей. Повторный вызов с тем же ключом в течение AVITO_MCP_IDEMPOTENCY_TTL_SEC возвращает закешированный результат. Тот же ключ с другими args вернёт ошибку conflict — это безопасно по дизайну.
Behavior4/5

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

Annotations mark it as destructive and not idempotent. The description adds that it modifies the order status, transitions depend on current status, and mentions the dryRun parameter for safe preview. However, it does not detail all side effects (e.g., notifications).

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 description is very short—one sentence plus a warning emoji—making it direct but terse. It avoids fluff but relies on external references. Could be clearer with minimal expansion.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description does not explain return values (except dryRun preview). It lacks details on response format, error handling, or post-conditions. For a destructive tool with 5 parameters, this is incomplete.

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 coverage is 100%, so the description adds limited value. It notes transitions depend on status but does not explain parameters beyond schema. The dryRun and idempotencyKey are well-documented in schema, making description redundant.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool changes the order status via a transition, with examples like 'confirm', 'ship', 'cancel'. It differentiates from sibling order tools by focusing on status transitions, though it relies on an external swagger file for the full list.

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 description implies usage for changing order status but does not explicitly state when to use this tool versus alternatives (e.g., specific transition tools like orders_accept_return_order). No guidance on prerequisites or when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elchin92/avito-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server