Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

list_teams

Read-onlyIdempotent

Lists teams in an Azure DevOps project or across all projects in an organization, with filters for membership and pagination.

Instructions

List teams in a project or across all projects in the organization/collection

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_teams"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum number of teams to return (1-1000, default: 100)
mineNoIf true, return only teams the authenticated user is a member of
skipNoNumber of teams to skip (non-negative integer)
projectIdNoThe ID or name of the project to list teams for (defaults to AZURE_DEVOPS_DEFAULT_PROJECT unless allProjects is true; lists org/collection-wide teams when omitted and no default project is configured)
allProjectsNoIf true, list teams across all projects in the organization or collection (ignores projectId and AZURE_DEVOPS_DEFAULT_PROJECT)
expandIdentityNoIf true, expand identity information in the returned team objects (supported on Azure DevOps Server 2020+ and Services; automatically omitted when unset, false, or unsupported)
organizationIdNoThe ID or name of the organization (defaults to configured organization)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.13

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 only the scoping behavior (project vs all projects), which largely duplicates schema text; it says nothing about result volume, pagination expectations, or permission requirements beyond the annotation set.

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 padding; the resource and scope are stated first. It is efficient, though it leaves room for one short clause on paging or default behavior that would cost little.

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 read-only, fully documented 7-parameter list tool with annotations and no output schema, the description is adequate but thin. It omits the default-project fallback, pagination semantics (top/skip), and the mine filter, relying entirely on the schema to carry those.

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 the baseline is 3. The description's project/org distinction loosely frames projectId and allProjects, but adds no meaning beyond what the schema properties already spell out verbatim, including the default-project fallback.

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 gives a specific verb and resource ("List teams") and adds a scope qualifier: project-scoped versus organization/collection-wide. This makes the basic operation unmistakable. It stops short of naming any sibling tool, so an agent must infer from parameter semantics which of the many list_* tools to pick.

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 implied by the scope clause (project-level vs org-wide), which hints at when each mode applies, but there is no explicit when-to-use or when-not-to-use guidance and no alternative named. Nothing tells the agent how this differs from list_projects or list_organizations in terms of intent.

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