Skip to main content
Glama
revenant20
by revenant20

get_merge_request

Retrieve complete merge request details by local ID, including title, branches, status, reviewers, conflicts, and UUID for updates. Inspect an MR before approving or merging.

Instructions

Get full details of a merge request by its local numeric ID. Returns title, description, source/target branches, status, reviewers, conflict info, and the MR UUID needed for update_merge_request. Use this to inspect an MR before approving or merging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mr_idYesMerge request local ID
ownerYesProject owner alias
projectYesProject alias
Behavior4/5

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

Without annotations, the description carries the transparency burden. It discloses the returned fields (title, description, branches, status, reviewers, conflict info, MR UUID) and notes the UUID's role for update_merge_request. While it doesn't explicitly state 'read-only' or mention side effects, the verb 'Get' strongly implies a non-mutating operation, and the return payload details add valuable behavioral context.

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 concise (two sentences) and front-loaded with the core purpose. The first sentence states the action and identifier; the second lists return values and the use case. Every word adds value, with no redundant or off-topic information.

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

Completeness4/5

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

Since there is no output schema, the description helpfully enumerates the return fields, which is crucial for an agent to understand the response. It also places the tool in a workflow ('before approving or merging'). It omits potential error scenarios or permission requirements, but for a straightforward read tool, this is nearly complete.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds the phrase 'local numeric ID' to clarify mr_id, but it doesn't enrich owner/project semantics. No significant additional meaning is provided beyond the schema, which is acceptable given full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Get full details of a merge request by its local numeric ID.' It specifies the resource (merge request) and the identifier type, and the list of returned fields distinguishes it from sibling tools like list_merge_requests or update_merge_request.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a concrete use case: 'Use this to inspect an MR before approving or merging.' This clearly indicates when to use the tool, though it does not explicitly mention when not to use it or name alternatives. The guidance is contextual but lacks explicit exclusions.

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

Install Server

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/revenant20/gitflic-mcp'

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