Skip to main content
Glama

Get the status of a build

job_status
Idempotent

Use this when the person asks how a Pugi build or change is going, or for a fresh preview link. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without one (Claude Code or API) job_status reports it until the job is finished, stopped or failed. Preview links expire after 15 minutes; a new call returns a fresh link.

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

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id build_site, build_app or edit returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / job_id / description
      Previous value: -"The job_id build_site or edit returned."New value: +"The job_id build_site, build_app or edit returned."
  2. Added
  3. Removed
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond the annotations: the 15-minute preview-link expiry, that a new call mints a fresh link, and the terminal states (finished, stopped, failed) at which reporting stops. Annotations already cover safety (destructiveHint false, idempotentHint true), so the bar is lower, but the polling-until-terminal behavior is genuinely useful disclosure. It does not say what fields the response contains beyond the preview link.

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?

Three sentences, each doing distinct work: trigger, host-dependent behavior, link expiry. Front-loaded with the usage condition. No padding, though the what-it-does framing is deferred behind the when-to-use framing.

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?

With no output schema, the description must carry return semantics, and it covers the two things an agent needs: progress state and a preview link with its expiry. It stops short of enumerating the status values a caller might have to branch on, which is the main residual gap for a single-parameter polling tool.

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 job_id already documents that build_site, build_app or edit returned it, so the description adds no further meaning to the parameter. Baseline 3 applies when the schema carries the semantics.

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?

The title and first sentence establish a specific verb and resource: report how a Pugi build or change is going and hand back a preview link. It is distinguishable from build_site, build_app and edit, which the job_id parameter description names as the producers of the identifier this tool consumes. It never states the verb in a standalone 'returns status of a job' form, so it is strong but slightly implied.

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 an explicit trigger ('when the person asks how a Pugi build or change is going, or for a fresh preview link'). It also resolves the host-level alternative: where a build card renders, the card tracks progress; where it does not (Claude Code or API), job_status is the way to poll. That is exactly the when/when-not/alternative structure.

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.