Skip to main content
Glama

List branches

list_branches
Read-onlyIdempotent

List all branch heads in an Azure DevOps repository by specifying project and repo, enabling review of available branches for comparison or merge.

Instructions

List branches (heads) of a repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository id or name
projectYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the operational safety profile. The description adds only the clarification that branches are heads, but provides no additional behavioral context such as result format, ordering, or authentication needs. The annotations carry most of the burden, so a baseline score 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.

Conciseness5/5

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

A single, front-loaded sentence conveys the core action and scope with no wasted words. Every element earns its place.

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?

The tool is simple and the annotations cover safety, but the description lacks usage guidance, output format details, and clarity on the 'project' parameter. It is adequate for a basic read-only list operation yet has clear gaps.

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

Parameters2/5

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

Schema coverage is 50%, with only 'repo' described in the schema and 'project' left undocumented. The description adds no parameter-level meaning and does not compensate for the missing 'project' explanation, leaving an agent to guess its role.

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 a specific verb ('List') and resource ('branches (heads) of a repository'), making the tool's function immediately clear. It also distinguishes itself from sibling tools like list_repositories and list_pull_requests by naming the exact resource being operated on.

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?

The description gives no guidance on when to use this tool versus alternatives such as list_repositories or list_pull_requests. Usage context is only implied by the resource name, with no exclusions or conditions provided.

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

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/dockndevai/mcp-azure-devops'

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