Skip to main content
Glama

reply_comment

Sends replies to review comments and resolves them, linking each fix to its file and timestamp while recording lessons for future edits.

Instructions

Reply to review comments and resolve them. After a round of fixes, send ONE call with replies=[{id, text, resolve, fixed_in, fixed_at, lesson}] for every comment. fixed_in: the new version's file; fixed_at: the second in it where the fix shows (a click on the reply jumps there). text: one line ('Caption 20% smaller'). Unclear comment: ask a question, resolve omitted. In a session each resolved comment needs a lesson: a rule id from get_rules, with missed=true when the edit broke that rule (the same mistake again) or missed=false for a new ask or taste near it; 'new' with rule={area, text} (it applies to the next videos too); else 'one-off'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reply_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSingle reply: comment id. Prefer replies=[...].
ruleNoAs in replies.
textNoAs in replies.
lessonNoAs in replies.
missedNoAs in replies.
libraryNoA library: 'style:<Name>' (a new name makes a new style), a project name, or 'comments' (the comment copilot's lessons, target list and best comments).
repliesNoOne reply per comment: [{id, text, resolve, fixed_in, fixed_at, lesson, rule}].
resolveNoAs in replies.
sessionNoSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.
fixed_atNoAs in replies.
fixed_inNoAs in replies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2026.11.11
    • changedInput schema / properties / library / description
      Previous value: -"A library: 'style:<Name>' for one of the user's styles (e.g. 'style:Magazine'; a new name makes a new style), a project name for that project's own additions, or 'comments' for the comment copilot's files (lessons, target list, style guide)."New value: +"A library: 'style:<Name>' (a new name makes a new style), a project name, or 'comments' (the comment copilot's lessons, target list and best comments)."
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare a non-read-only, closed-world, non-destructive write, and the description adds real behavioral context beyond that: the one-call-per-round batching discipline, the session-only lesson requirement, and the fact that fixed_at drives a navigation jump. It stops short of saying what resolving does to the comment queue or whether replies are editable, which is the remaining 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.

Conciseness3/5

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

Front-loaded with purpose, and nearly every clause carries information. But the second half devolves into semicolon-spliced run-ons (the lesson/missed sentence in particular) that are hard to parse on first read, which weakens structure for an instruction an agent must follow exactly.

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?

Covers the hard parts of an 11-parameter tool with nested reply objects and no output schema: the reply tuple, the anchoring fields, and the rule/lesson taxonomy. What is missing is modest – the effect of resolve on the comment list, any auth or permission prerequisites, and the distinction between session-scoped and library-scoped lessons beyond the library parameter description.

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?

Schema coverage is 100% and the top-level parameters merely say 'As in replies', so the description is the canonical source of meaning. It defines fixed_in, fixed_at ('the second in it where the fix shows'), the one-line style of text with an example, and the full lesson/missed tri-state ('rule id, new, or one-off'), which the schema alone does not disambiguate.

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?

Opens with a specific verb+resource pair ('Reply to review comments and resolve them') and immediately states the preferred calling shape ('send ONE call with replies=[...]'), which distinguishes it from the read-side sibling get_comments. An agent knows both what the tool does and how it differs from listing comments.

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 ('After a round of fixes'), a batching rule ('ONE call ... for every comment'), and a branching case for unclear comments ('ask a question, resolve omitted'). It also routes the agent to get_rules to obtain lesson rule ids, so no alternative is left implicit.

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