Skip to main content
Glama

StoreMetrics

Get Top Pages

get_pages
Read-only

Top pages with per-page engagement (visitors, pageviews, product views, add-to-cart, checkout starts).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesSite handle from list_sites.
limitNoMax rows (default 20).
rangeNoA preset (today, yesterday, this_week, last_week, this_month, last_month, last_7d, last_14d, last_28d, last_30d, last_90d, all_time) or a custom span "YYYY-MM-DD/YYYY-MM-DD" interpreted in the site's timezone. Defaults to last_30d.
sort_byNo

TDQS

B3.3/5.0
Behavior3/5

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

The annotations declare readOnlyHint=true, and the description does not contradict this. The description lists included metrics but does not disclose behavioral traits such as how 'top' is determined, default sorting, or any limitations. The read-only hint covers safety, but the description adds only minimal behavioral context beyond the annotation.

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?

The description is a single sentence of about 15 words, front-loaded with 'Top pages'. Every word earns its place; there is no filler, repetition, or unnecessary detail.

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

Completeness3/5

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

For a simple read-only tool with one required parameter, the description covers the core output purpose. However, without an output schema, it doesn't explain return shape, default ordering, or the relationship to list_sites. Some context is missing, though the tool's simplicity limits the gap.

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 coverage is 75%, so the schema already describes all four parameters. The description lists metrics that map to some sort_by values, but it doesn't add new parameter semantics. It even introduces 'add-to-cart' which is not in the sort_by enum, creating slight ambiguity. With high schema coverage, the baseline of 3 is appropriate.

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 identifies the resource (top pages) and specifies the exact engagement metrics included (visitors, pageviews, product views, add-to-cart, checkout starts). It lacks an explicit verb, but the tool name and title 'Get' compensate. It distinguishes from sibling tools by focusing on top pages with engagement data, though it doesn't explicitly contrast with alternatives.

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?

No guidance is provided on when to use this tool vs alternatives. The description does not mention sibling tools like get_overview or get_traffic_sources, nor does it state any exclusions or conditions. Usage context is entirely absent.

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