Skip to main content
Glama

Lilia Editor

Reply to a comment

reply_to_comment

Reply to a comment on a document (an id from list_comments), in the signed-in author's name, as the editor's Reply does. Anyone who can open the document may reply, viewers too. Returns the reply's id.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe reply.
commentIdYesThe comment id, from list_comments.
documentIdYesThe document id.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds real value beyond them: the authorship semantics ('in the signed-in author's name'), the permission model including viewers, and the return value ('Returns the reply's id') despite no output schema. Only notification or ordering side effects are unmentioned.

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?

A single dense sentence: the action is front-loaded, then the permission and return details. It is compact with no filler, though 'as the editor's Reply does' is a slightly indirect analogy that only pays off for users familiar with the editor.

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 3-parameter mutation with no output schema, the definition covers the essentials: what it does, the permission boundary, the id provenance, and the return value. Missing only a note on whether the reply is idempotent or whether the author can be overridden, which annotations partially cover.

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%, and the schema already says commentId comes from list_comments, so the description's provenance note is redundant. Baseline 3 applies: nothing about text formatting, length, or documentId validity is added beyond the structured fields.

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 ('Reply to a comment on a document') and anchors the commentId to list_comments, so the agent can distinguish it from list_comments. It does not, however, contrast itself with the sibling add_comment, leaving the boundary between 'add' and 'reply' to inference.

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?

It gives useful preconditions (the comment id comes from list_comments, and the reply is posted under the signed-in author) and clarifies who may use it ('Anyone who can open the document may reply, viewers too'). That is context, not a when-to-use rule: there is no exclusion or explicit alternative such as add_comment for top-level comments.

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