Skip to main content
Glama

get_merge_request_test_report

Retrieve structured test reports for GitLab merge requests to identify specific test failures, error messages, and stack traces for debugging purposes.

Instructions

Get structured test report for a merge request with specific test failures, error messages, and stack traces. Shows the same test data visible on the GitLab MR page. Best for debugging test failures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
merge_request_iidYesInternal ID of the merge request
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions that the report shows 'the same test data visible on the GitLab MR page,' which adds useful context about data consistency. However, it lacks details on permissions, rate limits, or response format, leaving gaps for a tool that fetches potentially sensitive test data.

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 front-loaded and concise, consisting of two sentences that efficiently convey purpose and usage. Every sentence adds value without redundancy, making it easy for an agent to parse and understand quickly.

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?

Given the tool's complexity (fetching detailed test reports) and lack of annotations or output schema, the description is adequate but incomplete. It covers the purpose and use case well but omits behavioral details like error handling or data format, which could hinder an agent's ability to invoke it correctly without additional context.

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 has 100% description coverage, with the parameter merge_request_iid well-documented. The description does not add any additional meaning or context beyond what the schema provides, such as explaining how to find the IID or its relationship to other identifiers. This meets the baseline for high 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 purpose with a specific verb ('Get'), resource ('structured test report for a merge request'), and scope ('with specific test failures, error messages, and stack traces'). It distinguishes from siblings like get_merge_request_details or get_pipeline_test_summary by focusing on detailed test failure data for debugging.

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 clear context for when to use this tool ('Best for debugging test failures'), which implicitly differentiates it from siblings that might provide summaries or other MR data. However, it does not explicitly state when not to use it or name specific alternatives, such as get_pipeline_test_summary for high-level overviews.

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/FitoDomik/gitlab-mcp-server'

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