Skip to main content
Glama

umami_stats

Read-only

Retrieve total analytics metrics for a single website using a day count or ISO 8601 start/end range.

Instructions

Totals for one website. Range: last days days, or ISO 8601 start/end.

Input Schema

NameRequiredDescriptionDefault
endNo
daysNo
startNo
website_idYes

Output Schema

NameRequiredDescriptionDefault
endYes
startYes
visitsYes
bouncesYes
visitorsYes
pageviewsYes
website_idYes
bounce_rateYes
total_time_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.4/5.0
Behavior2/5

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

The readOnlyHint annotation already covers the safety profile, and the description adds only the date-range window, which is mostly schema-level information. It says nothing about auth requirements, rate limits, or whether totals are scoped to a single site vs all sites beyond the vague "one website", so little behavior is disclosed beyond structured fields.

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

Conciseness4/5

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

Two short sentences, front-loaded with the resource and followed by the range rule; nothing wasted. Brevity is appropriate, though it is terse to the point of under-specification rather than sloppiness.

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 read-only tool with an output schema, return-value detail is not required, so the main gap is which aggregate is returned and how it relates to the sibling metric tools. Enough to invoke (website_id required, range modes given) but not enough to pick it with confidence among the umami family.

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 0%, and the description does clarify that `days` and `start`/`end` are alternative range modes (ISO 8601 for explicit dates) — valuable for two of the four parameters. It leaves `website_id` and the interaction rules (does `days` override `start`/`end`?) unstated, so it only partially compensates for the coverage gap.

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

Purpose2/5

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

"Totals for one website" restates the tool name (stats = totals) without naming which aggregate is returned (visitors, pageviews, bounce rate?) or how it differs from the sibling umami_metrics. A verb-like framing exists but the resource is left ambiguous, so an agent cannot confidently pick this over umami_metrics or umami_pageviews.

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?

The only guidance is about date-range modes (days vs start/end), which is invocation mechanics rather than when-to-use. Nothing tells the agent in which situation this tool should be chosen over umami_metrics, umami_pageviews, or umami_websites.

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