Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

repo_list_my_branches_by_repo

Lists branches created by the authenticated user in a specified repository, optionally limiting the number returned.

Instructions

Retrieve branches created by the authenticated user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repositoryId": "<repositoryId>"
    },
    "name": "repo_list_my_branches_by_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum branches to return.
repositoryIdYesThe repository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses very little: no ordering, no pagination/default behavior for the 'top' limit, no permission or visibility semantics for what 'created by' means (pusher vs. author), and no indication of truncation when results exceed the limit.

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?

A single front-loaded sentence with no filler; the scope constraint is stated immediately. It is efficient rather than padded, though its brevity is part of why behavior is under-described.

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?

For a simple two-parameter read tool with a fully documented schema and no output schema, the description covers the essentials of what it returns. It is nonetheless thin on result ordering and on how 'top' interacts with the full result set, which an agent would want before calling it.

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%, so both parameters are already documented (repositoryId as the repository ID, top as the maximum returned). The description adds nothing about either parameter, so the baseline 3 applies.

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 ('Retrieve branches') plus a clear scope qualifier ('created by the authenticated user'), which distinguishes it from the sibling repo_list_branches_by_repo without naming it. It stops short of 5 because it never explicitly contrasts itself with that sibling.

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?

Usage is only implied by the 'authenticated user' scoping: an agent can infer this is the tool for 'my branches' rather than all branches. There is no explicit when-to-use/when-not statement and no named alternative for retrieving the full branch list.

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

Deploy Server

Other Tools