Skip to main content
Glama
camerone05

shopify-admin-mcp-server

by camerone05

Shopify Weekly Financial Summary

shopify_weekly_summary
Read-onlyIdempotent

Fetch all orders in a date range to calculate weekly revenue, average order value, items per order, and product breakdown sorted by revenue.

Instructions

Aggregate financial summary — fetches ALL orders in the period (auto-paginated), calculates revenue totals, AOV, items per order, and product breakdown sorted by revenue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_toYesEnd date YYYY-MM-DD
date_fromYesStart date YYYY-MM-DD
status_filterNoExtra filter e.g. financial_status:paid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive). The description adds genuinely useful behavior beyond that: it fetches ALL orders in the period and auto-paginates, which warns the agent that this is a heavy, full-scan read rather than a bounded query. It stops short of 5 by not noting rate limits, cost, or result size.

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?

A single front-loaded sentence with the aggregation purpose first and the computed outputs after. No filler, no restatement of the title or parameter list.

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?

No output schema exists, so the description appropriately enumerates the return metrics (revenue totals, AOV, items per order, product breakdown), which is the key missing structured information. It is slightly incomplete in that it never addresses the naming mismatch between 'weekly' and the caller-supplied arbitrary date range, nor how status_filter interacts with the aggregates.

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 description coverage is 100%, so date_from, date_to, and status_filter are already documented in the schema. The description only implies date-range and status scoping ('in the period', 'sorted by revenue') without adding format or filtering semantics beyond the schema. Baseline 3 applies.

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 names a specific verb set (fetches, calculates) and resource (orders/financial summary) and enumerates the computed metrics (revenue totals, AOV, items per order, product breakdown), which separates it from raw-listing siblings like shopify_list_orders. It does not explicitly name the alternative it is not, so it stops short of 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?

There is no when-to-use or when-not-to-use guidance. With siblings such as shopify_list_orders, shopify_order_count, and shopify_analytics_query in the same namespace, the agent gets no signal about when this aggregation is preferable to a raw order list or a general analytics query.

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