Skip to main content
Glama

Get build

get_build
Read-onlyIdempotent

Fetch a specific Azure DevOps build or pipeline run by ID to get its status, result, and timing details.

Instructions

Fetch a single build / pipeline run by id, with its status, result, and timing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildIdYesBuild / run id (from list_builds)
projectYesProject name or id (must be within AZDO_PROJECT_ALLOWLIST when that is set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.3
    • addedInput schema / properties / buildId / description
      Added value: +"Build / run id (from list_builds)"
    • addedInput schema / properties / project / description
      Added value: +"Project name or id (must be within AZDO_PROJECT_ALLOWLIST when that is set)"
  2. Changed3 schema fields changedv0.2.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / buildId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / buildId / minimum
      Added value: +-9007199254740991
  3. First observedv0.1.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already disclose the read-only, idempotent, non-destructive, and open-world nature of the tool. The description adds value by naming what the result contains (status, result, timing), but it does not go deeper into potential access requirements, response shape, or edge cases. With annotations carrying most of the safety behavior, 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that front-loads the action, scope, and key output fields. There is no filler, and every clause contributes to understanding what the tool does.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-resource fetch tool, the description plus schema fully covers the required inputs, the return focus, and the non-destructive behavior via annotations. No output schema exists, but naming status, result, and timing gives sufficient return-value context. Nothing critical is missing for an agent to call this correctly.

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 both parameters already have meaningful descriptions, including the buildId provenance from list_builds. The tool description primarily restates the id-based lookup and does not add substantial semantics beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Fetch'), a specific resource ('a single build / pipeline run'), and the retrieval key ('by id'). It also lists the key returned aspects (status, result, timing), and the 'single' qualifier distinguishes it from sibling list_builds without relying on the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the right usage context: use this tool when you need one build identified by its id rather than a list of builds. It does not explicitly name alternatives or exclusions, but the id-based and single-item framing provides clear context. The schema's 'from list_builds' hint further reinforces the workflow.

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