Skip to main content
Glama

list_merge_request_discussions

List inline code review discussions and threads on a GitLab merge request, with an optional filter to show only unresolved items needing attention.

Instructions

List inline code review discussions and threads on an MR (supports unresolved_only filter)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
per_pageYes
project_idYesProject numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically.
unresolved_onlyYesIf true, returns only unresolved discussions that need attention
merge_request_iidYesMerge request IID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'List' implies a read operation, but the description discloses nothing about pagination behavior, return format, or result structure. The only behavioral note, the unresolved_only filter, merely restates a schema field.

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?

A single front-loaded sentence with no waste. It is appropriately sized, though it leans toward under-specification rather than genuine density of information.

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?

For a tool with five parameters, no annotations, and no output schema, the description is thin. It omits pagination guidance and any hint of what is returned, leaving gaps an agent would need to fill by trial and error.

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

Parameters2/5

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

Schema coverage is a middling 60%, with page and per_page left undocumented and the description adding no syntax or format detail for any parameter. The mention of 'unresolved_only filter' duplicates the schema rather than extending it, leaving the undocumented pagination parameters unaddressed.

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?

States a specific verb (List) and resource (inline code review discussions and threads on an MR), which is clear and distinct from the mutation siblings like create_diff_discussion and resolve_merge_request_discussion. It does not explicitly name an alternative tool, 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 Guidelines3/5

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

The parenthetical 'supports unresolved_only filter' implies a usage context (filtering to discussions needing attention), but there is no explicit when-to-use guidance or any named alternative to route the agent toward. Usage is only loosely implied.

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