Skip to main content
Glama
Open Instagram API

Open Instagram API

delete_comment

Destructive

Deletes a specific Instagram comment by using the post shortcode and comment ID to remove unwanted comments from your own account.

Instructions

Delete one of your comments.

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>",
      "comment_pk": "<comment_pk>"
    },
    "name": "delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
shortcodeYes
comment_pkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds the ownership restriction ('your'), which is genuine behavioral context not present in the annotations. It stops short of saying the deletion is irreversible or what a failed deletion returns, so it adds value but not much.

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?

A single front-loaded sentence with zero filler, which is the right shape for a simple tool. It is under-specified rather than bloated, but nothing in it is wasted.

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 an irreversible mutation with no output schema and 0% parameter documentation, the description is too thin. It should at minimum clarify the two identifiers and note that the action cannot be undone; as written, an agent has to infer the entire contract from the name and annotations.

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 both parameters rely entirely on their bare names. The description never explains what 'shortcode' identifies (a post, a media item, a thread?) or how 'comment_pk' relates to it, leaving the agent to guess at two required arguments for a destructive operation.

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?

States a specific verb (delete) and resource (comment) with an ownership scope ('your'), which an agent can read unambiguously. It does not, however, contrast itself with adjacent tools like unsend_message or comment_on_post, so sibling differentiation rests on the name alone.

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?

The phrase 'one of your comments' implies the precondition that the caller must own the comment, which is a weak usage signal. There is no explicit when-to-use versus alternatives, no statement of what happens if the comment is not yours, and no mention of prerequisites such as authentication.

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