Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

shopifyql-query

Run raw ShopifyQL queries to build custom analytics reports not covered by standard tools, returning tabular rows and columns for direct use.

Instructions

Execute a raw ShopifyQL query for custom analytics. Returns tabular data with columns and rows. Use this for custom reports not covered by other analytics tools.

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": "shopifyql-query"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesShopifyQL query string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 discloses the return shape (columns and rows) but not whether execution is read-only, what permissions are required, rate or row limits, query language expectations, or error behavior for a raw query execution surface.

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?

Three short sentences, front-loaded with the action and followed by return behavior and usage context. 'Columns and rows' is mildly redundant, but it usefully sets expectations in the absence of an output schema.

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

Completeness2/5

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

For a raw query executor with no annotations and no output schema, the description is thin: it does not explain ShopifyQL syntax, query constraints, permissions, or limits. An agent knows what to pass at a high level but lacks the operational detail needed to invoke this correctly and safely.

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?

There is a single parameter with 100% schema description coverage, establishing the baseline of 3. The description adds that the query is a 'raw ShopifyQL query' but gives no syntax or formatting detail beyond that, so it does not meaningfully exceed the schema.

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: executes a raw ShopifyQL query for custom analytics, and notes the tabular return shape. It distinguishes itself from generic 'other analytics tools' but does not name a concrete sibling, so the differentiation is clear in concept yet not fully anchored.

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?

Provides implied guidance with 'use this for custom reports not covered by other analytics tools,' which signals when to reach for it. However, no alternatives are named and no exclusions or prerequisites are stated, leaving the agent to infer what 'other analytics tools' means.

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