Skip to main content
Glama

api.video MCP by usefulapi

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

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

The description repeats 'Read-only', which the readOnlyHint annotation already declares, adding no new behavioral context. It says nothing about pagination behavior (despite pageSize/currentPage params), whether empty date ranges are allowed, or auth needs, so it carries no extra information beyond the structured fields.

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

Conciseness3/5

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

It is short and front-loads the core purpose, but one of its three sentences restates the annotation ('Read-only') and another restates the endpoint path (GET /analytics/live-streams/plays), neither of which earns much space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description could reasonably explain the return shape (aggregated metric values grouped by the chosen dimension) and the page-based pagination, but it does not. It is minimally adequate for a read-only analytics query whose safety profile is already covered by annotations.

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 schema already documents from/to, filter, pageSize, currentPage, and the dimension enum. The description only restates that results are grouped by a dimension and bounded by a date range, adding no format or syntax detail beyond the 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 ('Aggregated play analytics for live streams') plus scope (date range, grouped by dimension), which is enough to separate it from apivideo_get_video_analytics by resource type. It stops short of explicitly naming that sibling as the alternative, so it is clear but not fully differentiated.

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 is only implied: an agent can infer this is the tool for live-stream plays rather than video plays, but there is no explicit when-to-use statement, no mention of when to prefer apivideo_get_video_analytics, and no guidance on how the filter parameter should be scoped.

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.