Skip to main content
Glama
Shopify Analytics MCP Server

Shopify Analytics MCP Server

by DrMatrixx

search_orders

Locate specific Shopify orders by status, customer email, tag, or creation date using query syntax, with result limits and sorting for targeted analysis.

Instructions

Search orders using Shopify query syntax. Examples: 'financial_status:refunded', 'email:jane@example.com', 'tag:rush', 'created_at:>2026-03-01'.

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": {
      "query": "<query>"
    },
    "name": "search_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default: 20, max: 50)
queryYesShopify query string (e.g. 'financial_status:refunded', 'email:jane@example.com')
sort_byNoSort field (default: created_at)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/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, and it discloses little: nothing about read-only safety, permissions, pagination, or what a result record contains. The only behavioral hint is the query-syntax examples; the result cap and default sort live solely in the schema.

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?

Two tight sentences, front-loaded with the core mechanism and followed only by useful examples. No filler and no restating of the tool name.

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?

With no annotations and no output schema, an agent still lacks return-shape, ordering, and safety information, though the query syntax examples cover the input side well. Adequate for a query tool but not complete.

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 100%, so all three parameters are already documented, establishing a baseline of 3. The description's example queries add practical syntax intuition beyond the schema's brief examples, but it says nothing about limit or sort_by semantics.

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 resource ('Search orders') plus the mechanism ('Shopify query syntax'), which lets an agent distinguish it from aggregate/report siblings like get_sales_summary. It stops short of naming when to prefer get_recent_orders or run_shopifyql, so sibling differentiation is only implicit.

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?

Usage is implied: arbitrary filter-based order retrieval via query syntax, with four concrete example queries that show intended inputs. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool for unfiltered/recency listings or analytical aggregations.

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