Skip to main content
Glama
Open Instagram API

Open Instagram API

get_comments

Read-only

Retrieve comments from an Instagram post or reel using its shortcode, with options to sort by popular or newest and paginate through results.

Instructions

Comments on a post or reel.

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": {
      "shortcode": "<shortcode>"
    },
    "name": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNopopular
cursorNo
shortcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the description adds little behavioral context. It does not mention pagination, sorting behavior, or what the returned comments include, despite the cursor and sort parameters implying those traits.

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 description is a single short sentence with no wasted words. However, its brevity is also the source of its ambiguity, so it is concise but not fully structured for an agent to act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with three parameters, no output schema, and zero schema description coverage, this description is too thin. It gives only the resource and content type, omitting retrieval semantics, pagination, sorting, and result expectations that an agent would need.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It only loosely implies that 'shortcode' identifies a post or reel and says nothing about the 'sort' enum values or the 'cursor' pagination parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource and scope ('comments on a post or reel') but does not use a clear retrieval verb such as list or get. Read together with the tool name get_comments it is inferable, but the description alone is vague and could be misread as commenting on a post.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus alternatives such as comment_on_post or delete_comment. It also does not state any prerequisites or exclusions, leaving the agent to infer that this is a read operation.

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