Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

react_message

Adds an emoji reaction such as 👍 LIKE or ❤️ LOVE to a LINE message by message ID, making the response visible to everyone in the conversation.

Instructions

Adds a reaction to a LINE message, visible to the conversation. reaction_type: 2 = 👍 LIKE, 3 = ❤️ LOVE, 4 = 😆 LAUGH, 5 = 😮 SURPRISE, 6 = 😢 SAD, 7 = 😡 ANGRY (default 2). One reaction per call.

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

Input Schema

NameRequiredDescriptionDefault
message_idYesLINE message id to react to, as returned by get_chat_messages.
reaction_typeNoPredefined reaction: 2=👍LIKE, 3=❤️LOVE, 4=😆LAUGH, 5=😮SURPRISE, 6=😢SAD, 7=😡ANGRY. Default 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.7.2
    • removedInput schema / properties / messageId
      Removed value: -{
      -  "description": "LINE message id to react to, as returned by get_chat_messages.",
      -  "type": "string"
      -}
    • addedInput schema / properties / message_id
      Added value: +{
      +  "description": "LINE message id to react to, as returned by get_chat_messages.",
      +  "type": "string"
      +}
    • removedInput schema / properties / reactionType
      Removed value: -{
      -  "description": "Predefined reaction: 2=👍LIKE, 3=❤️LOVE, 4=😆LAUGH, 5=😮SURPRISE, 6=😢SAD, 7=😡ANGRY. Default 2.",
      -  "type": "number"
      -}
    • addedInput schema / properties / reaction_type
      Added value: +{
      +  "description": "Predefined reaction: 2=👍LIKE, 3=❤️LOVE, 4=😆LAUGH, 5=😮SURPRISE, 6=😢SAD, 7=😡ANGRY. Default 2.",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "messageId"
      -]New value: +[
      +  "message_id"
      +]
  2. Addedv0.4.1
  3. Removedv0.3.0
  4. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose that the reaction is visible to the conversation and that only one reaction is sent per call. It does not say whether a repeat call replaces an existing reaction, whether the acting user must be a conversation member, or what the call returns, leaving meaningful gaps for a mutation tool.

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?

Front-loaded with the action, then the enum table, then the one-reaction constraint; no filler sentences. The cost is that the emoji enum mapping duplicates the schema verbatim, which is redundant text rather than new information.

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 simple two-parameter tool with no output schema and no annotations, the description covers purpose, reaction codes, and the per-call limit. It omits replacement semantics on re-reaction and whether anything (e.g., a reaction reference usable by cancel_reaction) is returned, which an agent would want before invoking.

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 description coverage is 100% and the schema already documents both `message_id` and the full reaction_type mapping, so the description's enum table largely restates structured data. Baseline 3 applies; it adds the '(default 2)' reminder but no new parameter meaning.

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 ('Adds a reaction to a LINE message') plus the scope of visibility ('visible to the conversation'), so the agent knows exactly what effect the call produces. It does not name the counterpart `cancel_reaction`, so removal behavior is not differentiated, which keeps it short of a 5.

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?

Usage is only implied by the purpose statement; there is no explicit when-to-use rule, no mention of when not to react, and no pointer to `cancel_reaction` for undoing. The only operational guidance is the constraint 'One reaction per call', which is a limit rather than selection guidance.

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