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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "get_build_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesthe deployment job id (from list_deployments)

Output Schema

NameRequiredDescriptionDefault
liveNo
nextNo
commitNo
job_idYes
publicYes
statusYes
messageNo
ended_atNo
app_stateNo
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. Changed3 schema fields changed
    • addedOutput schema / properties / app_state
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / live
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / next
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is handled. The description goes beyond them usefully: it lists what is returned, explains that PENDING means a queued slot with self-start, and instructs continued polling — genuine operational context an agent cannot get from the annotations.

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?

Two sentences, front-loaded with the resource and scope, and the PENDING polling rule placed where it will be seen. Dense but not padded; only the em-dash field enumeration is slightly list-like but it earns its place by describing the payload.

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

Completeness4/5

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

An output schema exists, so return values need not be spelled out, yet the description summarizes them anyway to support the PENDING interpretation. For a one-parameter read-only status tool this is essentially complete; only sibling routing is missing.

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 coverage is 100% and the single parameter already documents itself as the deployment job id from list_deployments. The description's '(by job_id)' repeats that rather than adding format or sourcing detail, so the schema does the heavy lifting and baseline 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?

States a specific verb+resource: build status of a deployment, keyed by job_id, with the fields it returns (attempt status, attempt number, timing, failure diagnosis). This is clearly distinct from get_app_status, get_plan_status and get_rollback_status by the word 'build', but no sibling is named, 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 polling instruction ('PENDING with queue_position means the build waits ... keep polling') gives real behavioral guidance on when to call again, which is stronger than most status tools. However, it never explains when to prefer this over get_build_logs or get_app_status, and no exclusion or prerequisite is given, so usage is only partly covered.

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