Skip to main content
Glama

List Instagram Media

adsap_list_ig_media

List an Instagram account's recent media/posts (live from Meta) — the posts, reels, and stories that can be promoted. Use after adsap_list_meta_assets (asset_type:"instagram_accounts") to pick a post to boost or to reference existing organic content. Returns each media item's id, type (IMAGE/VIDEO/CAROUSEL_ALBUM), placement (media_product_type: FEED/STORY/REELS), image/thumbnail URL, permalink, caption, timestamp, and like/comment counts, plus a pagination cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoPagination cursor from a previous response's meta.paging_after, to fetch the next page.
limitNoMax media items to return per page. Default 25, max 25 (Meta's per-page cap for IG media).
ad_account_idYesAd account ID (act_xxx) the Instagram account is linked to. Required — scopes the request to the workspace and anchors the Meta budget check.
ig_account_idYesInstagram account ID (numeric) whose media to list. Get it from adsap_list_meta_assets (asset_type:"instagram_accounts" -> instagram_user_id / id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does so meaningfully: it labels the data as 'live from Meta,' specifies that results are media eligible for promotion, and names the returned fields including a pagination cursor. It stops short of stating side-effect/auth/error behavior, but 'List' and the return-value detail make the read-only nature clear.

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

Conciseness5/5

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

Three focused sentences with the main purpose front-loaded. The detail on return fields and pagination is valuable because there is no output schema, and no sentence is redundant with the input schema.

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?

Given no output schema or annotations, the description includes a full return-field inventory and pagination cursor, plus a clear prerequisite call and sourcing instructions for ig_account_id. An agent can understand what to expect and what to supply.

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?

All 4 parameters are already documented in the schema (100% coverage), so the description does not need to re-explain them. It adds workflow context by pointing to adsap_list_meta_assets for sourcing ig_account_id, but otherwise the schema carries the parameter meaning.

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 precise action ('List an Instagram account's recent media/posts') and enumerates the content types (posts, reels, stories). It also distinguishes itself from the sibling list_meta_assets by framing this as the follow-up step for selecting promotable organic content.

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 tells the agent to call this after adsap_list_meta_assets (asset_type:"instagram_accounts") and gives the purpose: picking a post to boost or referencing organic content. It does not list when-not-to-use cases, but the sequencing is strong enough to guide correct invocation.

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.

Resources