Skip to main content
Glama
Upload-Post

Upload-Post

Official

Get post analytics

get_post_analytics
Read-only

Retrieve per-platform metrics for a specific post using its request ID, including platform-specific data like TikTok retention and impression sources.

Instructions

Per-platform metrics for a specific post identified by request_id. post_metrics carries whatever each platform reports, so its shape is not the same everywhere: on TikTok it adds retention (the curve, second by second), impression_sources (For You, following, search, profile…), audience_types (followers vs non-followers), new_followers won by the post, reach and the watch times (average_time_watched, total_time_watched, full_video_watched_rate) on top of the usual counters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.11.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. First observedv0.4.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the read-only and non-destructive nature. The description adds value beyond annotations by disclosing that post_metrics is not a fixed shape, may differ by platform, and enumerates the TikTok-specific extras. This is above-average behavioral context, though it doesn't cover platform absence behavior or response edge cases.

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 the main purpose, and the second sentence expands on the non-standard output shape. The TikTok field list is long but relevant to prevent an agent from expecting a fixed schema; still, it could be tightened without losing that insight.

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?

Given the presence of an output schema and annotations, the description covers the key non-obvious point: results differ per platform. It also gives a concrete example of the extra fields. It doesn't explain which platforms are supported or how the request_id originates, but those are not critical for invoking the tool correctly.

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?

With 0% schema coverage, the description helps by identifying the single parameter as the post identifier. However, it writes the parameter as `request_id` while the schema expects `requestId`, which is a small but real invocation risk. It doesn't explain where to obtain the request ID, so the semantic help is partial.

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 names the resource clearly: per-platform metrics for a specific post identified by a request ID. It distinguishes from general analytics by being post- and platform-specific, but it does not explicitly differentiate itself from close siblings like get_cached_post_analytics or get_platform_metrics.

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?

The implied usage is clear: call this when you need per-platform metrics for one post. However, there is no explicit when-not-to-use guidance or mention of alternatives, so the agent has to infer boundaries from the parameter and sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.