Skip to main content
Glama
Mzaxd

Umami MCP Server

by Mzaxd

Get Umami Pageviews Series

umami_get_pageviews
Read-only

Fetch pageview and session time series for a website using configurable time buckets, timezone, period comparison, and shared filters like path or referrer.

Instructions

Get pageview and session time series for a website. Supports time bucketing, timezone, period comparison, and shared filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
websiteIdYesUmami website ID. Use umami_list_websites or umami_find_website first if you do not know it.
startAtYesAn ISO 8601 datetime string or a millisecond timestamp. Example: 2026-04-23T00:00:00+08:00 or 1776873600000.
endAtYesAn ISO 8601 datetime string or a millisecond timestamp. Example: 2026-04-23T00:00:00+08:00 or 1776873600000.
unitYesTime bucket unit. Allowed values: hour, day, month, year.
timezoneNoIANA timezone, for example Asia/Shanghai. Defaults to UMAMI_DEFAULT_TIMEZONE when omitted.
compareNoOptional comparison mode. Use prev for previous period or yoy for year-over-year.
filtersNoOptional filter object shared by Umami analytics endpoints.
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description aligns with a read operation. It adds useful context about the type of data returned (time series) and supported features. No behavioral traits are contradicted, and the description provides additional value beyond annotations.

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?

Two sentences, front-loaded with the main purpose. Every sentence adds value without redundancy. Highly efficient.

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?

Given the tool has 7 parameters (4 required) and no output schema, the description covers the main features. However, it does not mention the output format, which would be helpful since no output schema is provided. Still, it is mostly complete.

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 mentions time bucketing, timezone, comparison, and filters, which corresponds to parameters, but does not add new meaning beyond what the schema already provides.

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 clearly states it retrieves 'pageview and session time series', using a specific verb and resource. It lists supported features (time bucketing, timezone, etc.), distinguishing it from sibling tools like umami_get_stats (aggregates) or umami_get_breakdown (dimension breakdown).

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 does not explicitly state when to use this tool versus alternatives. While it lists features, it lacks guidance on when not to use it or which sibling to choose instead, leaving the agent to infer from context.

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/Mzaxd/umami-mcp'

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