Skip to main content
Glama

remove_reaction

Idempotent

Deletes the caller's own emoji reaction from a message without affecting other members' reactions. Returns true when removed and false when the caller had not reacted.

Instructions

Remove the caller's own emoji reaction from a message; other members' reactions are untouched. Returns {removed: true} when a reaction was deleted and {removed: false} when the caller had not reacted with that emoji, and emits a reaction_removed event only in the first case. Reverse it with add_reaction. Requires workspace:write.

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": {
      "message_id": "<message_id>",
      "emoji": "<emoji>"
    },
    "name": "remove_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiYesThe emoji string the caller reacted with, matched exactly after trimming surrounding whitespace. It must be non-empty and at most 64 bytes.
message_idYesUUID of the message to remove the reaction from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / emoji / description
      Added value: +"The emoji string the caller reacted with, matched exactly after trimming surrounding whitespace. It must be non-empty and at most 64 bytes."
    • addedInput schema / properties / message_id / description
      Added value: +"UUID of the message to remove the reaction from."
  2. First observedv479.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the exact return contract ({removed: true} vs {removed: false}), the conditional event emission (reaction_removed only on actual deletion), and the authorization requirement. Annotations already flag idempotent/non-destructive, and the description complements rather than repeats them.

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?

A compact, front-loaded passage where the scope constraint comes first, followed by return semantics, the inverse tool, and the permission requirement. Every clause carries information an agent needs.

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?

Although there is no output schema, the description defines the response shape and the side effect precisely. For a two-parameter, non-destructive mutation with full annotation coverage, nothing material is missing.

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 coverage is 100%, so both message_id and emoji are fully documented in the schema, including trimming and byte limits. The description adds no parameter-level meaning beyond what the schema already provides, so the baseline of 3 applies.

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 (remove the caller's own emoji reaction from a message) and immediately delimits scope with 'other members' reactions are untouched,' which distinguishes it from any moderation-style sibling.

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?

Names the inverse operation explicitly ('Reverse it with add_reaction') and states the prerequisite 'Requires workspace:write', giving an agent clear routing and precondition context. It does not spell out an explicit when-not-to-use case, which keeps it just short of the top mark.

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

Deploy Server

Other Tools