Skip to main content
Glama
Yandex Lavka Uzbekistan MCP
by d3d0n

cancel_order

Cancels a specified order once, only after explicit user confirmation; refund status may be unknown.

Instructions

Cancel the exact order once only after explicit user confirmation. Refund status is unknown.

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": {
      "order_id": "<order_id>",
      "explicit_confirmation": "<explicit_confirmation>"
    },
    "name": "cancel_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes
explicit_confirmationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the confirmation requirement, an implied one-shot semantics ('once only'), and an important caveat that refund status is not determinable — but never states irreversibility, required auth, or what happens to the order afterwards.

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?

Two short, front-loaded sentences with no filler. Slight terseness ('once only', 'the exact order') leaves meaning to inference but nothing is wasted.

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

Completeness3/5

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

For a destructive, annotation-free, output-schema-free mutation, the description covers the safety gate and refund uncertainty but omits irreversibility, auth requirements, and how to obtain a valid order_id — meaningful gaps for a high-stakes tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate for both parameters. 'Explicit user confirmation' loosely maps to the explicit_confirmation boolean, but order_id is given no format, source, or validity guidance, leaving half the contract undocumented.

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?

States a specific verb+resource ('Cancel the ... order') and adds scope with 'the exact order'. It is unambiguous against siblings such as order_preview and active_orders, which are read-only, though it doesn't explicitly name an alternative path.

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?

Gives a gating precondition ('only after explicit user confirmation') that implies when it is safe to call, but offers no guidance on when to prefer alternatives like order_preview or active_orders first, nor any exclusions.

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