Skip to main content
Glama

reply_merge_request_discussion

Post a reply comment into an existing GitLab merge request discussion thread to continue code review conversations.

Instructions

Post a reply comment into an existing MR code review discussion thread

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesMarkdown reply comment
project_idYesProject numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically.
discussion_idYesThe discussion thread ID to reply to
merge_request_iidYesMerge request IID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full behavioral burden. It does not say whether the reply requires write access, whether it reopens or affects discussion resolution state, whether edited/deleted later, or what the call returns. For a mutation tool with zero annotation coverage this is a significant gap.

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 filler; the verb and target lead. It is arguably too terse, which is an underspecification issue rather than a structure problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, no annotations, and four required parameters. The description covers the core action but omits any note on permissions, side effects on thread state, or error conditions (e.g. nonexistent discussion_id), leaving gaps an agent would want filled for a write operation.

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%, so all four parameters (project_id accepting both numeric ID and namespace path, discussion_id, merge_request_iid, body as Markdown) are already fully documented in the schema. The description adds no parameter-level detail beyond 'existing thread', so the baseline 3 applies.

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 ('Post a reply comment') and a precise target ('existing MR code review discussion thread'), which cleanly separates it from create_diff_discussion, create_merge_request_note, and update_merge_request_discussion_note. It stops short of naming the sibling it differs from, so an agent must still infer the boundary from the resource wording.

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 word 'existing' implies this is only for adding to a thread that already exists, and the required discussion_id echoes that. But there is no explicit when-to-use guidance, no mention that new threads need create_diff_discussion, and no stated prerequisites.

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