Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

get_pipeline

Read-only

Retrieve details of a specific Azure DevOps pipeline by its numeric ID or name, including version information, to inspect or verify pipeline configuration.

Instructions

Get details of a specific pipeline, identified by pipelineId or pipelineName

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

Input Schema

NameRequiredDescriptionDefault
projectIdNoThe ID or name of the project (Default: MyProject)
pipelineIdNoThe numeric ID of the pipeline to retrieve. Alternatively provide pipelineName
pipelineNameNoPipeline (build definition) name, as shown in the Azure DevOps UI. Alternative to pipelineId. Prefix it with its folder path to disambiguate pipelines that share a name (e.g. "Backend/Deploy"; "/Deploy" for the root folder).
pipelineVersionNoThe version of the pipeline to retrieve (latest if not specified)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.12
    • changedInput schema / properties / pipelineId / description
      Previous value: -"The numeric ID of the pipeline to retrieve"New value: +"The numeric ID of the pipeline to retrieve. Alternatively provide pipelineName"
    • addedInput schema / properties / pipelineName
      Added value: +{
      +  "description": "Pipeline (build definition) name, as shown in the Azure DevOps UI. Alternative to pipelineId. Prefix it with its folder path to disambiguate pipelines that share a name (e.g. \"Backend/Deploy\"; \"/Deploy\" for the root folder).",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "pipelineId"
      -]
  2. Changed2 schema fields changedv1.0.6
    • addedInput schema / properties / pipelineId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / pipelineVersion / maximum
      Added value: +9007199254740991
  3. Addedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

The readOnlyHint annotation already tells the agent this is a safe read, so the description is not contradicting anything, but it also adds nothing beyond that: no note on permissions, on what 'details' includes, or on what happens when both pipelineId and pipelineName are supplied. It is essentially a restatement of the name plus the parameter names.

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 states the resource and the identification mechanism with no filler. It is well sized for the tool's simplicity, though the trailing clause is slightly redundant with the schema.

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 lookup with four well-described parameters and no output schema, the description covers the essentials but leaves the return payload ('details') undefined, so an agent does not know what fields to expect. Adequate but with a clear gap.

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 schema already fully documents projectId, pipelineId, pipelineName (including folder-path disambiguation), and pipelineVersion. The description only echoes the two identifier parameters and adds no format or precedence detail beyond what the schema provides, so the baseline of 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 uses a specific verb and resource ('Get details of a specific pipeline') and scopes it to a single pipeline, which implicitly separates it from list_pipeline_runs, get_pipeline_log, and get_pipeline_run. It does not explicitly name any sibling, so the differentiation is inferred rather than stated.

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 description implies when to use it by saying it needs a pipelineId or pipelineName, but gives no explicit guidance on when to prefer it over get_pipeline_run or pipeline_timeline, and no exclusions or prerequisites are stated. Usage is inferable but not spelled out.

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