Skip to main content
Glama

SnapWidget

Get Widget Stats

get_widget_stats
Read-only

The Analytics of the user's widgets, as the Analytics page shows it (paid plans): views, clicks and visitors per day, the sites and countries that show the widgets, the devices, and the widgets with the most views. For one widget: the posts or reviews that visitors click most, and the Shoppable product clicks. Analytics counts Pro widgets and review widgets. visitors is the sum of each day's visitors. from and to: the first and the last day of the range. counted_from: null when every day of the range has counts; else {date, reason}, the first day with counts, and why the days before it have none (reason "counting": counting started that day; "widget": the widget was made that day). With days 365, each point of daily is a week (date: its first day), and its days field gives the number of days in it: the oldest week can have fewer than 7.

Input Schema

NameRequiredDescriptionDefault
daysNoThe last 7, 30 or 90 days, today included (30 when not given), or 365: the last 52 full weeks (364 days), one point a week.
widget_idNoOne widget's id (the id in list_widgets). Leave it out for all the widgets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds substantial behavior beyond that: the paid-plan gating, that only Pro and review widgets are counted, that visitors is a sum of daily visitors, and the counted_from {date, reason} convention with its 'counting' vs 'widget' reasons. With no output schema, more detail on the response envelope (top-level keys, list names) would be needed for a 5.

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?

The core scope is front-loaded, but the text is a dense run-on with five clauses chained by commas and colons, mixing purpose, tiering, output shape and edge cases. Every sentence carries information (which matters with no output schema), yet the lack of structure or paragraphing makes scanning harder than it should be.

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?

For a two-parameter read tool with no output schema, the description does the heavy lifting well: it covers what is returned, aggregation semantics, the 365-day weekly bucketing quirk, and the counted_from partial-coverage case. It stops short of describing the overall response structure (e.g. how daily/weekly lists and the per-widget sections are keyed), leaving a small 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 description coverage is 100%, and both parameters are already documented in the schema, so the baseline is 3. The description explains the 365-day weekly bucketing and the 'days' field on each week, but that describes output shape rather than adding meaning to the inputs; the from/to and counted_from values it explains are not even input parameters.

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 names a specific verb+resource (analytics/stats for the user's widgets) and enumerates the returned dimensions: views, clicks, visitors per day, sites, countries, devices, most-viewed widgets, and per-widget top posts/reviews and Shoppable product clicks. An agent can tell immediately that this is reporting data, not widget configuration as with get_widget/list_widgets.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the phrase 'as the Analytics page shows it (paid plans)' signals the prerequisite that analytics requires a paid plan. There is no explicit when-to-use guidance, no statement of when to use get_widget instead, and no exclusions or note about what happens with zero data.

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.