Skip to main content
Glama
AIWerk

shopify

by AIWerk

shopify_complete_draft_order

Complete a draft order to convert it into a real order, with an option to mark it as payment pending. Requires confirmation for destructive action.

Instructions

Complete a draft order, converting it into a real order (draftOrderComplete). Destructive: requires confirm=true. paymentPending=true marks the resulting order as payment pending instead of paid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
paymentPendingNo
confirmNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool is destructive and requires confirmation, and explains the effect of paymentPending. However, it doesn't detail side effects like inventory changes or email notifications.

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?

The description is extremely concise, using one sentence and two short statements. All information is relevant and front-loaded.

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 tool with 3 simple parameters and no output schema, the description covers the core action, destructive nature, and parameter effects. It could mention the return value or that id must be a valid draft order, but overall it's quite complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description adds meaning for two of three parameters. It explains that paymentPending=true marks the order as payment pending, and confirm=true is required for destructive action. The id parameter, though obvious, is not described.

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 a specific verb ('Complete') and resource ('draft order'), clearly stating the action of converting it into a real order. It distinguishes from sibling tools like shopify_create_draft_order.

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?

The description lacks explicit when-to-use or when-not-to-use guidance. It mentions a requirement ('requires confirm=true') but does not compare with alternatives or state prerequisites like having a valid draft order ID.

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/AIWerk/mcp-server-shopify'

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