Skip to main content
Glama

Cancel order pack

cancel_order_pack
Destructive

Cancel order pack. Cancel order_pack_id before deposit using request_id; returns completion or a pending_action_id, with refunds governed by first publication. requires the member's own approval. 成员作废。定金前用 order_pack_id 和 request_id 作废订单包;返回完成状态或 pending_action_id,退款按首版是否出版处理。要本人点同意。

Input Schema

NameRequiredDescriptionDefault
request_idYes
order_pack_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=false, but the description adds meaningful behavior: refunds depend on first publication, the call may complete immediately or return a pending_action_id, and member approval is required. It still does not explicitly state irreversibility or what happens if cancellation is attempted after deposit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the English and Chinese versions repeat nearly the same content, and the first sentence merely restates the title. The duplication consumes space without adding semantic value for an agent.

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?

With no output schema, the description still explains return states (completion or pending_action_id) and the refund rule. Annotations cover the destructive profile; the main remaining gap is how to proceed when a pending_action_id is returned.

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 description coverage is 0%, so the description must explain the parameters. It mentions both required fields and ties them to the cancel action, but request_id remains opaque — no format, uniqueness, or idempotency semantics — and order_pack_id gets no format guidance.

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 states a specific verb and resource — cancel an order pack — plus a key timing constraint: before deposit. It does not distinguish this from the sibling decline_order_pack or explain how cancel differs from declining, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context: use before deposit and only with the member's own approval. It does not name alternatives such as decline_order_pack or decide_pending_action for handling a returned pending_action_id.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources