Skip to main content
Glama

Analytics overview

analytics_get
Read-onlyIdempotent

[read-only] Engagement overview for the last 7, 30 or 90 days. Pro plan or higher. Was get_analytics (still callable for one release). (Wraps GET /api/v2/analytics.)

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_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoe.g. "7d". Analytics date range.30d
groupByNoe.g. "Example". A label key (e.g. `cut`, `variant`). Returns the per-label / per-experiment breakdown instead of brand totals: the same body as `GET /api/v2/analytics/experiments?key=<groupBy>` (which also takes `window`, `metric`, `brandId`, `format`, `include`).
labelKeyNoe.g. "Example". FFE-1204: alias of `groupBy`. Use at most one of `groupBy`, `labelKey`, `experimentId` (two → 422).
experimentIdNoe.g. "experimentId_123". FFE-1204: one experiment's per-variant results instead of brand totals: the same body as `GET /api/v2/experiments/{id}/results` (incl. % watched per arm; unreported watch data is `null`, never 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already carry readOnlyHint/idempotentHint, yet the description still adds real context beyond them: a plan-tier gate, a rename/deprecation window ("Was get_analytics"), and the underlying REST endpoint it wraps. It says nothing about response shape or how the three result modes differ in cost, but that is a minor gap given annotation coverage.

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?

Three short sentences, front-loaded with scope then the plan gate. The "[read-only]" prefix duplicates readOnlyHint and the rename note is somewhat ephemeral, but neither obscures the core purpose.

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 four-parameter, optional-only, no-output-schema tool, the description supplies the gate, the range options, and a pointer to the equivalent REST surface, while the schema handles the branching modes in detail. Only the absence of any alternative-tool routing keeps it from being fully sufficient.

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% and the schema already explains the groupBy/labelKey alias rule, the 422 on combining selectors, and the per-variant null semantics. The description adds nothing further about parameters, so the baseline of 3 applies.

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 resource and verb ("Engagement overview") plus the exact allowed scopes (7/30/90 days), so an agent can tell what data comes back. It does not differentiate itself from the sibling analytics_insights_query, so it stops short of a 5.

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?

"Pro plan or higher" is a genuine precondition that saves a failed call, and the range enumeration implies the usage envelope. Beyond that there is no when-to-use/when-not guidance and no routing to or away from analytics_insights_query.

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