Skip to main content
Glama

analytics-overview

Read-only

Get product analytics for the project over a period: sessions, unique visitors, pageviews, pages per session, time on page, top pages and top custom events. Anomalies (today against the prior week) are included when the period ends today. Use days for a rolling window, or from and to for a specific range of up to 90 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analytics-overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of a specific range, inclusive (default: now)
daysNoNumber of past days to include, up to 90 (default: 7). Ignored when from is given.
fromNoStart of a specific range, as a UTC date (2026-09-01) or ISO timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the returned metric set, the fact that anomalies compare today against the prior week and appear only when the period ends today, and the 90-day window limit. It does not cover things like timezone handling or aggregation granularity, but the added context is substantial.

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 dense sentences with no filler: the first front-loads what is returned, the second front-loads the anomaly condition and range rules. The long metric enumeration is justified because it is the tool's entire payload and no output schema exists to document it elsewhere.

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?

For a zero-required-parameter read tool with full schema coverage and clear annotations, the description supplies the returned metrics, the anomaly conditionality, and the window cap. Without an output schema, a little more detail on the shape of the top-pages/top-events entries and timezone basis would be ideal, but nothing an agent needs to call it correctly is missing.

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 all three parameters are already documented, including the 90-day cap on days and the 'ignored when from is given' precedence rule, which the description largely restates. The one addition is that the from/to range itself is capped at 90 days, a constraint not stated in either parameter's schema text. Baseline 3 is appropriate since the schema does the heavy lifting.

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 opens with a specific verb and resource ('Get product analytics for the project over a period') and then enumerates the exact metrics returned (sessions, unique visitors, pageviews, pages per session, time on page, top pages, top custom events). The 'product analytics' domain marker plus the metric list cleanly separates it from the sibling overview tools such as ai-usage-overview, feedback-overview, and inbox-overview.

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?

There is guidance on how to parameterize the period ('Use days for a rolling window, or from and to for a specific range') and a stated cap of 90 days, but no explicit when-to-use or when-not-to-use guidance relative to sibling overview tools. The correct alternative for AI usage, feedback, or inbox metrics is left for the agent to infer from the name alone.

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