Skip to main content
Glama

Resolve a review comment

resolve_comment
Idempotent

Marks a review thread as resolved or reopens it with resolved:false. Use after replying that the requested change was made so reviewers see why the thread closed.

Instructions

Mark a review thread resolved (resolved:false reopens it). Resolve a thread once the change it asked for is made — reply first with what you did, so the reviewer sees why it closed. Never resolve someone else's question you have not answered. Changes no file.

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

Input Schema

NameRequiredDescriptionDefault
projectNoProject id. Optional when the access token is scoped to exactly one project.
resolvedNofalse reopens the thread (default true).
comment_idYesThe thread, as list_comments names it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.22.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is largely covered; the description still adds real context by clarifying that no file changes occur and that resolving is reversible via resolved:false. It does not mention permission requirements or what the call returns on an invalid comment_id, leaving a modest gap for a mutation tool.

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?

Three short sentences, front-loaded with the action and its inverse, followed by workflow guidance and a scope limit. The only waste is restating the resolved:false semantics already present in the schema.

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 three-parameter, non-destructive mutation with full annotation coverage and no output schema, the description covers effect, reversibility, ordering, and prohibitions. Only error behavior and confirming what the resolved thread looks like afterward are left unaddressed.

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%, so all three parameters are already documented, and the description's note that resolved:false reopens the thread merely repeats the schema text for that property. It adds no new detail for comment_id or project beyond the schema; the 3 baseline is appropriate.

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 review thread resolved') plus the inverse operation ('resolved:false reopens it'), which distinguishes it from siblings like reply_comment or delete_comment without needing their schemas. The trailing 'Changes no file' bounds the effect precisely.

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 trigger ('once the change it asked for is made'), an explicit ordering rule ('reply first with what you did'), and an explicit prohibition ('Never resolve someone else's question you have not answered'). This is genuine when/when-not guidance rather than implied usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.