Skip to main content
Glama
ig-studio-mcp

ig-studio-mcp

by Luffy610

get_media_insights

Read-only

Retrieve lifetime performance metrics for a single Instagram post, reel, or story to evaluate how that content performed.

Instructions

Get lifetime performance metrics for one post, reel or story.

Use this when the user asks how a specific piece of content performed. Get media_id from list_recent_media. Metrics depend on the media type and are picked automatically:

  • Feed posts/carousels: reach, views, likes, comments, saves, shares, total_interactions, profile_visits, follows

  • Reels: reach, views, likes, comments, saves, shares, total_interactions, ig_reels_avg_watch_time and ig_reels_video_view_total_time (milliseconds)

  • Stories: reach, views, shares, replies, navigation, follows, profile_visits, total_interactions

Returns: metrics {name: value}, unavailable lists metrics Instagram didn't return, and notes. Data can lag up to 48 hours; items inside a carousel have no insights.

Input Schema

NameRequiredDescriptionDefault
media_idYes

Output Schema

NameRequiredDescriptionDefault
notesNo
metricsYesLifetime metric values. `saved` is reported as `saves`.
media_idYes
media_typeNo
unavailableNoMetrics Instagram did not return for this media
media_product_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, and the description adds substantial context beyond them: metrics are chosen automatically per media type, unavailable metrics are reported in an `unavailable` list, data lags up to 48 hours, and carousel children return no insights. Those are exactly the surprises an agent needs to know to interpret partial results.

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?

Purpose and usage are front-loaded, then a bulleted breakdown per media type, then return shape and caveats. The metric enumerations are long but earn their space because they differ by type and set expectations for what comes back; the paragraph is otherwise tight.

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?

Covers what the agent must know to call and interpret it: where the ID comes from, type-dependent metric sets, the `unavailable`/`notes` fields, freshness lag, and the carousel exception. With an output schema present, return-value explanation is bonus rather than obligation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the schema only names `media_id` as a string. The description compensates by specifying its provenance (obtain from list_recent_media) and that it identifies a single post/reel/story, which is the meaningful semantics for a one-parameter tool.

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 ('Get lifetime performance metrics') scoped to a single post, reel or story. That scoping alone separates it from the account-level sibling get_account_insights without needing to open either schema.

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 says 'Use this when the user asks how a specific piece of content performed' and tells the agent where the required ID comes from (list_recent_media). It never names the account-level alternative as the choice for aggregate questions, so routing is implied rather than fully spelled out.

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