Skip to main content
Glama
Shopify Analytics MCP Server

Shopify Analytics MCP Server

by DrMatrixx

get_order_details

Retrieve full details for a specific Shopify order—line items, shipping, billing, transactions, fulfillments, and refunds—by providing an order number or Shopify GID.

Instructions

Get full details for a specific order — line items, shipping, billing, transactions, fulfillments, refunds.

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": {
      "order_number": "<order_number>"
    },
    "name": "get_order_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_numberYesOrder number (e.g. '1042') or full Shopify GID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it implies a read-only retrieval via 'Get' and usefully discloses the breadth of returned sub-resources, which no output schema provides. It does not state error behavior for invalid/missing order numbers, permission requirements, or whether the response is paginated or truncated for large orders.

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?

One sentence, front-loaded with the action and target, followed by a compact enumeration of what is returned. No filler; the only slight weakness is that the field list is a bare noun series without clarifying formatting or depth.

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 single-parameter read tool with no annotations and no output schema, the description covers the essential need: what comes back. It is nearly complete and would only improve with a note on behavior for unknown order numbers or unusually large orders.

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?

Only one parameter exists and the schema documents it at 100% coverage, including the accepted '1042' or full GID formats. The description adds no format or validation detail beyond 'specific order', so the baseline 3 applies with the schema doing the work.

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 (Get) and resource (full details for a specific order) and enumerates the payload categories (line items, shipping, billing, transactions, fulfillments, refunds). This clearly separates it from list-style siblings such as search_orders or get_recent_orders, though it never names those alternatives explicitly.

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 phrase 'for a specific order' implies this is the single-record lookup rather than a listing or aggregate tool, which is usable guidance. However, there is no explicit statement of when to prefer it over search_orders or get_order_trends, and no prerequisites or exclusions are given.

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