Skip to main content
Glama

Poll a job

job_status
Read-only

Check the live status of a pipeline job: stage, per-scene progress, log tail, and final result or error with failure artifact locations.

Instructions

Status, stage, per-scene progress (scenesTotal/scenesDone/currentScene — populated for probe/record/render/voice/captions/compose), log tail, and final result or error (with failure-artifact paths and, on a genuine failure, a feedbackHint pointing at the feedback tool) of a pipeline job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYes
tailLinesNolog lines to return (default 40)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
errorNo
jobIdYes
stageYes
resultNo
statusYes
demoDirYes
endedAtYes
logFileYes
logTailYes
startedAtYes
scenesDoneYes
scenesTotalYes
currentSceneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only provide readOnlyHint=true, and the description adds meaningful behavior: progress fields are populated only for certain stages, and it returns log tail, failure-artifact paths, and a feedbackHint on genuine failure. No contradiction with 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?

The description is a single dense sentence that front-loads the core fields and packs in useful specifics like the stages for which progress is populated and failure artifact details. It is somewhat heavy due to parentheticals, but every element earns its place.

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?

Given that an output schema exists, the description sufficiently covers what is returned, including status, stage, progress, log tail, result/error, failure artifacts, and feedbackHint. It omits explicit lifecycle or polling guidance, such as when a job is considered complete, but this is not a critical gap.

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?

The schema documents tailLines with a default, while jobId has no description, but 'of a pipeline job' implies its role as the job identifier. The description clarifies return contents rather than parameter-specific semantics, only partially compensating for the 50% schema coverage.

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?

The description clearly states that the tool returns status, stage, per-scene progress, log tail, and final result/error for a pipeline job. This is specific enough to distinguish it from siblings like job_list and job_cancel.

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 title 'Poll a job' implies its intended use for checking job progression, but there is no explicit when-to-use or when-not-to-use guidance against alternatives such as job_list or job_cancel. Usage context is mostly inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.