Skip to main content
Glama

get_merge_request_thread_summary

Summarize unresolved merge request threads and open questions to identify outstanding feedback that still needs attention.

Instructions

Get a concise summary of unresolved threads and open questions in a merge request

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>"
    },
    "name": "get_merge_request_thread_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject ID or path (e.g., "group/project" or "123")
mergeRequestIidYesMerge request internal ID (iid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the key behavioral trait: output is filtered to unresolved threads and open questions, not all discussions. However, it says nothing about authentication or permission requirements, whether resolved threads are excluded or annotated, how 'open questions' is determined, whether the summary is model-generated, or any size/truncation limits.

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 or redundant restatement of the tool name. It is efficient, though the brevity leaves little room for the guidance the definition otherwise lacks.

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 simple two-parameter read tool this covers what the tool returns at a high level, which matters since there is no output schema. With no annotations to cover behavior and no description of the summary's shape or scope limits, it is adequate but leaves real gaps.

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 both parameters (project, mergeRequestIid) are already fully documented with examples in the schema; the description adds no syntax or meaning beyond that. Baseline 3 applies since the schema does the heavy lifting.

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 gives a specific verb ('Get') and a specific artifact ('a concise summary of unresolved threads and open questions') scoped to a merge request, so an agent can tell it produces an aggregate rather than raw discussion records. It stops short of naming the sibling that returns unfiltered threads (get_merge_request_discussions) or otherwise differentiating explicitly.

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?

Usage is only implied: the word 'summary' plus the 'unresolved' qualifier suggest this is the aggregation-oriented choice versus raw discussion/note retrieval, but no explicit when-to-use, when-not-to-use, or alternative is stated. An agent must infer the routing decision from the wording alone.

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