Skip to main content
Glama
den-indance

Shopify MCP Pro

createRefund

Create a refund for a Shopify order, specifying line items, quantities, restock type, shipping amount, and refund duties. Optionally add a note and notify the customer.

Instructions

Create a refund for an order

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderIdYesThe order ID to refund
lineItemsNo
shippingNo
refundDutiesNo
noteNo
notifyNo
Behavior2/5

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

No annotations are provided, and the description does not disclose side effects (e.g., financial impact), idempotency, or rate limits. For a refund operation, this is a significant gap.

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?

The description is a single short sentence, which is concise but at the expense of necessary detail. It states the purpose efficiently but fails to provide any additional context.

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

Completeness1/5

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

Given the complexity of the tool (6 parameters, nested objects, no output schema) and low parameter coverage, the description is woefully incomplete. Missing usage guidance, behavioral traits, and parameter semantics.

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

Parameters2/5

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

Schema description coverage is only 17%, and the tool description adds no additional parameter information. Parameters like lineItems, shipping, and refundDuties are not explained, leaving the agent unsure of expected usage.

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?

The description 'Create a refund for an order' clearly states the verb and resource. It is specific enough to differentiate from tools like createProduct, but does not explicitly distinguish from createFulfillment or other order-related creations, so not a 5.

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 guidance is provided on when to use this tool versus alternatives like createFulfillment or creating other resources. There are no exclusions or context about prerequisites.

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/den-indance/shopify-mcp-pro'

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