Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

merge_change_request

Merge a code change request into the target branch using a specified merge type, with optional message and source branch deletion. Resolves the need to integrate code changes while controlling merge strategy.

Instructions

[Code Management] Merge a change request (merge request) using a specific merge type (ff-only / no-fast-forward / squash / rebase), with an optional merge message and optional source-branch deletion. This rewrites the target branch and is not reversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localIdYes局部ID,表示代码库中第几个合并请求。示例:'1' 或 '42'
mergeTypeYes合并类型。ff-only - fast-forward-only 合并;no-fast-forward - 普通合并;squash - 压缩合并;rebase - rebase 合并
mergeMessageNo合并提交信息。示例:'merge message'
repositoryIdYes代码库ID或全路径(斜杠须编码为%2F),如 2835387 或 myorg%2FmyRepo
organizationIdYes组织ID
removeSourceBranchNo是否在合并后删除源分支。不传则由云效按默认行为处理
Behavior5/5

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

The description explicitly warns that this operation 'rewrites the target branch and is not reversible,' a critical side effect. It also mentions optional source-branch deletion. Since no annotations are provided, the description fully carries the burden and does so well.

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 long, and well-structured with a category tag. Every sentence adds value without unnecessary fluff.

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?

For a mutation with no output schema, the description is quite complete, clearly explaining side effects and options. It could be improved by mentioning what happens after a successful merge, but it adequately covers the tool's complexity.

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 already provides comprehensive descriptions (100% coverage), so the description does not need to add extra parameter details. The description adds context about the effect of mergeType and removeSourceBranch but does not introduce new information beyond the schema.

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 verb and resource ('Merge a change request') and specifies the merge types and options. It distinguishes itself from siblings like review_change_request by focusing on the merge action.

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 clearly outlines the use case: merging with a specific merge type. However, it does not explicitly detail when to use this tool versus a review or comment tool, though the sibling context makes it clear. It mentions optional source-branch deletion, providing context on its capabilities.

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/aliyun/alibabacloud-devops-mcp-server'

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