Skip to main content
Glama

list_comments

Lists comments for the current project by default and supports status, project, archived-item, and text-search filters to help you locate open feedback and review fixes.

Instructions

List comments. Defaults to open comments for the current project.

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

Input Schema

NameRequiredDescriptionDefault
queryNoText search in comment, source, location and fix note.
statusNoopen
projectNoProject id or name. Omit to use the project whose folder contains the current directory. Use "all" for every project.
archivedNoInclude comments cleaned off the pile: "only" for just those, "all" for both. Omit to hide them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a read-style tool. It states the default filter, but says nothing about ordering, result limits/pagination, what a comment record contains, or whether archived comments are excluded by default — all things an agent needs to interpret the output.

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?

Two short sentences, front-loaded with the action and then the default behavior; nothing is padded or redundant within itself. It is efficient but leans toward under-specification rather than tight completeness.

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

Completeness2/5

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

With no annotations and no output schema, the description is the only place to learn about return shape, ordering, and result size, and it covers none of that. For a four-parameter listing tool with no structured behavioral metadata, this is too thin.

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 description coverage is 75%, with the status default and project-resolution rule already documented in the schema, so the schema does the heavy lifting. The description's "defaults to open comments for the current project" merely restates those two schema facts and adds no meaning for query or archived.

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 description gives a specific verb and resource ("List comments") plus the default scope (open comments, current project), so the agent knows exactly what comes back by default. It does not differentiate from sibling reads such as get_comment or the list_projects family, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus get_comment for a single item, or versus restore_comments/mark_fixed which also operate on the same comment set. The only usage signal is the implicit default scope, which the agent must infer rather than being told.

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