Skip to main content
Glama

Reply to a review comment

reply_to_review_comment

Reply to an existing code review thread to keep the discussion in one place. Provide the thread ID and your message to continue the conversation, with optional screenshots attached.

Instructions

Add a message to an existing thread. Use this rather than opening a new thread when responding to something someone already raised, so the discussion stays in one place. Thread ids come from list_review_comments.

To include a screenshot, write the file to disk first, then reference it as an ordinary markdown image:

The dropdown renders behind the modal:

![dropdown behind modal](/tmp/dropdown-bug.png)

The file is copied into GitWarren and the path rewritten, so the image survives /tmp being cleaned. Always write alt text - it is what agents without vision see.

If the path contains a space - "Screen Shot 2026-09-01 at 10.32.14.png", as macOS names screenshots - wrap it in angle brackets, or markdown does not read it as an image at all and it is left as plain text:

![login screen](</tmp/Screen Shot 2026-09-01 at 10.32.14.png>)

PNG, JPEG, GIF and WebP are accepted, up to 10 MB. A path that does not resolve is left in the text as written rather than failing the call, so check the returned body if it matters.

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
bodyYes
threadIdYes
agentLabelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.17

TDQS

A4.9/5.0
Behavior5/5

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

Annotations indicate a write operation (readOnlyHint false) and the description reinforces that by 'Add a message.' It goes well beyond annotations by disclosing side effects: file copying and path rewriting, size limits, behavior when a path fails (left as text), and detailed link semantics (guiUrl vs webUrl, token behavior, when each applies). This is extensive behavioral disclosure that fully prepares the agent for side effects and edge cases.

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 long but every section serves a purpose: purpose, usage distinction, image formatting, and link semantics. It is front-loaded with the core purpose, then structured logically. While it could be trimmed slightly, the density of critical information justifies its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (image handling, link nuances) and lack of output schema, the description covers all necessary ground: how to construct body, what happens with paths, how to interpret guiUrl and webUrl, and what to do when links fail. An agent can confidently invoke this tool without additional information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 0%, the description adds significant meaning: it explains that threadId comes from list_review_comments and gives a detailed explanation of how to format body for images, including markdown syntax, alt text, space handling, and size limits. This far exceeds what the schema provides, fully compensating for the lack of parameter descriptions.

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 action: 'Add a message to an existing thread.' It also distinguishes from the sibling tool by saying 'Use this rather than opening a new thread when responding to something someone already raised,' which differentiates it from add_review_comment. The purpose is specific, unambiguous, and directly contrasts with an alternative.

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?

Explicit guidance is given on when to use this tool: 'Use this rather than opening a new thread when responding to something someone already raised.' It also directs the agent to get thread ids from list_review_comments. The description further provides detailed usage for images and links, making the intended context crystal clear.

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