Skip to main content
Glama

Create a comment

instagram_create_comment

Post a new top-level comment on an Instagram media object. Preview the comment first, then set apply:true to publish it.

Instructions

Post a new top-level comment on a media object (POST /{media-id}/comments). Preview by default; re-run with apply:true (or set IG_WRITE_MODE=apply) to perform the comment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNoSet true to perform the write; omitted/false previews only.
accountNoName of the configured account profile to operate as (multi-account). Omit to use the default profile (IG_ACTIVE_PROFILE).
mediaIdYesThe id of the media to comment on.
messageYesThe comment text to post.
Behavior4/5

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

Annotations only provide openWorldHint, so the description carries the burden of explaining the mutating behavior. It does this well by disclosing that the tool previews by default and only performs the write when apply:true is set. This is important, non-obvious behavioral context that goes beyond the schema.

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?

The description is two concise sentences with no filler. It front-loads the core action and endpoint, then immediately gives the critical preview/apply instruction that an agent must know before invoking.

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?

The tool is simple: four params, all schema-documented, no output schema. The description covers the endpoint, the top-level nature of the comment, and the preview/apply behavior, which together are sufficient to call it correctly. It could additionally note that replies belong to instagram_reply_to_comment, but that is a minor omission rather than a correctness gap.

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 100%, so all four parameters are already documented. The description adds the key apply gate semantics and the IG_WRITE_MODE alternative, but it does not add much detail about mediaId or message beyond the schema. Baseline 3 is appropriate.

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?

The description states a specific action: 'Post a new top-level comment on a media object' and includes the API endpoint. The phrase 'top-level' clearly distinguishes this from sibling tools like instagram_reply_to_comment, so an agent can select it correctly without inspecting other schemas.

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?

The description clearly explains the preview-by-default behavior and exactly how to perform the write: 're-run with apply:true (or set IG_WRITE_MODE=apply)'. It does not explicitly name alternative tools or when not to use this tool, but the 'top-level' qualifier implies the boundary with reply tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IvanBBaev/instagram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server