Skip to main content
Glama

resolve_merge_request_discussion

Resolve or unresolve a code review discussion thread on a GitLab merge request by setting its resolved status. Use project ID, MR IID, and discussion ID.

Instructions

Resolve or unresolve a code review discussion thread on an MR

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resolvedYesSet to true to resolve the thread, false to unresolve
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 resolve or unresolve
merge_request_iidYesMerge request IID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the bidirectional resolve/unresolve effect, which is the key behavioral trait, but says nothing about permissions, idempotency, error conditions, or what happens to the thread on resolution.

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?

A single ten-word sentence that front-loads the action and resource with zero filler or redundancy.

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?

For a four-parameter mutation tool with no annotations and no output schema, the description is adequate but thin: it covers the core action yet omits permission requirements, idempotency, and any indication of the return behavior, leaving gaps an agent might need.

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 the schema already documents all four parameters, including the resolve/unresolve semantics of the 'resolved' flag. The description adds nothing beyond the schema, 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 pair (resolve/unresolve) and the exact resource (code review discussion thread on an MR). It is distinguishable from siblings like reply_merge_request_discussion and list_merge_request_discussions, though it doesn't name them explicitly.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as reply_merge_request_discussion or update_merge_request_discussion_note. The agent must infer the context entirely.

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