Skip to main content
Glama

get_analytics_umami

Read-onlyIdempotent

Get Umami analytics for a project (pageviews, visitors, top pages, etc.). Requires Umami connected to the project.

Args: project_id: The project ID. start_date: Start date YYYY-MM-DD (optional; default last 30 days). end_date: End date YYYY-MM-DD (optional; default today). timezone: Timezone (default UTC). limit: Max number of top pages to return. unit: Time bucketing: minute, hour, day, month, year.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNoday
limitNo
end_dateNo
timezoneNoUTC
project_idYes
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and closed-world, so the safety profile is covered without description help. The description's real added value is the Umami-connection prerequisite, which no annotation conveys; it says nothing about rate limits or result truncation, so a 3 is appropriate.

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?

Purpose is front-loaded in the first sentence, followed by a compact Args block that earns its space by adding formats, defaults and enum values the schema omits. Slightly list-like, but no filler sentences.

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?

With an output schema present, return values need no explanation, and the description covers the prerequisite, all six parameters, their formats and defaults. Complete enough for a read-only analytics query, with only timezone formatting left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% (only titles and defaults), so the description carries the burden and does so well: it supplies YYYY-MM-DD formats for both dates, defaults (last 30 days, today, UTC), the meaning of limit (top pages only), and the enum values for unit (minute/hour/day/month/year) that the schema lacks entirely. The timezone string format (e.g. IANA) is left unspecified, keeping it from a 5.

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?

States a specific verb and resource ("Get Umami analytics for a project") and enumerates the payload (pageviews, visitors, top pages), so an agent knows exactly what comes back. No sibling tool competes for analytics, so there is nothing to distinguish against, but the definition also doesn't say how it relates to the broader project/website toolset.

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?

It gives one useful precondition ("Requires Umami connected to the project"), which tells the agent when this call will succeed. However, it never states when to reach for this versus other data-gathering tools, nor what to do if Umami is not connected; usage is only implied by the precondition.

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.

Resources