Skip to main content
Glama

getSalesReport

Generate a sales analytics report for a specified date range and granularity to analyze Shopify store performance.

Instructions

Get comprehensive sales analytics report

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": {
      "startDate": "<startDate>",
      "endDate": "<endDate>"
    },
    "name": "getSalesReport"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateYesEnd date (YYYY-MM-DD)
startDateYesStart date (YYYY-MM-DD)
granularityNoDAY

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: no statement that this is a read-only operation, no permission or API-scope requirements, no rate-limit or result-size behavior, no indication of what the report aggregates. 'Get' weakly implies read-only, which is the only signal present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short, front-loaded sentence with no wasted words, but that brevity comes from omission rather than discipline. Nothing about the report's content or the date-range semantics is established.

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?

There is no output schema and no annotations, so the description must explain what the report returns, yet it does not. For a report tool with required date bounds, granularity, and many overlapping siblings, an agent lacks the information needed to call it confidently or correctly.

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 coverage is 67%: startDate and endDate are documented in-schema, but granularity has only an enum and a default with no description of how it affects the report. The description adds no parameter meaning whatsoever, leaving the aggregation-level parameter unexplained in both places.

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 description names a verb and resource ('Get ... sales analytics report') but 'comprehensive' adds no discriminating detail. Against siblings such as getConversionReport, getFinancialSummary, getProductAnalytics, and getCustomReport, an agent cannot tell what distinguishes this report's content or scope.

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 guidance, no mention of alternatives or exclusions, and no prerequisite context. The agent must infer from the name alone that this is the report to pick over the many other report siblings.

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