Skip to main content
Glama
maxiomus

MCP Shopify Admin Server

by maxiomus

Execute Order Cancellation

order_cancel_execute
Destructive

Cancel a Shopify order after previewing it. In production, set confirm_production to true to execute.

Instructions

Execute a previewed order cancellation. This actually cancels the order. Production stores require confirm_production: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operation_idYesOperation ID from order_cancel_plan
response_formatNoResponse formatjson
confirm_productionNoRequired for production stores
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description reinforces this with 'actually cancels the order.' It adds the production store requirement for confirm_production, which is not in annotations. No contradiction. The description provides useful behavioral context beyond the structured fields.

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?

Two sentences, front-loaded with the primary purpose and a key caveat. Every sentence adds value: the first states the action, the second emphasizes the destructive nature and the production requirement. No fluff.

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 covers the core action, the prerequisite (previewed), and an important setting. Given the annotations plus full schema coverage and the straightforward plan-preview-execute pattern, this is sufficient. It doesn't detail response behavior, but no output schema exists and the context is simple enough that this is not a major gap.

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 description coverage is 100% and all parameters have adequate descriptions, including operation_id referencing 'order_cancel_plan' and confirm_production's purpose. The description does not add further parameter details, but the schema carries the load, so a baseline of 3 is appropriate.

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 action: 'Execute a previewed order cancellation.' The verb 'Execute' and resource 'order cancellation' are specific, and 'This actually cancels the order' distinguishes it from preview/plan steps, aligning with the sibling tool names.

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?

The description indicates this tool is for executing a previously previewed cancellation, implying it follows order_cancel_plan and order_cancel_preview. It adds the critical condition 'Production stores require confirm_production: true,' but does not explicitly name alternatives or exclusions. The context is clear enough for typical usage.

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/maxiomus/mcp-shopify-admin'

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