Skip to main content
Glama
ig-studio-mcp

ig-studio-mcp

by Luffy610

hide_comment

Idempotent

Hide or unhide an Instagram comment to moderate spam or abuse reversibly; preview with confirm=false, then apply after approval.

Instructions

Hide (or unhide) a comment on the user's media. Reversible.

Hidden comments disappear for everyone except their author. Prefer this over delete_comment for spam or abuse, since it can be undone with hide=false. ALWAYS call with confirm=false first to get a preview (nothing is sent), and only call with confirm=true after the user approves.

Args: comment_id: The comment to hide or unhide (from get_media_comments). hide: true to hide (default), false to unhide. confirm: false = preview only (default); true = actually do it.

Returns: executed (false for previews), summary and success. Limits: comments the account owner wrote on their own media always stay visible. Hidden comments no longer appear in get_media_comments, so tell the user the comment_id if they may want to unhide it later.

Input Schema

NameRequiredDescriptionDefault
hideNo
confirmNo
comment_idYes

Output Schema

NameRequiredDescriptionDefault
notesNo
actionYes
messageNoExact reply text
requestYesThe Graph API call that is (or would be) made
successNo
summaryYes
executedYesFalse = preview only; nothing was sent to Instagram
reply_idNoID of the created reply
comment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say non-destructive, idempotent, open-world) by disclosing visibility semantics: hidden comments vanish for everyone but the author, owner-authored comments on own media stay visible, and hidden comments drop out of get_media_comments. Also clarifies that preview sends nothing.

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?

Purpose and the delete_comment contrast are front-loaded, then protocol, Args, Returns and Limits in scannable sections. Slightly long, and the Returns summary partially duplicates the existing output schema, but no line is wasted.

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?

For a 3-param mutation with an output schema, everything an agent needs is present: prerequisites, the confirm gating protocol, edge-case visibility rule, and the downstream consequence that the comment_id must be surfaced to the user for later unhiding.

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

Parameters5/5

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

Schema coverage is 0% — the JSON schema gives only titles and defaults — so the description must carry the full burden, and it does: it documents comment_id's source (get_media_comments), hide's true/false meaning, and confirm's preview-vs-execute semantics with defaults stated for each.

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 specific verb and resource ("Hide (or unhide) a comment on the user's media") plus the key property "Reversible." Explicitly contrasts with the sibling delete_comment, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Names the alternative (delete_comment) and the condition that selects this tool ("for spam or abuse, since it can be undone"). Adds a mandatory two-step protocol: confirm=false first for a no-op preview, then confirm=true only after user approval.

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