Skip to main content
Glama
Azure DevOps MCP Server
by billg118

create_branch

Create a new branch from an existing branch in an Azure DevOps repository by specifying the repository, source branch, and new branch name.

Instructions

Create a new branch from an existing one

Input Schema

NameRequiredDescriptionDefault
newBranchYesName of the new branch to create (without "refs/heads/", e.g., "feature/my-branch")
projectIdNoThe ID or name of the project (Default: no default project)
repositoryIdYesThe ID or name of the repository
sourceBranchYesName of the branch to copy from (without "refs/heads/", e.g., "master")
organizationIdNoThe ID or name of the organization (Default: example-org)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.54

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and falls well short. It does not say whether the call fails if the branch already exists, whether it is idempotent, what permissions or write access are required, or whether branch protection applies — all critical for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is structurally clean. However, for a 5-parameter mutation tool with no annotations, that brevity reads as under-specification rather than efficient conciseness.

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

Completeness2/5

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

A write operation with no annotations, no output schema, and five parameters gets only one sentence, leaving the agent without expected return values, error conditions, or side effects. The rich schema descriptions compensate partially, but the description itself is inadequate for 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?

Schema description coverage is 100% and the schema even documents the refs/heads naming convention and an example, so the description needn't repeat parameter details. The description adds no meaning beyond the schema, making the baseline 3 appropriate.

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

Purpose4/5

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

The description states a specific verb and resource (create a branch) plus the origin (from an existing one), so the operation is unambiguous. Siblings contain no other branch-creation tool, so no explicit differentiation is needed, but the branch is implicitly a repository branch only because the schema says so, not the description.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance: nothing about when to branch versus committing to an existing branch, no prerequisite that the source branch must exist, and no mention that this pairs with create_pull_request for new-branch workflows. The only procedural hint (refs/heads formatting) lives in the schema, not the description.

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