Skip to main content
Glama

reply_comment

Adds one message to an existing thread of the project the call targets, to answer a remark or continue a discussion. add_comment starts a new thread, resolve_comment closes one, delete_comment removes a whole thread with its messages (a single message cannot be retracted or edited by this tool); the thread ids are read with list_comments. Effects: the message is written, the thread's last-activity date moves, and the users named in mentions are notified, but only those with real access to the project: the others are dropped without any row and named in the response warning. A reply does not reopen a resolved thread (resolve_comment with resolved=false does). Returns messageId. REFUSED with an error, nothing written, when the thread does not exist or belongs to another project ('Thread not found in this project'). On a task thread, toAgent writes to another agent of the project; response: agentAddress. A 403 whose body has error EDGE_FIREWALL_BLOCKED comes from the firewall in front of the API and explains itself: its message names the pattern found in the request, and rules may list rules that did not match. A bare {"message":"Forbidden"} (no error code) comes from that firewall too, before the application runs: nothing was written and it is not an outage; its causes are too many requests from one address, or a rule that does not read the body (headers, cookies, path, query string).

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": {
      "threadId": "<threadId>",
      "body": "<body>"
    },
    "name": "reply_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesText of the reply (plain text, rendered as written, 1 to 5000 characters)
toAgentNoTask thread only: "task-holder" (claim in force) or "arbitration-author" (who posed it), with an API key (a connector session has none). Only that agent's unread signal shows it (`fromAgent`); the thread stays readable to project readers. Not pushed; does not block closing. Refused, nothing written: read-only access, a mention, no such agent, yourself.
mentionsNoIDs of the mentioned users (max 20). Only those with REAL access to this project are notified; the others are silently dropped (no row created) and named in `warning`.
threadIdYesID of the thread to reply to (UUID, as returned by list_comments or add_comment)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).
acknowledgeCommentsNoACKNOWLEDGES the messages a human or an agent ADDRESSED to you on the task (those `unreadForYou` flags). `"all"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied first, so one call can acknowledge and close.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / acknowledgeComments / description
      Previous value: -"ACKNOWLEDGES the messages a human ADDRESSED to you on the task (those `unreadForYou` flags). `\"all\"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied before the rest of the call, so one call can acknowledge and close."New value: +"ACKNOWLEDGES the messages a human or an agent ADDRESSED to you on the task (those `unreadForYou` flags). `\"all\"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied first, so one call can acknowledge and close."
    • addedInput schema / properties / toAgent
      Added value: +{
      +  "description": "Task thread only: \"task-holder\" (claim in force) or \"arbitration-author\" (who posed it), with an API key (a connector session has none). Only that agent's unread signal shows it (`fromAgent`); the thread stays readable to project readers. Not pushed; does not block closing. Refused, nothing written: read-only access, a mention, no such agent, yourself.",
      +  "enum": [
      +    "task-holder",
      +    "arbitration-author"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / acknowledgeComments / description
      Previous value: -"ACKNOWLEDGES receipt of the messages a human ADDRESSED to you on the task (the ones `unreadForYou` flags). `\"all\"`: every message you have read IN FULL; or a list of message ids (20 at most). An acknowledgement is accepted ONLY AFTER the full body has been read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing is still waiting for your acknowledgement; replying in the thread also counts as acknowledging the messages you have read. The acknowledgement is applied before the rest of the call, so one call can acknowledge and close."New value: +"ACKNOWLEDGES the messages a human ADDRESSED to you on the task (those `unreadForYou` flags). `\"all\"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied before the rest of the call, so one call can acknowledge and close."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  4. Changed1 schema field changed
    • addedInput schema / properties / acknowledgeComments
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "all",
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "maxLength": 100,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "maxItems": 20,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  ],
      +  "description": "ACKNOWLEDGES receipt of the messages a human ADDRESSED to you on the task (the ones `unreadForYou` flags). `\"all\"`: every message you have read IN FULL; or a list of message ids (20 at most). An acknowledgement is accepted ONLY AFTER the full body has been read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing is still waiting for your acknowledgement; replying in the thread also counts as acknowledging the messages you have read. The acknowledgement is applied before the rest of the call, so one call can acknowledge and close."
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Text of the reply (plain text, rendered as written, 1 to 5000 characters)"
    • changedInput schema / properties / threadId / description
      Previous value: -"Thread ID"New value: +"ID of the thread to reply to (UUID, as returned by list_comments or add_comment)"
  6. Changed3 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / mentions / description
      Previous value: -"IDs des utilisateurs mentionnés (max 20). Seuls ceux ayant un accès RÉEL à ce projet sont notifiés ; les autres sont écartés silencieusement (aucune ligne créée) et nommés dans `warning`."New value: +"IDs of the mentioned users (max 20). Only those with REAL access to this project are notified; the others are silently dropped (no row created) and named in `warning`."
    • changedInput schema / properties / threadId / description
      Previous value: -"ID du thread"New value: +"Thread ID"
  7. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations (readOnly=false, destructive=false, openWorld=false). It discloses side effects (last-activity date moves, mention notifications, dropped mentions surfaced in `warning`), the returned `messageId`/`agentAddress`, and precise refusal behavior ('Thread not found in this project', nothing written). The 403 EDGE_FIREWALL_BLOCKED guidance distinguishes a firewall rejection from an outage and states nothing was written, which is exactly the context an agent needs to decide whether to retry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and sibling routing are correctly front-loaded, but the body is a single dense run-on with semicolon-chained clauses, and parts (the firewall paragraph's explanation of rule/headers/cookies causes) are verbose relative to the call itself. Some mention-dropping wording duplicates the schema verbatim rather than adding 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 six-parameter mutation with no output schema, the description covers the return values, side effects, refusal conditions, acknowledgement interaction with the closing lock, and error-code handling. Nothing an agent needs to invoke it correctly or interpret a failure appears to be missing.

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 text is itself detailed, so the baseline is 3. The description mostly restates parameter behavior already documented (mention dropping into `warning`, `toAgent` agent addressing) and adds only marginal new meaning, such as the note that a reply acknowledges the messages read.

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?

Opens with a specific verb+resource+scope: 'Adds one message to an existing thread of the project the call targets.' It then names the sibling boundary explicitly (add_comment starts a thread, resolve_comment closes one, delete_comment removes a whole thread), so an agent can distinguish it from neighbors without reading their schemas.

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 both when-to-use ('to answer a remark or continue a discussion') and when-not, with named alternatives for each case, plus the important edge case that a reply does not reopen a resolved thread and resolve_comment with resolved=false is the path for that. It also routes the agent to list_comments to obtain thread ids.

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.