Skip to main content
Glama
Azure DevOps MCP Server
by billg118

trigger_pipeline

Triggers an Azure DevOps pipeline run with optional branch, project, variables, template parameters, and stages to skip.

Instructions

Trigger a pipeline run

Input Schema

NameRequiredDescriptionDefault
branchNoThe branch to run the pipeline on (e.g., "main", "feature/my-branch"). If left empty, the default branch will be used
projectIdNoThe ID or name of the project (Default: no default project)
variablesNoVariables to pass to the pipeline run
pipelineIdYesThe numeric ID of the pipeline to trigger
stagesToSkipNoStages to skip in the pipeline run
templateParametersNoParameters for template-based pipelines

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.54

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, yet it only implies a mutation via 'trigger'. It says nothing about required permissions, whether the run starts asynchronously, whether triggering is idempotent or can create duplicate runs, or what happens on invalid pipelineId.

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 four-word sentence with zero waste and the core action front-loaded. It is efficient but borders on under-specification for a six-parameter mutation tool, which keeps it from a 5.

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?

This is a complex mutation with six parameters, nested objects (variables, templateParameters), no annotations, and no output schema. The description explains neither the outcome of triggering (e.g., a created run and its identifier) nor any operational constraints, leaving the definition substantially incomplete relative to its complexity.

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% and every parameter (pipelineId, branch, projectId, variables, stagesToSkip, templateParameters) is documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema — for example, it never notes that pipelineId is the sole required field.

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 names a specific verb and resource — 'Trigger a pipeline run' — which is clearly distinct from read-oriented siblings such as list_pipelines, get_pipeline, and list_pipeline_runs. It does not, however, explicitly position itself against those siblings or mention what it returns, so it stops short of 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?

There is no guidance on when to use this tool versus list_pipeline_runs or get_pipeline_run, no mention of prerequisites (permissions, branch existence, required pipeline state), and no note on when triggering is inappropriate. An agent must infer all of this.

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