Skip to main content
Glama

StoreMetrics

Get Weekly Report

get_weekly_report
Read-only

Last-7-days vs prior-7-days summary: visitors, sessions, orders, revenue with deltas, plus top traffic source and top page. Response includes a definitions field explaining how each metric is counted. Use this to answer 'how did my store do this week?'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesSite handle from list_sites.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description adds that the report includes deltas, top traffic source/page, and a definitions field explaining metric counting. This adds meaningful behavioral context beyond the safety hint.

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 sentences with front-loaded summary of the report contents and a usage tip. Every sentence earns its place with no unnecessary detail.

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

Completeness5/5

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

Despite no output schema, the description explains the comparison window, specific metrics, and mentions the definitions field. For a single-parameter report tool, this is sufficient context for an agent to select and invoke it correctly.

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?

The schema already documents the single site parameter with 100% coverage, referencing list_sites. The description adds no additional parameter semantics, so the schema carries the full burden and baseline 3 applies.

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

Purpose5/5

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

The description states a specific verb+resource: it retrieves a weekly report comparing last 7 days to prior 7 days with named metrics. It clearly distinguishes from siblings like get_overview or get_audience by the comparative time window and included metrics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly instructs to use this to answer 'how did my store do this week?', providing a clear use case. It does not name alternative tools or exclusions, so it's not a full 5, but the scenario gives enough context for when to use it.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool addresses a distinct analytics facet (overview, traffic, geo, audience, pages, funnel, live, weekly report, site context, site list) with no overlapping purposes. An agent can easily choose the right tool based on the question.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern (get_*) except list_sites, which still uses a clear verb_noun structure. The naming is uniform and predictable.

Tool Count5/5

With 10 tools, the set is well-scoped for an analytics server, covering both summary and breakdown views without unnecessary bloat. Each tool earns its place.

Completeness4/5

The tool set covers core analytics needs: overview, traffic sources, audience, geo, pages, funnel, live, and weekly comparisons. Minor gaps like custom date ranges or event detail drill-downs are not critical for standard store analytics.

Resources