Skip to main content
Glama

List comments

gitlab_list_notes
Read-only

Retrieve comments (notes) from GitLab issues, merge requests, snippets, or epics by specifying target type and ID, with pagination support.

Instructions

Lists comments (notes) on an issue, merge request, snippet or epic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iidYesiid of the issue/MR (id for snippets and epics)
pageNoPage number (default 1)
sortNo
limitNoCap for all_pages (default 500)
group_idNoRequired for epics
per_pageNoItems per page, max 100 (default 20)
all_pagesNoFollow pagination and return up to `limit` items across pages
project_idNoProject id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID.
target_typeYes
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds no further behavioral details (e.g., pagination behavior, ordering, whether system notes are included). It does not contradict the annotations, but it also doesn't go beyond what structured data already states.

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

Conciseness5/5

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

The description is a single, front-loaded sentence that states exactly what the tool does. It wastes no words and includes the key scope (target types), making it highly concise and well-structured.

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?

For a simple listing tool with rich schema coverage and read-only annotations, the description is sufficient to convey the core behavior. No output schema exists, but the term 'comments (notes)' makes the return value unambiguous. It could mention pagination or that it returns a list, but the tool name covers this. Overall, it is nearly complete for this complexity level.

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 78%, so most parameters are already documented in the schema. The description itself does not elaborate on any parameter semantics beyond naming the target types, which the schema already enumerates. With high schema coverage, the baseline of 3 applies.

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 'Lists comments (notes) on an issue, merge request, snippet or epic.' This gives a specific verb, a clear resource type, and the supported target types, distinguishing it from sibling tools like gitlab_list_discussions or gitlab_create_note.

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 implies when to use the tool (to fetch comments on a specifiable target type) but does not explicitly contrast it with alternatives like gitlab_list_discussions or provide any exclusions. The context is clear enough from the name and schema, but no additional guidance is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amalychev/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server