Skip to main content
Glama

get_stats

Headline KPIs for a site: visits, visitors, pageviews, outbound clicks, bots, CTR, bounce rate, session duration. Defaults to the full retained history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoYYYY-MM-DD
daysNoWindow in days (omit for full history)
fromNoYYYY-MM-DD
siteYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does state what metrics are returned and that the default scope is full retained history, which adds meaningful context. However, it does not indicate that this is a read-only operation, how date parameters interact, or any limitations on data retention or response size, leaving a partially opaque behavioral picture.

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 that front-loads the list of KPIs and then states the default behavior. There is no filler, and every clause provides information an agent needs.

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 4-parameter tool with no output schema and no annotations, the description is minimally adequate: it communicates the core return values and the default time window. It does not explain how from/to/days combine or why this tool is preferable over sibling tools, so an agent may be uncertain in edge cases.

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 describes to, from, and days, covering 75% of parameters, and the description adds the 'full retained history' default, which complements the days parameter. Still, the site parameter is left undocumented in both schema and description, and no guidance is given on precedence when multiple time parameters are supplied.

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 clearly identifies the resource (a site) and explicitly enumerates the headline KPIs, so an agent can understand what get_stats returns. The 'headline KPIs' wording implies an aggregate overview, which differentiates it from more specific siblings like get_timeseries or get_breakdown, though it does not explicitly name them.

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 and no mention of alternative tools. The only usage-related phrase, 'Defaults to the full retained history,' describes a parameter behavior rather than a decision rule. An agent cannot tell from this description whether to choose get_stats over get_visitors or get_bot_report.

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

A3.7/5.0
Disambiguation5/5

Each tool maps to a distinct resource or analytics view: site lifecycle (add, list, verify), aggregate stats, timeseries, top-N breakdowns, individual visitors, real-time activity, bot reports, and health. The only slight overlap is that get_stats includes bots as a KPI, but get_bot_report is clearly a dedicated classification view, so there is no real ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: add_, list_, get_, verify_. The only minor variation is list_sites using a plural noun while add_site uses singular, which is a standard and predictable convention for resource collections.

Tool Count5/5

Ten tools is well within the ideal range and the count matches the server's scope: site onboarding, verification, analytics reporting, and health monitoring. Each tool adds a distinct capability without redundancy or bloat.

Completeness4/5

The core workflows are covered: sites can be added, listed, and verified, with comprehensive traffic analytics including aggregates, timeseries, breakdowns, visitors, real-time activity, bot reports, and health. The main gap is the lack of site update/delete operations, but that is a minor lifecycle omission rather than a workflow-breaking issue.

Resources