Skip to main content
Glama

update_comment

Edit a comment's text. Author-only: even a board admin cannot rewrite someone else's comment (they can only delete it). Optional if_match enforces optimistic concurrency against the comment's current etag (HTTP 412 etag_mismatch on a stale value, same contract as update_card); omit it for last-write-wins. Mirrors PATCH /v1/comments/{comment_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": {
      "comment_id": "<comment_id>",
      "text": "<text>"
    },
    "name": "update_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
if_matchNo
comment_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the authorization model, that admin privileges do not override authorship, the optimistic-concurrency contract via if_match, the 412 etag_mismatch failure mode, and the default last-write-wins behavior when if_match is omitted.

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 dense sentences, front-loaded with the core action, followed by the authorization caveat and concurrency details in priority order. Every sentence contributes distinct information with no repetition.

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 mutation tool with no annotations, the description covers authorization, concurrency, error behavior, and the underlying endpoint. It is nearly complete, though it omits what happens to non-existent comments, whether edited timestamps are touched, and any validation constraints on the text payload.

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

Parameters4/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 compensate. It explains if_match's semantics thoroughly (etag comparison, error contract, omission behavior) and implies comment_id through the PATCH path, but adds no detail about text constraints such as length limits or formatting support.

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 ('Edit a comment's text') and scopes it to text only, which distinguishes it from delete_comment and update_card. The mention that admins 'can only delete it' further separates this tool's domain from deletion tools.

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

Usage Guidelines4/5

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

Gives a clear usage condition (author-only) and an implicit alternative path for non-authors (deletion). It stops short of naming delete_comment directly or stating what to call for other comment operations, but the conditional guidance for who may invoke it is explicit.

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