Skip to main content
Glama
umami-mcp

umami-mcp

by chukycheese

get_events

Retrieve aggregated custom event counts by name for a selected date range to analyze which events occur most and track their trend over time.

Instructions

Return custom events aggregated by name for a date range.

Args: website_id: Website id from list_websites. start_at: Range start (ISO date/datetime or epoch milliseconds). end_at: Range end; defaults to now. days: Length of the default range when start_at is omitted.

Returns totalEvents, events ([{"name": ..., "count": ...}], most frequent first) and the per-bucket series.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "website_id": "<website_id>"
    },
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
end_atNo
start_atNo
website_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Return' implies a read-only operation, and the ordering note 'most frequent first' is useful behavioral detail, but there is no mention of result caps, pagination, or any permission requirements.

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 purpose is front-loaded in one sentence, followed by a compact Args list and a brief returns note. Every line carries information; nothing is redundant.

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?

The description covers all four parameters and clarifies the return shape, which is more than needed given an output schema exists. The main remaining gap is the absence of any note on limits, permissions, or how event names are aggregated, which for a no-annotation tool would have been valuable.

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?

With 0% schema description coverage, the description compensates well: website_id is tied to list_websites, start_at accepts ISO date/datetime or epoch milliseconds, end_at defaults to now, and days sets the default range when start_at is omitted. This adds real meaning beyond the bare schema.

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 states a specific verb and resource: 'Return custom events aggregated by name for a date range.' That is concrete enough to separate it from siblings like get_pageviews or get_metrics, though it never explicitly names those alternatives.

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?

Usage context is only implied through the parameter notes: 'days: Length of the default range when start_at is omitted' and 'end_at: defaults to now' show how to call it with no date arguments. There is no explicit statement of when to prefer this tool over get_metrics or get_stats, and no exclusions.

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