Skip to main content
Glama

Reply to Comment

reply_comment
Destructive

Post an agent-authored reply to an existing comment thread. Use comment_id from list_comments (threads[].id), not the document ID, and supply nonblank text up to 1,000 characters after trimming. The thread must be writable and comments must be enabled. Replying reopens a resolved thread, may notify the signer, and returns the new reply ID. Use resolve_comment to change resolution without posting a message. Requires envelopes:send access.

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": {
      "comment_id": "<comment_id>",
      "text": "<text>"
    },
    "name": "reply_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
comment_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations carry the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=true), and the description adds context beyond them: replying reopens a resolved thread, may notify the signer, and requires envelopes:send access. It also discloses the return value (new reply ID) even though an output schema exists. Nothing here contradicts the annotations; the side effects described are consistent with a non-idempotent mutation.

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?

No sentence is filler and the core action is front-loaded, followed by ID sourcing, constraints, side effects, the alternative, and auth — a logical order. The middle sentences are densely packed with several constraints each, which makes it slightly run-on, but nothing can be cut without losing instruction value.

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

Completeness5/5

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

For a two-parameter mutation with an output schema, the description covers everything an agent needs: what it does, where the ID comes from, text validation limits, preconditions on thread state, side effects, permissions, and the sibling for the adjacent operation. Return values are documented in the output schema and reinforced in prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 the full burden, and it does: it identifies the exact source and shape of comment_id (threads[].id from list_comments, not the document ID) and constrains text (nonblank, up to 1,000 characters after trimming). Both parameters gain meaning that the bare schema does not provide.

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 ('Post an agent-authored reply to an existing comment thread') and immediately disambiguates from siblings by naming list_comments as the source of the ID and resolve_comment as the non-posting alternative. An agent can distinguish this from every other comment tool without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions for use ('The thread must be writable and comments must be enabled') and names the alternative with the condition that selects it ('Use resolve_comment to change resolution without posting a message'). It also warns that comment_id must come from list_comments threads[].id rather than a document ID, which is the single most likely misuse path.

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