Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

create_branch

Create a new branch in a Codeup repository to isolate code changes. Provide organization, repository, new branch name, and an optional source branch.

Instructions

[Code Management] Create a new branch in a Codeup repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoSource branch name, the new branch will be created based on this branch, default value is mastermaster
branchYesName of the branch to be created
repositoryIdYesRepository ID, or org/repo path with slashes URL-encoded as %2F. e.g. 2835387 or myorg%2Fmyrepo
organizationIdYesOrganization ID
Install Server

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It clearly states the mutation (creating a branch), but it does not disclose behaviors such as that the branch is based on the ref parameter, what happens if the branch already exists, permission requirements, or side effects. The description is not misleading, but it is thin on behavioral detail.

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 a single sentence that directly states the action and resource, with a short '[Code Management]' context prefix. It contains no filler or redundant explanation, is easy to parse, and front-loads the most important 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?

For a simple create operation with fully documented schema fields, the description is almost sufficient. It does not mention output/return values, but no output schema is declared and creating a branch typically has a minimal response. The main gap is missing context about branch source or failure conditions, which the schema partially covers via the ref parameter.

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%, and all parameters (ref, branch, repositoryId, organizationId, ref default) are already documented in the input schema. The description adds no additional semantics about parameter values, relationships, or accepted formats, so it stays at the baseline without enhancing parameter understanding.

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 uses the specific verb 'Create' with a clear resource ('a new branch') and says the branch is created in a Codeup repository. It immediately distinguishes this from siblings such as get_branch, delete_branch, and list_branches, so the agent can choose it based on the creation intent.

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?

The description implies the tool is used whenever a new branch is needed, but it does not explicitly state when to use it vs alternatives or mention any preconditions, exclusions, or conflicting scenarios. There is no guidance about choosing this over other branching-related tools, only the general intent implied by 'Create a new branch.'

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

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