Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

pipelines_get_build_definitions

Retrieves build definitions for an Azure DevOps project, letting you filter by name, path, or repository to locate the pipeline configuration you need.

Instructions

Retrieves build definitions for a project.

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": {
      "project": "<project>"
    },
    "name": "pipelines_get_build_definitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum definitions.
nameNoFilter by name.
pathNoFilter by path.
projectYesProject ID or name.
repositoryIdNoFilter by repository.
repositoryTypeNoRepository type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Retrieves' implies a read, but nothing is said about pagination via the 'top' filter, whether full definition bodies or summaries are returned, or any permission requirements.

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, which is easy to parse. It is arguably under-specified rather than bloated, so no points are lost for verbosity.

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?

For a tool with six parameters, no annotations, and no output schema, one sentence is thin. The agent is left unaware of return shape, result volume, or the relationship between the filtering parameters.

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 coverage is 100%, so all six parameters and the enum values are already documented in the schema and the baseline is 3. The description only restates that results are scoped by project and adds no semantics about how the filters combine.

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 ('Retrieves build definitions') scoped to a project, so the agent knows exactly what is returned. It does not, however, distinguish this from sibling retrieval tools such as pipelines_get_build_definition_revisions or pipelines_get_builds, leaving the boundary to be inferred.

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?

There is no when-to-use guidance: no statement of prerequisites, no mention of when to prefer this over the revisions or builds tools, and no note that it is a read-only listing operation. The agent must infer all invocation context from the name alone.

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