Skip to main content
Glama

Read Instagram Insights

get_insights
Read-only

Pull recent Instagram post insights such as reach, views, likes, comments, saves, and shares, then group results by post type, topic, and format to guide content planning.

Instructions

Pulls recent posts and their insights (reach, views, likes, comments, saves, shares, watch time) with the user's Instagram token, matches them to logged posts, and groups the results by post type, topic and format. Read-only. Reuses a pull from the last few days unless refresh is set; each pull is saved in the brand kit's insights/ folder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
refreshNo
max_postsNo
max_age_daysNoReuse a saved pull up to this old

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description redundantly repeats 'Read-only', which earns no credit. Beyond that it adds genuine behavioral context: the call requires an Instagram token, results are cached and reused for a few days unless refresh is set, and each pull is persisted to the brand kit's insights/ folder. It does not disclose rate limits or failure modes when the token is missing.

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?

Three sentences, front-loaded with the core action, then the read-only/caching constraint, then the persistence side effect. The parenthetical metric list is dense but informative rather than wasteful; nothing reads as filler.

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?

With no output schema and only readOnlyHint for annotations, the description carries most of the burden and does so reasonably: it enumerates returned metric fields, describes grouping, and explains caching and storage. Gaps remain around max_posts, the days window, and auth failure behavior, but an agent can call this correctly with what is given.

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 only 25%, with max_age_days the only documented parameter, so the description must compensate. It explains the refresh override and the last-few-days reuse window (covering refresh and part of days), but leaves max_posts and the lookback window 'days' completely unclarified in both schema and prose.

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 set: pulls recent Instagram posts with their insights, matches them to logged posts, and groups by post type/topic/format. That is concrete enough to distinguish it from generic analytics siblings, though it never names an alternative tool it could be confused with.

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 implied rather than stated: the agent learns it should call this to obtain Instagram metrics and that setting refresh forces a new pull instead of reusing a cached one. There is no explicit when-not guidance (e.g., versus query_history for historical data) and no prerequisites beyond a passing mention of the user's Instagram token.

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