Skip to main content
Glama
rampstackco

@rampstack/umami-mcp

by rampstackco

get_stats

Retrieve summary analytics for a website over a time window, including visitors, pageviews, bounces, total time, and compare to previous period with computed deltas.

Instructions

Summary stats for a website over a window: visitors, visits, pageviews, bounces, totaltime, plus the previous period's values and computed deltas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesWindow end: ISO 8601 or epoch ms.
urlNoOptional filter: page URL/path.
startYesWindow start: ISO 8601 or epoch ms. Naive datetimes are UTC.
countryNoOptional filter: ISO country code, e.g. US.
referrerNoOptional filter: referrer domain.
website_idYesUmami website id (from list_websites).
Behavior3/5

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

With no annotations, the description carries the full burden. It describes the output content (visitors, visits, etc.) and mentions previous period and deltas, but does not disclose side effects, read-only nature, rate limits, or authentication requirements. It is adequate but not fully transparent.

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 efficiently conveys the purpose and output fields with zero waste. It is front-loaded and earns its place.

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?

Given no output schema, the description partially explains the return format by listing metrics, but does not specify types or exactly how previous period and deltas are structured. For a tool with 6 parameters, more completeness would be helpful.

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%, so baseline is 3. The description does not add meaning beyond the schema for parameters; it only mentions the window concept (start/end) implicitly. The schema itself already documents each parameter clearly.

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 states that the tool returns summary stats (visitors, visits, pageviews, bounces, totaltime) for a website over a window, including previous period values and deltas. It is specific and distinguishes from sibling tools like list_websites or get_event_data, though not explicitly comparing to get_metrics or get_pageviews.

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?

The description implies usage for obtaining high-level stats over a time window, but does not explicitly state when to use this tool versus siblings like get_metrics or cohort_report. No alternatives or exclusions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rampstackco/umami-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server