Skip to main content
Glama

list_mr_discussions_tool

Retrieve threaded comments and inline code review discussions on a merge request, including file position data, to review feedback efficiently.

Instructions

List discussions (threaded comments) on a merge request.

Discussions include inline code review comments with file position data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (default: 1)
per_pageNoResults per page, max 100 (default: 20)
project_idYesProject ID or path
merge_request_iidYesMerge request internal ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description discloses that discussions include inline code comments with file position data, providing insight into the returned content. As a read-only list operation, no side effects are expected, and the description sufficiently conveys the behavior without needing to mention permissions or limitations.

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 concise and well-structured: one sentence stating the primary function, followed by a clarifying clause about the content. There is no redundant or extraneous information.

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?

The description is complete for a simple list operation. It identifies the resource and the included content (inline comments with file position data). Since an output schema exists, the lack of explicit return-value explanation is acceptable. The description is sufficient to understand the tool's scope.

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

Parameters4/5

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

The input schema already provides full descriptions for all parameters (100% coverage). The tool description adds context about the nature of discussions (including inline comments), which indirectly relates to the parameters, though it does not directly elaborate on them. This is adequate given the schema completeness.

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 (list) and the resource (discussions on a merge request), and clarifies that discussions include inline code comments with file position data. This leaves no ambiguity about the tool's purpose.

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 explains what the tool does but does not explicitly contrast it with similar tools like list_mr_notes or create_mr_discussion. It lacks guidance on when to use this tool over alternatives, though the distinction is implicit in the resource type.

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/crunchtools/mcp-gitlab'

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