Skip to main content
Glama

Get upload analytics

get_video_analytics

Returns aggregated analytics for a single video upload across every platform it was posted to. Includes per-platform sibling rows (one per platform post) plus summed totals: views, likes, comments, shares, saves, watch time, followers gained, and a recomputed engagement rate. Use list_video_uploads to look up a video_upload_id. Numbers come from the locally-cached analytics (post_analytics), not a live platform fetch.

Dashboard parity note: same caveat as get_workspace_analytics. Instagram, Facebook, and YouTube slices sum cached per-post metrics and may under-report vs. the ShortSync dashboard, which fetches account-level insights live for those three platforms (Instagram views include Reels reach and impressions; Facebook aggregates page-level comments; YouTube counts include Shorts feed views). TikTok, Snapchat, Threads, Mastodon, X, LinkedIn, Pinterest, Bluesky, Reddit, Tumblr and Pixelfed match the dashboard exactly.

Analytics coverage: per-post analytics exist for YouTube, TikTok, Instagram, Facebook, LinkedIn (Company Pages), Threads, Bluesky, Pinterest (business accounts), Snapchat, Mastodon, Pixelfed, Reddit, Tumblr and Dailymotion (views, likes and saves; Pixelfed, Reddit, Tumblr, Bluesky and Mastodon report no view counts). X has analytics only when the workspace has added its own X API key in Settings > Integrations (X bills each post read to the user's X developer account); without one, X posts come back unavailable with that reason. Google Business Profile has profile-level stats only (no per-post numbers). Telegram and Discord have no analytics at all.

Freshness: if the workspace's analytics were last synced over an hour ago (or never), this call also starts a background sync and reports it in the response's sync field (status started or in_progress, plus last_synced_at). The numbers in that response are from the previous sync; call again in a few minutes for fresh ones. sync.status of free_plan_limit or daily_limit means no sync could run, so the numbers may not be current.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "video_upload_id": "<video_upload_id>"
    },
    "name": "get_video_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_upload_idYesThe video_uploads.id to summarize. Get it from list_video_uploads. Only meaningful once at least one platform sibling has been published.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses that numbers come from a local post_analytics cache rather than a live platform fetch, that the call can trigger a background sync with status values like 'free_plan_limit' and 'daily_limit', and that the returned numbers predate that sync. It also documents per-platform coverage gaps (X requires a user API key, Google Business Profile has no per-post stats, Telegram/Discord have none, several platforms report no views) and where numbers diverge from the dashboard.

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 first sentence front-loads what is returned, and the remainder is organized under explicit labels (Dashboard parity note, Analytics coverage, Freshness). It is long and repeats the platform roster across three sections, but each block carries decision-relevant information an agent needs to interpret the numbers.

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

Completeness5/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 names the returned metric set and the shape of the response (per-platform sibling rows plus summed totals, plus a `sync` object with `status` and `last_synced_at`). For a cached, sync-triggering analytics tool, everything an agent needs to call it and correctly caveat the results is present.

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 there is only one parameter, so the schema already documents video_upload_id, its origin, and the 'only meaningful once a sibling has been published' caveat. The description adds no syntax, format, or constraint beyond what the schema states, so the baseline 3 applies.

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?

States a specific verb and resource plus scope: 'aggregated analytics for a single video upload across every platform it was posted to', and enumerates the returned metrics and the per-platform sibling rows. It also implicitly delimits itself against get_workspace_analytics by referencing the 'same caveat as get_workspace_analytics' and against get_post_analytics by describing per-platform rows.

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?

Explicitly routes the agent to list_video_uploads to obtain the video_upload_id, and the coverage/freshness sections tell the agent when a result will be incomplete or stale. It does not state a clean 'use this instead of X when Y' rule (e.g., versus get_post_analytics or explain_post_analytics_state), so it is clear context without hard exclusions.

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.