Skip to main content
Glama

OpenFactory

get_build_status

Get the current status of a build.

Returns the build stage (e.g., preparing, building, testing) and any current progress information.

IMPORTANT: check test_status as well as status — a build can be "built" (the ISO exists) while automated verification FAILED or ERRORED. Treat test_status of "failed"/"error" as a problem to surface to the user; test_detail carries the failure message. diagnostic_next_tool="get_test_results" takes latest_test_run_id. diagnostic_next_tool="get_build_evidence" takes build_id; rejected admissions reserve a run id without creating a test result.

overall_status is this build's own outcome, read from its row, and is what says whether the build is certified now: built_unverified means the row records a certification other than certified, even when a run passed. build_goal_state is the state of the goal that owns the build. An accepted recipe or checklist change withdraws the old certificate and reopens a completed hosted goal in its existing thread, preserving budgets and historical verdicts.

A failed image build carries failed_hook (the hook that stopped it, when one did) and failure_excerpt (that hook's output, else the current terminal error or build log's causal summary). Read them before changing config/ or building again.

A build-script contract failure (first-run app install, GNOME extensions) does not produce a test run at all — it sets certification_status to "uncertified" and leaves its harvested logs on the build. Call get_build_evidence for those before concluding there is nothing to read.

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": {
      "build_id": "<build_id>"
    },
    "name": "get_build_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenFactory MCP API key (optional)
build_idYesThe build ID to check
session_tokenNoSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so unusually well. It discloses non-obvious semantics (overall_status read from the row vs build_goal_state of the owning goal, built_unverified meaning a non-certified row even when a run passed), certificate withdrawal on accepted recipe changes, admission rejections that reserve a run id without a test result, and build-script contract failures that produce no test run at all.

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

Conciseness3/5

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

The critical warning (check test_status, not just status) is correctly front-loaded, but the body is long and mixes in taxonomic detail about goal state, certificate withdrawal, and hook failure mechanics that is tangential to invoking this tool. Several paragraphs read as a field glossary rather than call guidance.

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, yet the description adds the interpretive layer a schema cannot supply — how to read built_unverified, what failure_excerpt contains, and when absence of a test run is expected. It covers the decision-relevant surface well; it does not state that the call is a non-mutating read or address freshness/staleness of the reported status.

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%, so build_id and session_token are already documented in the schema; the description only restates that get_build_evidence takes build_id. The parameters it names in detail (latest_test_run_id) belong to a sibling tool, not this one. Baseline 3 applies when the schema does the work.

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?

Opens with a concrete verb and resource ('Get the current status of a build') and immediately states what is returned (build stage plus progress info). It does not explicitly differentiate itself from lookalike siblings such as get_build or get_app_build_status, so the agent must infer which status tool applies from names alone.

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?

Gives actionable conditional routing: check test_status alongside status, treat 'failed'/'error' as a problem to surface, and call get_test_results or get_build_evidence via diagnostic_next_tool with the named id. Also states a clear precondition-style rule — read failed_hook and failure_excerpt before changing config/ or rebuilding. Lacks any exclusion telling the agent when another status tool is the better choice.

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.