Skip to main content
Glama

Get app build status

get_app_build
Read-only

Status of an app instance's last build: state (building, ok, failed or unknown), commit, start and finish times, and the tail of the build log (last 6000 characters; on failure it says why). A pod can be up and serving the previous version while a new build fails, so check this, not get_instance_health, after create_instance or update_app. Poll about every 5 seconds until state is ok or failed. Only for instances whose engine is app.

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": {
      "id": "<id>"
    },
    "name": "get_app_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of an instance whose engine is app.

Output Schema

NameRequiredDescriptionDefault
idYesInstance id.
nextYesSuggested next step for the caller.
stateYesOutcome of the last build. A pod can be up and serving the previous version while a new build fails.
commitYesCommit the build used, or null.
logTailYesLast lines of the build log (cut to the final 6000 characters); on failure it says why.
startedAtYesISO timestamp the build started, or null.
finishedAtYesISO timestamp the build finished, or null while building.
logTruncatedYesTrue when logTail was cut shorter than the account API sent it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds non-obvious behavior: the log tail is truncated to the last 6000 characters, failures include a reason, and a pod may keep serving an old version while a build fails. These are exactly the traits an agent cannot infer from annotations.

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 content is front-loaded (what is returned), then the disambiguation and polling advice, then the scope restriction. Every sentence carries operational weight; nothing is redundant.

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 explain return values, and it still summarizes them for quick selection. Given the read-only annotation, one parameter, and explicit polling and scoping guidance, an agent has everything needed to call it 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?

There is a single fully documented parameter at 100% schema coverage, so the baseline is 3. The description reinforces the engine constraint ('Only for instances whose engine is app') but adds no new syntax, format, or sourcing guidance beyond the schema.

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?

Names a specific verb and resource (status of an app instance's last build) and enumerates the returned fields and state values. It explicitly distinguishes itself from get_instance_health, so an agent can select it without opening any schema.

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?

States exactly when to use it (after create_instance or update_app, instead of get_instance_health), gives a polling cadence (~5 seconds until ok or failed), and states a strict precondition (only app-engine instances). No inference is left to the agent.

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.