Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Instagram Post Comments

instagram_comments

Fetch paginated comments from an Instagram post or reel by URL, with cursor-based paging and an optional free 24-hour cache. Billed per returned result, so empty results are never charged.

Instructions

Session-paged Instagram comments — a logged-out 2-row preview of a larger thread is 503 SESSION_UNAVAILABLE at 0 credits. Costs ~45 credits (0.9/result). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "url": "<url>"
    },
    "name": "instagram_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesInstagram post or reel URL, e.g. https://instagram.com/reel/ID/. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 50, max 500). Billed per result.
cursorNoPagination cursor from the previous nextCursor ({mediaPk}:{minId}). Omit on the first page. hasMore is true when nextCursor is set, or when more exist and cannot be paged (nextCursor null + truncatedReason).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the ~45 credit cost (0.9/result), that empty results and failures are never billed, that cache=true yields a free 24h hit while default is always-fresh, and that logged-out previews surface as 503 SESSION_UNAVAILABLE at 0 credits. It omits return shape details and any rate-limit/auth notes, but the billing and failure-mode disclosure is far beyond structured fields.

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 most decision-relevant constraint (cost, no charge on failure, cache toggle) is front-loaded into a few compact sentences with no filler. Some jargon ('Session-paged', the raw 503 SESSION_UNAVAILABLE token) is dense but each clause conveys a concrete operational fact.

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?

For a 4-parameter, no-output-schema tool, the definition covers the operational essentials an agent needs before spending credits: cost, billing guarantees, caching, and a notable failure mode. Return-value shape is only touched via schema cursor fields, but with 100% schema coverage that gap is minor.

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 coverage is 100%, so url, cache, limit, and cursor are already fully documented in the schema, including the nextCursor format and truncation behavior. The description largely repeats the cache and per-result billing semantics already present in the schema, adding little new meaning; baseline 3 is appropriate.

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 a specific resource ('Instagram comments') and implies retrieval, so an agent knows it fetches comment threads on an Instagram post/reel. It does not explicitly contrast itself with the many sibling *_comments endpoints (facebook_comments, tiktok_comments, etc.), but the platform-specific phrasing plus the URL constraint in the schema makes the target unambiguous.

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: call this to get comments for an Instagram post/reel URL. There is no explicit when-to-use versus a sibling (e.g., instagram_post_details or instagram_summarize) and no when-not guidance, leaving the agent to infer selection from the name and the platform constraint.

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

Deploy Server

Other Tools