Skip to main content
Glama
Open Instagram API

Open Instagram API

react_to_message

Add or remove an emoji reaction on an Instagram message by specifying the thread and message IDs, with an optional emoji and removal flag.

Instructions

React to a message with an emoji, or remove your reaction (remove=True).

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": {
      "thread_id": "<thread_id>",
      "message_id": "<message_id>"
    },
    "name": "react_to_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiNo❤
removeNo
thread_idYes
message_idYes

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 readOnlyHint=false and destructiveHint=false, so safety profile is covered. The description adds that the same tool can reverse a reaction via remove=True, which is useful context beyond annotations. It does not disclose whether a user can react multiple times, whether reactions are capped, or what the response contains.

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 tight sentence with the mutation and its inverse mode front-loaded, and no filler. It is slightly under-specified rather than over-long, which is the better failure here.

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 four-parameter mutation tool with no output schema and only terse annotations, the definition omits what happens on success, whether the emoji must be unicode versus a name, and any auth or membership requirements. An agent could invoke it but would be guessing on several essentials.

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 carry parameter meaning, and it covers only two of four parameters: emoji (implicitly, without the ❤ default or format guidance) and remove=True. The two required identifiers, thread_id and message_id, are not explained at all, leaving the agent without guidance on format or source.

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 states a specific verb plus resource (react to a message) and names the payload (emoji), including the inverse mode (remove=True). That lets an agent distinguish it from send_message or like_post, though it does not explicitly name a sibling.

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 parenthetical '(remove=True)' tells the agent how to switch to the removal behavior, which is genuine usage guidance for the inverse operation. However, there is no guidance on when to react versus using like_post or sending a message, nor any stated prerequisites such as thread membership.

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