Skip to main content
Glama

Ferrite

Poll a build or test run

build_status
Read-onlyIdempotent

Read a build, test run or fork by build_id. Pass wait_s: 50 and it waits up to 50 s for the state to change before answering, so you need no sleep between calls; call it again until terminal (deploy build 4-8 min, test run 2-4, fork seconds). Do not end your turn or rely on a background timer meanwhile: in a non-interactive session that ends the session mid-build. deployed: live at https://; give the user that URL (a new host can answer 504 for a minute or two while it is placed). rejected: reasons name each violation; fix before a new submission, preserving the selected source or committed-reference workflow. States: building, deploying (keep polling), deployed, undoing, rejected, failed (undone and refunded), stuck (an operator is paged; do not resubmit), tested / test_failed (test_ref). Never resubmit while building, deploying or undoing: that starts a second operation.

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": "build_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
wait_sNoSeconds (0-50) to wait for the state to change before answering; 0 answers at once.
build_idYes

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?

Adds substantial context beyond the readOnly/idempotent annotations: typical durations per run type, the fact that a new host may 504 for a minute or two, that rejected includes named reasons, and that failed is undone and refunded while stuck means an operator is paged. It stays consistent with readOnlyHint=true throughout.

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 purpose and the wait_s polling pattern, then states and pitfalls. Dense and useful, though the single long paragraph with heavy parentheticals takes effort to parse. Little is wasted, but it could be broken up.

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?

There is no output schema, yet the description enumerates the full state set with what each means for the agent's next move, covers the polling timing, and addresses the resubmission hazard. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description goes beyond it by explaining what wait_s actually changes – it blocks until the state changes, which is why you need no sleep – and by clarifying that build_id addresses a build, test run, or fork. It doesn't discuss the token fallback parameter, but the schema handles that.

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 specific verb+resource+identifier: 'Read a build, test run or fork by build_id'. It covers three resource types in one tool, which makes it a bit broad, but an agent can tell what it retrieves. It does not explicitly differentiate itself by name from siblings such as status or test_ref.

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?

Gives explicit operating instructions: pass wait_s: 50 to avoid sleeping, call again until terminal, don't end your turn or rely on a background timer, and never resubmit while building, deploying, or undoing. Both the when and the when-not are stated.

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.