Skip to main content
Glama

get_comments

Read-only

Retrieve review comments from a session or library, defaulting to open items, with frame and quote context to understand feedback.

Instructions

The user's review comments in a session or a library (pass library, not session). Video: 'when' (start/end s), an optional rect (x,y,w,h fractions from top left) and a 'frame' PNG with the area outlined in orange: read it to see what the comment means; 'said' quotes the words spoken then (from the video's transcript). Image: rect + frame. Text (script, variant, README.md, tokens.json): 'quote' is the selected text. Default: open comments.

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": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoOptional: only this file, e.g. 'edits/hook-v2.mp4'.
statusNoopen (default), resolved or all.
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).
sessionNoSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing the shape of each returned comment per medium (video 'when'/'rect'/'frame'/'said', image 'rect + frame', text 'quote'), plus the interpretive hint to read the outlined frame to understand intent. It omits pagination, ordering, and what an empty result looks like.

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?

Purpose and the library/session rule are front-loaded, and every following clause carries distinct information about a different return field, so nothing is padding. The telegraphic style ('Image: rect + frame.') is dense but slows parsing slightly, keeping it below top marks.

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?

With four optional parameters fully described in the schema and no output schema, the description correctly spends its budget explaining the return payload, which is exactly the gap structured fields leave. What remains uncovered is behavior an agent might need: whether session and library can be combined, result ordering, and whether results are truncated.

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 coverage is 100%, so the enum values and the library/session/file semantics are already documented structurally; baseline 3 applies. The description adds only marginal meaning, chiefly the 'pass library, not session' preference and confirmation that status defaults to open, both of which are already close to what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first clause names a specific resource and scope: 'The user's review comments in a session or a library'. That is enough to separate it from siblings like get_session or get_library, which return the containers rather than their review comments. It stops short of 5 because no alternative is named for the near-miss case of fetching comments another way.

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?

There is a partial routing rule ('pass library, not session') and a stated default ('Default: open comments'), which is real when-to-use guidance. However, the parenthetical is ambiguous about whether the two parameters are mutually exclusive or which wins when both are supplied, and no sibling alternative is offered. Usage is implied rather than fully spelled out.

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