Skip to main content
Glama

Live stream analytics (plays)

apivideo_get_live_stream_analytics
Read-only

Aggregated play analytics for live streams over a date range, grouped by a dimension. Read-only. GET /analytics/live-streams/plays.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date yyyy-mm-dd (inclusive).
fromYesStart date yyyy-mm-dd (inclusive). Required.
filterNoFilter expression, e.g. "liveStreamId:li123".
pageSizeNoResults per page (max 100). Default 25.
dimensionYesDimension to group plays by.
currentPageNoPage number (1-based). Default 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The readOnlyHint annotation already covers safety, so the description adds useful behavioral context: the endpoint path, the aggregation nature, and the grouping/dimension behavior. It does not mention any side effects or rate limits, but for a read-only analytics query this is acceptable.

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?

The description is short and front-loaded with the core purpose. The 'Read-only.' sentence repeats the annotation, which is slightly redundant, but the endpoint suffix adds useful specificity without bloat.

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 moderately complex read-only analytics tool with full schema coverage, the description is complete enough: it states the resource, grouping, date range, and endpoint. The absence of an output schema is mitigated by the clear 'plays' analytics scope, though a brief note on response format would have been ideal.

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 the baseline is 3. The description reinforces the meaning of date range and dimension, but does not add anything beyond what the schema already documents for each parameter.

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 uses a specific verb-resource pairing: 'aggregated play analytics for live streams' with explicit grouping by dimension and date range. This clearly distinguishes it from sibling tools like apivideo_get_video_analytics, which targets on-demand video analytics.

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

Usage Guidelines4/5

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

The description gives clear context for use: it is for live stream play analytics over a date range, grouped by a dimension. It does not explicitly name alternatives or exclusion criteria, but the scope is unambiguous enough for an agent to select it appropriately among 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.