Skip to main content
Glama

Reply to a comment

reply_to_comment
DestructiveIdempotent

Posts a public reply as the person's account under one comment from list_comments. Only call this after showing the person the exact reply and the comment it answers, and getting their clear OK. Send the words they approved, unchanged. Asking again with the same reply to the same comment returns the first one instead of posting twice.

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": {
      "postId": "<postId>",
      "commentId": "<commentId>",
      "text": "<text>"
    },
    "name": "reply_to_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe reply, exactly as the person approved it. Threads takes up to 500 characters, counting each emoji as several
postIdYesThe post the comment is on
commentIdYesFrom list_comments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: the post is public, it is attributed to the person's account, and a repeated call with the same reply to the same comment returns the first result rather than double-posting. That last point elaborates on idempotentHint with actionable detail. It stops short of saying the public reply is visible to others permanently and cannot be edited or removed, which matters given destructiveHint=true.

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?

Four short sentences, each carrying a distinct constraint: what it does, the approval gate, the verbatim requirement, and the duplicate-call behavior. No filler and the most important safety precondition is front-loaded.

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 three-parameter mutation with full schema coverage and no output schema, the definition covers purpose, consent workflow, and idempotency. The main gap is that it does not say what happens after posting — whether the reply can be edited or deleted, or what a failure looks like — which is relevant for an irreversible public write.

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%, so postId, commentId, and text are already documented, including the length limit and the commentId format. The description reinforces that text must be the approved wording unchanged, but adds no syntax or format detail the schema lacks. Baseline 3 is appropriate.

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 ('Posts a public reply ... under one comment') plus the identity it is posted as ('as the person's account'), and anchors the comment to 'one comment from list_comments'. An agent can distinguish this from create_post or list_comments 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 Guidelines5/5

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

Gives an explicit precondition chain: only after showing the person the exact reply and the comment it answers, and after their clear OK. It also specifies the ordering dependency on list_comments and the constraint to send approved words unchanged, leaving little to inference.

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