Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

list_repositories

Read-only

Lists repositories in a specified Azure DevOps project, helping AI assistants discover available code repositories for further actions.

Instructions

List repositories in a project

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": "list_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNoThe ID or name of the project (Default: MyProject)
includeLinksNoWhether to include reference links
organizationIdNoThe ID or name of the organization (Default: mycompany)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.0
    • addedInput schema / properties / organizationId
      Added value: +{
      +  "description": "The ID or name of the organization (Default: mycompany)",
      +  "type": "string"
      +}
    • changedInput schema / properties / projectId / description
      Previous value: -"The ID or name of the project"New value: +"The ID or name of the project (Default: MyProject)"
    • removedInput schema / required
      Removed value: -[
      -  "projectId"
      -]
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description needs to add context; it only restates project scoping. It says nothing about pagination, result limits, ordering, whether all projects' repos are reachable, or what a 'repository' object contains — meaningful gaps for a listing tool with no output schema.

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 zero filler, which is structurally clean. It is arguably too terse for what the tool needs to convey, but there is no wasted wording.

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?

With three optional parameters, no output schema, and no required arguments, the description leaves the agent guessing about default behavior (which project/org is chosen when omitted) and the shape of the response. It does not carry enough information for correct invocation without reading the schema.

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 projectId, includeLinks, and organizationId are fully documented in the schema, including their defaults. The description adds no meaning beyond that, 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+resource ('List repositories') with a scoping clause ('in a project'), so the agent knows exactly what is returned. It does not distinguish itself from the sibling get_all_repositories_tree or any other repository-related tool, which keeps it below a 5.

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 when-to-use guidance, no prerequisites, and never names an alternative such as the repository-tree tool. An agent must infer selection purely from the name.

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