Skip to main content
Glama

Check a job

get_job
Read-onlyIdempotent

Check on any long-running ColorCraft job: a niche report being built, a book plan being drafted, a book being drawn, cover art, a cover wrap or an interior PDF. Pass the job_id a tool returned (it starts with "job_"). Waits up to wait_seconds (default 25, max 25) and returns as soon as something changes, so call it again right away while done is false; each call is free. When done is true, read files (download links), project_id, next_actions and any human_action. A storybook or comic paused for review has status waiting_for_approval with preview_images: show them to the person, then call approve_preview or cancel_book. A generate_front_cover job that failed after painting (result.front_image_url) stays status failed, with the error_code it failed with, once that picture is saved as the cover (update_cover_design with front_image_url): result.recovered is then true, next_actions are the book’s remaining steps, human_action is null, and there is nothing to retry.

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

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id a tool returned, e.g. job_book_…
wait_secondsNoSeconds to wait for news (default 25; 0 answers at once).

Output Schema

NameRequiredDescriptionDefault
doneYesTrue once the job will not change any more (succeeded, partial, failed or cancelled).
kindYesresearch, plan, book or finish (cover art, a cover wrap and an interior PDF are finish jobs).
filesYes
job_idYes
resultYesKind-specific result fields. An export’s are listed in its tool’s description (export_interior_pdf, export_cover_wrap); a finished export whose file is still stored also has stale, stale_reason and superseded_by: stale is true once the file no longer matches the book as it prints now (judged when the book can be read) or, for a clean (not watermarked) file, once another clean export of its kind is the file to upload (the export’s description says which; superseded_by: the newer one that is, else the newest clean one made after it, else null), and stale_reason says why and what to do. A watermarked preview is never for upload, stale or not: see watermarked and kdp_ready. A failed generate_front_cover job that painted a picture has front_image_url; once that picture is saved as the cover, also recovered: true and recovered_at (when update_cover_design marked the job; null when the saved cover shows it without the mark), is_cover and cover_front_image_url (as for a finished one: another picture can be put on the cover since), while status stays failed. A finished generate_front_cover job’s are listed in its description: is_cover says whether its picture is still the book’s saved front art (cover_front_image_url).
statusYes
messageYesA plain-language status line, or what went wrong.
plan_idYes
progressYes
report_idYes
error_codeYes
project_idYes
eta_secondsYes
cost_chargedYesPages of balance charged so far: 0 for a job that uses no pages (a plan, an export other than cover art); null for a niche report, which uses a research search instead.
human_actionYes
next_actionsYesTools that make sense next, in order.
feedback_hintNoOnly on a job that ended failed or partial: a reminder that send_feedback reports a problem to ColorCraft.
preview_imagesYesPreview page images while a storybook or comic waits for approval.
poll_after_secondsYesWhen to check again; null once done.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it as a safe read, but the description adds the long-poll contract (waits up to wait_seconds, returns as soon as something changes, free to repeat), names the key response fields (files, project_id, next_actions, human_action), and documents two non-obvious state transitions — waiting_for_approval with preview_images, and recovered cover failures where result.recovered becomes true and nothing needs retrying.

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 core action and polling rule are front-loaded, and the exception paths are appended afterwards, which is the right ordering for an agent. It is a dense block of text with some state-machine detail that could be tightened, but no sentence is filler.

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?

An output schema exists, yet the description still surfaces the fields an agent must act on and covers the two edge cases (preview approval pause, recoverable failed cover) that would otherwise cause an agent to retry or abandon a job unnecessarily. Nothing needed to invoke or interpret it 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 100% and already documents the wait_seconds default and 25s ceiling, so the schema does most of the work. The description still adds meaningful context by explaining where job_id comes from ('a tool returned', 'job_' prefix) and tying wait_seconds to the return-as-soon-as-changed polling 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 description uses a specific verb and resource ('Check on any long-running ColorCraft job') and enumerates the job kinds it covers (niche report, book plan, book draw, cover art, cover wrap, interior PDF). It does not explicitly distinguish itself from siblings like list_active_jobs or get_project, so an agent must infer that this one is keyed by a known job_id rather than listing.

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?

It explicitly says to call again immediately while done is false, notes each call is free, and routes the agent to the right siblings at the right moments: approve_preview or cancel_book when status is waiting_for_approval, update_cover_design with front_image_url when a generate_front_cover job failed after painting. When-to-use and what-to-do-next are both spelled out.

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.

Resources