Skip to main content
Glama
DevquasarX9

gitlab-mcp-server

by DevquasarX9

Get Merge Request Approval Rules

gitlab_get_merge_request_approval_rules
Read-onlyIdempotent

List effective approval rules for a merge request to view required approvers and conditions.

Instructions

List the effective approval rules applied to a merge request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
per_pageNo
project_idYes
merge_request_iidYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, making the tool's safety profile clear. Description adds no further behavioral details (e.g., pagination behavior, rate limits, meaning of 'effective'). With annotations present, a 3 is appropriate.

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?

Single sentence, front-loaded with key action and resource. Missing some detail but concise and to the point.

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?

With 4 parameters (2 required) and no output schema, the description is minimal. It omits pagination info and parameter purposes. However, annotations cover safety. Complete enough for basic use but lacks depth for complex scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so description must explain parameters. It does not mention project_id, merge_request_iid (both required) or pagination params (page, per_page). No parameter info is added beyond the schema itself.

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?

Description clearly states verb 'list', resource 'effective approval rules', and context 'to a merge request'. Distinguishes from sibling tools like 'gitlab_get_project_approval_rules' (project-level) and 'gitlab_get_merge_request' (general MR details).

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?

Description implies usage context (when you need approval rules for a specific MR) but provides no explicit guidance on when to use or avoid this tool vs alternatives like project-level approval rules or other MR queries.

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

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