Skip to main content
Glama

List doc comment reactions

list_doc_comment_reactions
Read-onlyIdempotent

List reaction counts on a doc comment. Returns reactions, each with emoji and count, and total. Needs reactions:read and docs:read.

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": {
      "docId": "<docId>",
      "commentId": "<commentId>"
    },
    "name": "list_doc_comment_reactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
docIdYesThe doc's ID, from list_docs or search.
commentIdYesThe comment's ID, from list_doc_comments.

Output Schema

NameRequiredDescriptionDefault
totalYesSum of all counts.
reactionsYesOne entry per emoji.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered elsewhere. The description's real contribution is the required scope pair (reactions:read and docs:read), which is useful auth context an agent cannot infer from annotations; the rest restates the return shape that the output schema already carries.

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?

Two sentences, front-loaded with the operation, followed by the return shape and the auth requirement. No filler, no restatement of the title, and nothing an agent must skip past.

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 simple two-parameter read with an output schema and full annotation coverage, the description covers purpose, return contents and required scopes. Only marginal items like pagination or behavior on a comment with zero reactions are absent, and the output schema largely absorbs those.

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 both parameters already carry descriptions pointing at their source tools (list_docs/search, list_doc_comments). The description adds no format, constraint, or ID-syntax detail beyond the schema, so the baseline 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 ('List reaction counts on a doc comment'), with the 'doc comment' qualifier that separates it from the sibling post/chat/task reaction listers. An agent can identify the operation and its target without opening any schema.

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?

The description supplies a prerequisite ('Needs reactions:read and docs:read') but never says when to pick this over alternatives such as list_post_comment_reactions or when a caller would want reaction data at all. Usage is implied by the resource name rather than explicitly guided.

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.

Resources