Skip to main content
Glama
rampstackco

@rampstack/umami-mcp

by rampstackco

get_metrics

Get the top dimension values (e.g., URLs, browsers) with visitor counts for a date range. Optionally filter by country or referrer.

Instructions

Top values for one dimension over a window (e.g. top URLs, referrers, browsers). Returns [{ x: value, y: visitors }].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesWindow end: ISO 8601 or epoch ms.
typeYesDimension to break down by.
limitNoMax rows. Default 25.
startYesWindow start: ISO 8601 or epoch ms.
countryNoOptional filter: ISO country code.
referrerNoOptional filter: referrer domain.
website_idYesUmami website id.
Behavior3/5

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

Describes return format [{x, y}] but no side effects, auth needs, or limits. With no annotations, description should disclose more behavioral traits (e.g., what happens with empty results or invalid types).

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: one for purpose, one for format. No fluff, front-loaded with key action and examples.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite 7 parameters (4 required), description omits optional filter behavior, default limit, and edge cases. No output schema or annotations to compensate. Incomplete for autonomous agent reasoning.

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 covers 100% of parameters. Description adds context ('top values over a window') but doesn't elaborate beyond schema (e.g., meaning of limit, optional filters). Baseline 3 for high coverage with marginal added value.

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?

Description clearly states the tool returns top values for one dimension over a window, with examples. It distinguishes from siblings like get_stats (aggregate metrics) and get_pageviews (specific event).

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?

Implicitly suggests use for dimension breakdowns, but no explicit when-to-use vs alternatives (e.g., cohort_report, get_stats) or when-not-to-use.

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