Skip to main content
Glama

Mark a comment resolved

resolve_comment

Mark a comment resolved (done), or reopen it. Use after the requested change has been made. Everyone in the thread gets an email when it is resolved. To set it to in progress, or change its priority, labels or assignee, use set_comment_status.

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": "resolve_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesWhich page: its name, its review link (/v/...) or its manage link.
numberYesThe comment number as shown by get_comments, like 3 for #3.
resolvedNotrue to resolve (default), false to reopen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, but they do not reveal the notification side effect. The description supplies that key context: 'Everyone in the thread gets an email when it is resolved,' which tells the agent the action is externally visible. It stops short of covering permission requirements or whether reopening also notifies.

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?

Three short sentences, front-loaded with the core action, then the usage trigger, then the side effect, then the alternative-tool routing. No filler or redundant restatement of the title.

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?

With only three fully documented parameters and no output schema, the description covers the essentials: what it does, when to call it, the email side effect, and where to go for other status changes. Minor omissions (auth/permission needs, whether reopening triggers email) keep it below a 5.

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 baseline would be 3, but the description adds meaning beyond schema by framing 'resolved' as the done state and making clear that in-progress is not reachable through this boolean. That clarifies the semantics of the `resolved` flag rather than merely restating it.

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 ('mark a comment resolved') and immediately clarifies the two-state nature by adding 'or reopen it'. It explicitly differs from the sibling set_comment_status, which is named in the description, so an agent can distinguish them without opening either 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 a concrete trigger ('Use after the requested change has been made') plus an explicit routing rule to the alternative: 'To set it to in progress, or change its priority, labels or assignee, use set_comment_status.' Both when-to-use and when-to-use-something-else are covered.

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