Skip to main content
Glama
PMelch
by PMelch

get_merge_request_discussions

Retrieve all discussions and comments on a GitLab merge request to review feedback and track conversation history.

Instructions

Get all discussions and comments on a merge request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
merge_request_iidYesThe IID (internal ID) of the merge request

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Get' clearly signals a read-only operation, and 'all discussions and comments' indicates the scope, but the description does not disclose pagination behavior, ordering, authentication requirements, or whether resolved/outdated comments are included.

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, information-dense sentence with no filler or redundant content. It front-loads the action and the resource, making it easy for an agent to parse quickly.

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 getter with one well-documented parameter and no output schema, the description is largely sufficient: it names the resource and the input. It could be more complete by noting return shape or pagination, but given the low complexity, the current coverage is strong.

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 100%, and the single parameter merge_request_iid is already fully described in the schema as 'The IID (internal ID) of the merge request'. The description adds no additional parameter-level meaning, so the baseline score 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 identifies a specific verb ('Get'), a specific resource ('discussions and comments on a merge request'), and the input context. It is readily distinguishable from sibling tools like get_merge_request_commits and get_merge_request_diffs, which target different aspects of a merge request.

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 the tool should be used when the agent needs merge request discussions or comments, but it does not explicitly state when to use it versus alternatives or mention any exclusions. With sibling tools all focused on different merge request data, the intended usage is discernible but not directly articulated.

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

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

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