Skip to main content
Glama

Resolve a Review Comment

review-resolve
Idempotent

Close ONE review comment WITHOUT a commit — for what a commit message cannot carry: a question answered, or a deliberate decision not to make the change, explained in note. When a commit does address the comment, prefer the trailer AgentGrid-Resolves: <reviewId>#<index> in its message: that records which commit resolved it, which this cannot. Closing ends the exchange — if you are asking the reviewer something rather than answering them, use review-reply instead, which leaves the comment open for them to come back to. You may close a comment addressed to you, or one marked unassigned. Safe to retry — a comment already closed answers resolved: false rather than failing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional note for the reviewer, for what a commit cannot say — a question answered, or a deliberate decision not to make the change. It is added to the comment as your closing message.
commentIdYesThe comment to close, as returned by review-list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations indicate idempotentHint=true and readOnlyHint=false, but the description adds meaningful context: it states that closing ends the exchangeaiman, that it is safe to retry (already closed comments return resolved:false), and that it works without a commit. This goes beyond the annotations, providing important operational details about the tool's behavior.

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?

The description is a single paragraph with multiple sentences, but it is dense and information-rich. It is not overly long for the complexity of the tool, and each sentence adds value: purpose, use cases, alternatives, constraints, and retry behavior. It is well-structured with logical flow from what it does to when to use it to edge cases.

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 tool with only 2 parameters, no output schema, and annotations covering mutability and idempotency, the description covers the essential aspects: what it does, when to use it, how to use it, and what happens on retry. The only minor gap is not explicitly stating the outcome (that the comment becomes 'resolved'), but the description implies it. Overall, it is quite complete for its complexity.

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?

The schema description coverage is 100%, meaning the schema already fully documents both parameters. The description adds context for 'note' (what it is for) and 'commentId' (how it is obtained), which is slightly beyond the schema but not significantly. The baseline is 3 given the coverage, and the description doesn't add substantial new meaning beyond what the schema already provides.

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?

The description clearly states the specific action: 'Close ONE review comment WITHOUT a commit' and explains its intended use cases (questions answered, deliberate decisions not to make changes). It distinguishes itself from siblings like review-reply and the commit trailer mechanism, making it easy to know exactly what this tool does.

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?

The description provides explicit guidance on when to use this tool versus alternatives: it contrasts with the commit trailer (for when a commit addresses the comment) and review-reply (for asking a question instead of answering). It also notes that closing 'ends the exchange' and specifies that you may close comments addressed to you or marked 'unassigned'. This is comprehensive with clear exclusions.

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.