Skip to main content
Glama

Delete MR Note Emoji Reaction

gitlab_delete_merge_request_note_emoji_reaction
Destructive

Permanently delete a specific emoji reaction from a GitLab merge request note. Use to remove unwanted reactions by providing the merge request IID, note ID, and award ID.

Instructions

Delete an emoji reaction from a merge request note permanently. Irreversible for that reaction. Requires merge_request_iid, note_id, and award_id. Recommended pre-check: gitlab_list_merge_request_note_emoji_reactions.

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": {
      "merge_request_iid": "<merge_request_iid>",
      "note_id": "<note_id>",
      "award_id": "<award_id>"
    },
    "name": "gitlab_delete_merge_request_note_emoji_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
note_idYes
award_idYes
project_idNo
discussion_idNo
merge_request_iidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • removedInput schema / properties / discussion_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / discussion_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

B3.4/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 idempotentHint=false, so the description's 'permanently' largely restates what the agent already knows. It does add one useful nuance — 'Irreversible for that reaction' scopes the destruction to the reaction only, not the note. Nothing is said about error behavior when award_id is stale or about the idempotentHint=false consequence of repeating the call.

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?

Three short sentences, front-loaded with the destructive action and its irreversibility. The required-params sentence is mildly redundant with the schema but useful for planning. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent tool with five parameters and no output schema, the description covers the essentials (action, irreversibility, required inputs, discovery pre-step). It leaves the role of project_id and discussion_id unexplained and says nothing about failure modes, which is a real gap at 0% schema coverage.

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 does not. It names the three required params (merge_request_iid, note_id, award_id) but explains none of them, and the two optional params project_id and discussion_id are never mentioned. It adds essentially nothing beyond the schema's own required list.

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 and resource: 'Delete an emoji reaction from a merge request note'. The note-level scoping implicitly distinguishes it from the merge-request-level sibling, and 'permanently' clarifies intent. It does not name the sibling it is not, so differentiation is inferred from scope rather than stated.

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?

Gives a concrete pre-step: 'Recommended pre-check: gitlab_list_merge_request_note_emoji_reactions', which is the natural way to obtain the award_id. No when-not guidance or exclusions are given, but the context for use is clear.

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