Skip to main content
Glama

mark_discussions_as_fixed

Marks specified merge request discussions as fixed with a custom or auto-generated response, then resolves them.

Instructions

Mark specific discussions as fixed/done with a response and resolve them

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>",
      "mergeRequestIid": "<mergeRequestIid>",
      "discussionIds": "<discussionIds>"
    },
    "name": "mark_discussions_as_fixed"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject ID or path (e.g., "group/project" or "123")
customMessageNoCustom message instead of auto-generated "fixed" response
discussionIdsYesArray of discussion IDs to mark as fixed
responseStyleNoStyle of "fixed" responseconcise
mergeRequestIidYesMerge request internal ID (iid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior beyond the name: a response note is posted (auto-generated 'fixed' unless customMessage is supplied) and the discussions are then resolved. It omits permissions required, whether resolution is reversible, and what happens if only some discussion IDs are valid in a bulk call.

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 sentence, front-loaded with the action and resource, with no filler. Every clause ('with a response', 'and resolve them') conveys a distinct side effect.

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 bulk mutation tool with zero annotation coverage and no output schema, the definition is only adequate. It never says whether the operation is all-or-nothing across discussionIds, what a successful call returns, or what permissions are needed on the project.

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 five parameters are already documented, including the responseStyle enum and its default. The description's phrase 'with a response' loosely maps to customMessage/responseStyle but adds no syntax, format, or constraint detail beyond the schema. 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 and resource ('Mark specific discussions as fixed/done') and adds that a response is posted and threads are resolved. It does not distinguish itself from the sibling resolve_discussion or remove_resolved_threads, so an agent must infer the difference from the bulk 'discussions' plural alone.

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 when-to-use or when-not-to-use guidance is given, and no alternatives are named despite resolve_discussion and remove_resolved_threads existing in the sibling set. The agent is left to guess whether this is the bulk equivalent of resolve_discussion or a different operation entirely.

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