Skip to main content
Glama

photoshop_guard_job_poll

Inspect one asynchronous Guard job by job_id without waiting, so you can track state, timing, and results and decide whether to poll again or review completed work.

Instructions

Inspect one asynchronous Guard job using the job_id returned by photoshop_guard_cycle_auto; use photoshop_guard_status for document/global readiness instead. Returns immediately without waiting for completion, starting replacement work or painting; polling may record a bookkeeping event in the Guard journal. Returns ok, job_id, state, process_state, timing/heartbeat fields, next and result when available. starting/running means poll the same job again; completed means inspect result and fetch missing completed visual review via photoshop_guard_review_image before submitting previous_observation. A completed process can still have state=uncertain and ok=false when its operation is partial or uncertain: process_state is not proof of successful execution. For uncertain/stalled/failed jobs follow next and the recovery guidance from photoshop_guard_resume and photoshop_guard_reconcile; never replace running/uncertain work with another mutation and never replay uncertain execution. Unknown or unreadable job ids return isError=true with code=guard_job_not_found.

Input Schema

NameRequiredDescriptionDefault
job_idYesExact opaque job_id returned by an asynchronous photoshop_guard_cycle_auto response. Reuse it unchanged for later polls; this is not an operation_id or document_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.1
    • addedInput schema / properties / job_id / description
      Added value: +"Exact opaque job_id returned by an asynchronous photoshop_guard_cycle_auto response. Reuse it unchanged for later polls; this is not an operation_id or document_id."
  2. First observedv1.8.0-preview.1

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so: non-blocking behaviour ('returns immediately without waiting'), a side effect ('polling may record a bookkeeping event in the Guard journal'), the semantic trap that process_state is not proof of success, and the not-found error code. That is well beyond what the one-parameter schema conveys.

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 the purpose and the primary disambiguation in the first sentence, and each subsequent sentence carries a distinct rule (polling semantics, result inspection, uncertainty, recovery routing, error). It is dense but justified; the only cost is length, which pushes it just below a 5.

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?

For a polling tool with no output schema, it enumerates the returned fields, explains what each state means for the next action, and describes the error case. An agent has enough to loop correctly, avoid unsafe mutations, and route recovery without further discovery.

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 the schema already explains that job_id is an opaque id to reuse unchanged and is not an operation_id or document_id. The description adds only the provenance ('returned by photoshop_guard_cycle_auto'), so baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb+resource ('inspect one asynchronous Guard job') and immediately distinguishes itself from the sibling that operates on documents/global state. An agent can tell it apart from photoshop_guard_status and photoshop_guard_cycle_auto without reading either 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?

Explicitly names the alternatives and the conditions that select them: photoshop_guard_status for document/global readiness, poll again when starting/running, review_image before submitting an observation, resume/reconcile for uncertain or failed jobs. It even states negative guidance ('never replace running/uncertain work with another mutation').

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