Skip to main content
Glama

viewer_analytics_data

Read-onlyIdempotent

This endpoint retrieves viewer analytics data. This endpoint is use for deep insights on the analytics data.

Input Schema

NameRequiredDescriptionDefault
filtersNoBuild *segments* of users using multiple filters on the data, `value` should be an *exact match*
metricsNoGet data for one or more metrics in the same request. Supported values: `views`, `unique_views`, `impressions`, `completion_percent_by_views`, `playing_time`, `concurrent_users`, `widget_form_submitted`, and `cta_clicks`.
downloadNoWhether the request is to download the chart data
group_byNoData can be grouped by `daily`, `weekly` or `monthly`.daily
date_rangeNoThe timeframe to get the data for. The maximum range between start_at and end_at is 60 days.
workspace_idNoGumlet workspace ID
chart_dimensionNoGroup metrics by the selected dimension. You can select up to 3 dimensions for nested category results; results follow the selection order.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds no behavioral context beyond that: no mention of the 60-day date-range cap, pagination, rate limits, auth requirements, or how results are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the second sentence is redundant filler with a grammatical error and contributes zero information. Front-loading is fine, yet only one of the two sentences earns its place.

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?

For a complex analytics tool with seven parameters, nested objects, enum-constrained filters, and an output schema, the description omits essentially all operating context: what "viewer analytics" covers, how it differs from the aggregated/breakdown analytics siblings, and any constraints. It is inadequate despite the rich schema.

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% with rich nested-object and enum documentation, so the schema carries the parameter semantics. The description adds nothing about filters, metrics, group_by, or chart_dimension, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a generic verb+resource ("retrieves viewer analytics data"), but the second sentence ("This endpoint is use for deep insights on the analytics data") merely restates the same vague idea. It gives no way to distinguish this tool from the many sibling analytics tools such as analytics_aggregated_data, analytics_breakdown_data, retrieve_analytics, insights_breakdown_data, or asset_analytics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of alternatives, and no prerequisites. The only hint at scope is the vague phrase "deep insights," which is far too thin to route an agent among the numerous analytics siblings.

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