Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

get_all_repositories_tree

Read-onlyIdempotent

Displays a hierarchical tree of files and directories across multiple Azure DevOps repositories in a project, using default branches to help inspect repository structure.

Instructions

Displays a hierarchical tree view of files and directories across multiple Azure DevOps repositories within a project, based on their default branches

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_all_repositories_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMaximum depth to traverse within each repository (0 = unlimited)
patternNoFile pattern (wildcard characters allowed) to filter files by within each repository
projectIdNoThe ID or name of the project (defaults to AZURE_DEVOPS_DEFAULT_PROJECT)
organizationIdNoThe ID or name of the organization (defaults to configured organization)
repositoryPatternNoRepository name pattern (wildcard characters allowed) to filter which repositories are included

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.0.13
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / organizationId / description
      Previous value: -"The ID or name of the Azure DevOps organization (Default: mycompany)"New value: +"The ID or name of the organization (defaults to configured organization)"
    • changedInput schema / properties / projectId / description
      Previous value: -"The ID or name of the project (Default: MyProject)"New value: +"The ID or name of the project (defaults to AZURE_DEVOPS_DEFAULT_PROJECT)"
    • removedInput schema / required
      Removed value: -[
      -  "depth"
      -]
  2. Changed1 schema field changedv1.0.6
    • addedInput schema / required
      Added value: +[
      +  "depth"
      +]
  3. Addedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds real context beyond that — traversal is on default branches only, results span multiple repositories within one project, and the view is hierarchical — but says nothing about size limits, performance with depth=0 across many repos, or what the tree output looks like.

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 that identifies the resource, the multi-repository scope, the project boundary, and the branch basis with no filler. Slightly long per clause but each clause carries distinct information.

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?

With five optional parameters, an unlimited-depth default, and no output schema, the agent gets an adequate conceptual picture but no guidance on result volume or structure across many repositories. Adequate but with clear gaps for a tool whose output could be very large.

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 every parameter (depth, pattern, projectId, organizationId, repositoryPattern) is already documented in the input schema. The description adds only the default-branch framing and does not restate or clarify filtering semantics, 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?

States a specific verb (Displays) and resource (hierarchical tree view of files and directories) plus a clear scope: across multiple repositories within a project, on default branches. The multi-repository scope implicitly separates it from the single-repo sibling get_repository_tree, but the description never names that alternative, so differentiation is left to inference.

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 phrase 'across multiple Azure DevOps repositories' implies when this tool is the right pick (breadth over a single repo), but there is no explicit when-to-use, when-not-to-use, or named alternative such as get_repository_tree. Guidance is present only by implication.

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