Skip to main content
Glama
maxiomus

MCP Shopify Admin Server

by maxiomus

Cancel Pending Operation

operation_cancel
Idempotent

Cancel a pending operation that has not yet run to discard a planned change before it takes effect.

Instructions

Cancel a pending operation that has not yet been executed. This is useful if you want to discard a planned operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operation_idYesThe operation ID to cancel
response_formatNoResponse formatjson
Behavior4/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false; the description adds that only pending/unexecuted operations are affected and frames the action as discarding a plan. It doesn't detail error behavior or exact side effects, but the combination covers the essential safety profile.

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 short sentences; the action and scope are front-loaded and no word is wasted.

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?

For a simple cancellation tool with one required parameter and strong annotations, the description explains what it does and when to use it. It doesn't specify the return value or how to obtain operation_id, but the presence of operation_list and the tool's low complexity keep it usable.

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?

The input schema covers both parameters with descriptions (100% coverage), and the tool's description doesn't duplicate parameter details. Baseline 3 applies.

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 uses the specific verb 'cancel' and names the resource 'pending operation' with the qualifier 'not yet been executed.' This clearly distinguishes it from read-only siblings like operation_list/operation_status and from plan/execute tools.

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 a clear use case: 'This is useful if you want to discard a planned operation.' It doesn't explicitly state when not to use or mention alternatives, but the context is sufficient for an agent to know when to call it.

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