Skip to main content
Glama

Add reaction

add_reaction
Idempotent

Add a reaction to an article. No-ops if already reacted. Requires API key.

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": {
      "article_id": "<article_id>",
      "type": "<type>"
    },
    "name": "add_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesReaction type: like, clap, or bookmark
article_idYesUUID of the article

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / article_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed2 schema fields changed
    • changedInput schema / properties / article_id / description
      Previous value: -"UUID of the article to react to, from the `id` field of article tools."New value: +"UUID of the article"
    • changedInput schema / properties / type / description
      Previous value: -"Which reaction to add: 'like' approval, 'clap' stronger approval, 'bookmark' save for later."New value: +"Reaction type: like, clap, or bookmark"
  3. Changed2 schema fields changed
    • changedInput schema / properties / article_id / description
      Previous value: -"UUID of the article"New value: +"UUID of the article to react to, from the `id` field of article tools."
    • changedInput schema / properties / type / description
      Previous value: -"Reaction type: like, clap, or bookmark"New value: +"Which reaction to add: 'like' approval, 'clap' stronger approval, 'bookmark' save for later."
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the no-op behavior restates the idempotency hint. The one genuinely additive piece is the authentication requirement ('Requires API key'), which annotations do not cover; nothing is said about what a successful reaction returns or any rate limits.

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?

Three short sentences, zero filler, with the core action front-loaded and the operational caveats following. Nothing could be removed without losing information.

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

Completeness4/5

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

For a two-parameter, fully described, non-destructive and idempotent tool with no output schema, the description covers the essentials. The only minor gap is that it does not indicate what happens on success (e.g., whether the reaction is returned or counts increment).

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% and the enum for reaction type is already documented in the schema, so the description need not explain parameters. It adds no meaning beyond the schema, which is the expected baseline here.

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 and resource ('Add a reaction to an article'), which is unambiguous and clearly distinct from the counterpart remove_reaction. It stops short of naming siblings or contrasting with get_reactions, so it is clear but not fully differentiated.

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?

'No-ops if already reacted' tells the agent the call is safe to repeat, and 'Requires API key' signals a prerequisite, but there is no explicit when-to-use versus when-to-use-remove_reaction guidance. Usage context is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.