Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

cancel_fulfillment

Cancels a specified Shopify fulfillment by ID, helping stop an order's fulfillment when it should not proceed.

Instructions

Cancel a fulfillment

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": {
      "fulfillmentId": "<fulfillmentId>"
    },
    "name": "cancel_fulfillment"
  }
}

Input Schema

NameRequiredDescriptionDefault
fulfillmentIdYesFulfillment ID to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the word "Cancel" implying a mutation. It does not state irreversibility, required permissions, fulfillment state preconditions, or side effects such as inventory restocking or refund implications.

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?

A single short sentence with no wasted words, but the brevity reflects under-specification rather than disciplined conciseness. There is no structure to front-load because there is no substantive content.

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

Completeness2/5

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

For a destructive mutation with no annotations and no output schema, the description should explain consequences and preconditions. The single schema parameter is covered, but everything an agent needs to call this safely is missing.

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?

There is a single parameter with 100% schema description coverage ("Fulfillment ID to cancel"), so the schema already fully documents it. The description adds no format, source, or lookup guidance, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Cancel a fulfillment" restates the tool name cancel_fulfillment almost verbatim, giving a verb+resource but no additional specificity. It does not distinguish this from cancel_order or explain what a fulfillment is in this domain.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, no exclusions. The sibling cancel_order exists and the description offers nothing to help an agent decide between cancelling an order versus a fulfillment.

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