Skip to main content
Glama

Resolve or reopen a thread

resolve_review_comment
Idempotent

Mark a code review discussion as resolved once addressed, or reopen it if needed. Records the action while keeping the thread readable.

Instructions

Mark a discussion settled, or reopen one. Set resolved to true once the point has been addressed, false to bring it back. Resolving records who did it; it never deletes the messages, which stay readable.

Each result carries guiUrl, a link that opens this in GitWarren. Show it to the user - it exists to be clicked, and it is how they see this without going and finding it themselves. The link works whether or not GitWarren is running right now, so hand it over without checking anything. If the user says it will not open - the browser reports that the connection was refused - then GitWarren is not running on their machine, and starting it makes the same link work. When the page is served by gitwarren serve or by a plugin rather than by the app, the link also carries that launch's token, which the page exchanges for a cookie; a link minted before a restart says it needs a token, and the newest link is the one that works.

When this machine is reachable on the user's tailnet, results also carry webUrl. The two links are for two situations and neither replaces the other: guiUrl opens GitWarren on the machine the user is sitting at, which is the right one when that is this machine; webUrl opens the same review in a browser from any of their devices - a phone, a laptop across the room - because it names this machine on their tailnet. Offer webUrl when the user is not at this machine, and both when you do not know.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resolvedYes
threadIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.17

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds meaningful context beyond these: it notes that resolving records who did it, that it never deletes messages (reinforcing non-destructive), and explains the behavior of returned links (guiUrl, webUrl) and token handling. This enriches the behavioral profile without contradicting the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is detailed and well-structured with paragraphs, but it is somewhat verbose. The front-loaded purpose is clear, yet the extensive explanation of guiUrl/webUrl and token behavior could be trimmed for brevity while preserving essential usage guidance. It is informative but not concise.

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?

Given the tool's complexity (mutation with side effects and link outputs) and the absence of an output schema, the description covers necessary aspects: it explains the mutation's recording behavior, non-destructive nature, and the two link types and when to offer each. This is sufficient for an agent to call the tool and handle results appropriately.

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?

With 0% schema description coverage, the description must compensate, and it does for the `resolved` parameter: it explains that `true` marks the point addressed and `false` reopens it. `threadId` is not elaborated, but its purpose is self-evident from the parameter name and the tool's purpose. The description adds semantic value for the key parameter.

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 opens with 'Mark a discussion settled, or reopen one,' which is a specific verb+resource pair that clearly identifies the tool's action. It explicitly states the two possible outcomes (resolve or reopen) and ties them to the `resolved` parameter, making the purpose unmistakable and distinct from sibling tools like `update_review_comment` which handles content edits.

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

Usage Guidelines3/5

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

The description gives situational context by saying 'Set `resolved` to true once the point has been addressed, false to bring it back,' which implies when to use it. However, it does not explicitly compare against alternatives like `update_review_comment` or `delete_review_comment`, nor does it state when not to use this tool, so the guidance is implied rather than explicit.

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