Skip to main content
Glama

Get build status

get_build_status
Read-onlyIdempotent

Build status of a deployment (by job_id): latest attempt status, attempt number, timing, and — when it failed — the diagnosed failure type, layer and suggested fix. PENDING with queue_position means the build waits for a free build slot and starts by itself; keep polling.

Input Schema

NameRequiredDescriptionDefault
job_idYesthe deployment job id (from list_deployments)

Output Schema

NameRequiredDescriptionDefault
commitNo
job_idYes
publicYes
statusYes
messageNo
ended_atNo
deploy_urlNo
started_atNo
failure_typeNo
is_canonicalYes
failure_fixesNo
failure_layerNo
attempt_numberNo
queue_positionNo
failure_messageNo
failure_suggestionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations, notably PENDING queue_position semantics and the polling expectation.

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 dense, front-loaded sentence with no wasted phrases. It prioritizes the resource, the returned status details, and the important PENDING polling behavior.

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?

With an output schema present, the description need not document return values, yet it still highlights key status semantics such as failure diagnosis and PENDING queue behavior. For a one-parameter read-only status tool with full annotations, this is complete enough.

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 the single job_id parameter is already documented in the schema as coming from list_deployments. The description only restates 'by job_id' and adds no extra format or sourcing detail 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 states a specific verb and resource: build status of a deployment by job_id. It also enumerates the returned status facets, making it clearly distinct from sibling status tools like get_app_status, get_plan_status, or get_build_logs.

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?

It provides clear usage context: call it with a job_id to inspect a deployment build and keep polling when the result is PENDING. It does not explicitly exclude alternatives such as get_build_logs or get_app_status, but the context is sufficiently clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources