Skip to main content
Glama

cancel_order

Lists cancellation reasons or cancels an active Blyzenko order after approval when confirm_cancel is true, with an optional reason and comment.

Instructions

List Blyzenko cancel reasons or cancel an active order when confirm_cancel=True after approval.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cancel_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNo
order_idNo
cancel_reasonNo
confirm_cancelNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 and does disclose a meaningful safety gate (confirm_cancel=True) plus an 'active order' restriction. It omits whether cancellation is reversible, what permissions or approval state are required, and what happens when the order is not active — significant gaps for a destructive mutation.

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?

A single compact sentence with the gating flag front-loaded in the operative clause. It earns its length, though the dual-mode framing in one sentence makes the read path feel like an afterthought.

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?

An output schema exists so return values need not be described, and the confirmation gate is covered. But for a dual-mode, mutation-capable tool with four undocumented parameters, the description leaves the agent without enough to invoke it confidently in either mode.

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 description coverage is 0% and the description only explains confirm_cancel (the gating flag) and implicitly ties cancel_reason to the listing mode. order_id and comment are left entirely undefined, so the description does not compensate for the near-total lack of schema documentation.

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 names two concrete operations: listing Blyzenko cancel reasons and cancelling an active order. Both verbs and resources are specific, but bundling a read/list mode into a tool named cancel_order creates ambiguity about the tool's primary identity, and no sibling is referenced for comparison.

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?

It gives one clear switching condition: cancel only when confirm_cancel=True. However, 'after approval' is undefined (approval by whom, in what flow), and there is no guidance on when to list reasons versus when to cancel, or what to do for orders that are not active.

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