Skip to main content
Glama

Get a build

get_build
Read-only

Read one build's status, template, and current step via build ID. Use it after completion to find which step failed; account-wide key required.

Instructions

What became of one build, which template it was for, and which step it is on. Reads once and returns; watch_build is what follows a running one. It stays readable after the build has finished, so this is also how you find out which step failed on a build nobody was watching. Needs an account-wide key: a key confined to a workspace is refused (403).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
build_idYesThe id build_template returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true. The description adds substantial context beyond this: it reads once and returns (no streaming), remains readable after the build finishes, and critically requires an account-wide key with a 403 refusal for workspace-scoped keys. This auth requirement is vital behavioral disclosure not in the schema.

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?

Front-loaded with what the tool returns, then contrasts with watch_build, then explains the post-completion use case, then gives the auth requirement. Dense but every sentence earns its place. Slightly long but no waste.

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?

Complete for a single-param read tool. Covers what it returns, when to use it vs. the sibling, behavior on finished builds, and the auth prerequisite. No output schema exists, but the description explains the return sufficiently ('what became of one build, which template, which step').

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%, with build_id documented as 'The id build_template returned'. The description adds no parameter-specific detail beyond the schema baseline, which is appropriate for a single-param tool.

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?

States a specific verb (get) and resource (one build), and clarifies scope with 'which template it was for, and which step it is on'. Explicitly distinguishes from sibling watch_build ('watch_build is what follows a running one').

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

Usage Guidelines5/5

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

Names the alternative watch_build and the condition that selects it (running build vs. reading a finished one). Also clarifies a specific use case: finding out which step failed on an unwatched build.

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