Skip to main content
Glama

Shopify get store analytics

shopify_get_store_analytics
Read-only

Store sales analytics. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "store_id": "<store_id>"
    },
    "name": "shopify_get_store_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
date_toNo
user_idNo
currencyNo
store_idYes
client_idNo
date_fromNo
user_emailNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds two useful behavioral facts beyond that: client_id defaults to the active brand, and 'extra' is a passthrough for arbitrary app-accepted fields. It does not say what happens when date range is omitted, whether results are paginated, or how user_id/user_email narrow the data.

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?

Two short sentences with no filler, and the brand-selection rule is front-loaded. The phrasing is terse to the point of being cryptic ('extra passes any other field the app accepts'), but nothing is wasted.

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?

With 8 parameters, 0% schema coverage, and an output schema that removes the need to describe returns, the description should explain the date and user/currency filters. It does not, so an agent cannot confidently build a filtered analytics query from this definition.

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 0% across 8 parameters, so the description must carry parameter meaning, but it only explains client_id and extra. The required store_id, plus date_from, date_to, user_id, user_email, and currency, are entirely undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Store sales analytics' names a resource but supplies no verb and no scope boundary, so it reads close to a restatement of the tool name. It does not distinguish this tool from siblings such as shopify_get_store_dashboard, shopify_get_overview, or analytics_get_overview, leaving the agent to guess which analytics endpoint to pick.

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?

There is no statement of when to use this tool rather than a sibling, no prerequisite or scope conditions, and no note on how date_from/date_to or currency affect the query. The only guidance is a defaulting note for client_id, which is parameter behavior, not usage routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.