Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

complete-draft-order

Convert a Shopify draft order into a real order, marking payment as pending or immediately paid.

Instructions

Convert a draft order into a real order. Can mark payment as pending or immediately paid.

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": {
      "draftOrderId": "<draftOrderId>"
    },
    "name": "complete-draft-order"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftOrderIdYesDraft order ID
paymentPendingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/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. It does disclose the key side effect that the draft becomes a real order and that payment state can be chosen, but it says nothing about whether the draft is consumed/deleted afterward, whether inventory is committed or reserved, what permissions are required, or whether the action is reversible. For an irreversible mutation with zero annotation coverage, this is a meaningful gap.

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?

Two short sentences, front-loaded with the core action and followed by the one configurable option. Nothing is padded, though the second sentence is a fragment that could have been folded in more precisely.

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?

For a simple two-parameter mutation with no output schema and no annotations, the description covers purpose and the payment choice but omits what the call returns (an order object and its ID would be useful to know), what happens to the original draft, and failure conditions. Borderline sufficient for the tool's low complexity but not self-contained.

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 coverage is 50%: draftOrderId is trivially described and paymentPending has no schema description at all. The sentence 'Can mark payment as pending or immediately paid' does give meaning to the undocumented boolean by mapping its two states to outcomes, which is genuine added value, though the true/false polarity is only implied and the draftOrderId parameter gets no extra explanation.

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?

States a specific verb and a concrete state transition: 'Convert a draft order into a real order.' This clearly separates it from creation tools like create-draft-order, since the resource already exists and is being finalized. No sibling is named, but the verb itself does the discriminating work.

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?

Use is implied by the lifecycle wording ('draft order' → 'real order'), but there is no explicit statement of when to choose this over create-draft-order or update-order, and no prerequisites such as what state a draft must be in to be completed. Adequate but leaves the agent to infer.

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