Skip to main content
Glama

Set a comment's status, priority, labels or assignee

set_comment_status

Change how a comment is tracked, the same way the HTMLAnnotate app does: its status (open, in progress, resolved), priority, labels and who it is assigned to. Pass only what should change. Resolving emails everyone in the thread, and assigning emails the person assigned. Labels replace the comment's current labels (up to 3). To only mark a comment done or reopen it, resolve_comment is simpler.

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": {
      "page": "<page>",
      "number": "<number>"
    },
    "name": "set_comment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesWhich page: its name, its review link (/v/...) or its manage link.
labelsNoOptional. The labels the comment should have. An empty list clears them.
numberYesThe comment number as shown by get_comments, like 3 for #3.
statusNoOptional. The new status.
assigneeNoOptional. A teammate or reviewer on this page, by name or email. "none" unassigns it.
priorityNoOptional. "none" clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=true, so the description carries real weight here and does: it discloses that resolving emails everyone in the thread, assigning emails the assignee, and that labels replace existing labels. It doesn't say whether reopening or status churn triggers notifications, nor what the call returns, leaving a small gap.

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?

Front-loaded with the core purpose, then side effects, then the sibling alternative — a sensible order. It's slightly padded by repeating the status and priority enum values that the schema already lists.

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 six-parameter mutation with no output schema, the description covers the side effects, the replacement semantics of labels, and the unassign/clear conventions. It is only missing what the response looks like and whether reopening a comment also emits notifications.

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 coverage is 100%, so the baseline is 3, but the description adds genuine semantics beyond the schema: labels are replace-not-append (capped at 3) and the partial-update contract. It restates the status and priority enum values already in the schema, which adds nothing.

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 (change tracking fields) plus the exact resource and enumerates the four mutable properties, and explicitly contrasts itself with resolve_comment. An agent can tell it apart from resolve_comment and reply_to_comment 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 routing rule: 'To only mark a comment done or reopen it, resolve_comment is simpler,' which names the alternative and the condition that selects it. It also states partial-update usage ('Pass only what should change'), so the agent knows it need not supply every field.

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