Skip to main content
Glama

Get reactions

get_reactions
Read-onlyIdempotent

Get reaction counts and your reactions for an article. 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>"
    },
    "name": "get_reactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. Changed1 schema field changed
    • changedInput schema / properties / article_id / description
      Previous value: -"UUID of the article, from the `id` field returned by article tools."New value: +"UUID of the article"
  3. Changed1 schema field changed
    • changedInput schema / properties / article_id / description
      Previous value: -"UUID of the article"New value: +"UUID of the article, from the `id` field returned by article tools."
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds two useful facts beyond that: an API key is required, and the response includes both aggregate counts and the caller's own reactions (a personalized, auth-scoped result). It says nothing about rate limits, pagination, or behavior for articles with no reactions.

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?

Two short sentences with the core purpose front-loaded and the prerequisite appended; no wasted wording. It is arguably too terse for a tool whose output is not schema-documented, but nothing is redundant.

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 one-parameter read tool with rich annotations and no output schema, the description covers the essential facts: what is returned (counts plus your reactions) and the auth requirement. The absence of output schema means a brief note on response shape or empty-state behavior would have been a marginal improvement.

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% for the single article_id parameter, including UUID format and pattern, so the schema carries the parameter semantics. The description adds no additional meaning about the identifier, which is acceptable at this coverage level.

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 uses a specific verb and resource ('Get reaction counts and your reactions for an article'), making the operation clearly distinguishable from the mutation siblings add_reaction and remove_reaction. It does not explicitly name those alternatives, but the read-only framing is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus add_reaction, remove_reaction, or get_article; the only contextual statement is 'Requires API key'. An agent must infer the read-only, per-article use case from the name and annotations alone.

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.