Skip to main content
Glama

gitlab_create_merge_request_note

Comment on a GitLab merge request by specifying the project, merge request IID, and note body. Attach notes to the MR thread for team discussion.

Instructions

Comment on an MR (POST /merge_requests/:iid/notes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
projectIdYesNumeric ID or path with namespace, e.g. group/project.
mergeRequestIidYes
Install Server

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Comment on an MR' and gives the POST endpoint; it does not state that the action creates a persistent note, what permissions are required, whether it is reversible, or what response to expect. The POST method implies a write but adds little beyond that.

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, scannable sentence with no filler. The endpoint parenthetical adds a small but useful technical clarification, and every word earns its place.

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 three required parameters, no annotations, and no output schema, this description is too sparse. It omits usage context, expected response, error conditions, and behavioral caveats, leaving the agent to infer most details from the name and endpoint.

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 description coverage is only 33% (only projectId is documented). The description does not explain mergeRequestIid or body, though 'Comment' and 'MR' weakly imply body is the comment text and the IID identifies the merge request. This does not adequately compensate for the undocumented parameters.

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 clearly states the action (comment) and resource (merge request), reinforced by the explicit POST endpoint. It does not explicitly differentiate from sibling tools, but the tool name and 'MR' make the target unambiguous.

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?

No guidance is given about when to use this tool versus alternatives, nor when not to use it. There is no mention of prerequisites, contexts, or exclusions, leaving the agent to infer usage entirely from the name and endpoint.

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

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/iwilldotdev/dev.mcp'

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