Skip to main content
Glama

Poll Design Job

poll_job
Read-only

Current status of a design job (used by the Yarda widget).

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

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id design_yard returned

Output Schema

NameRequiredDescriptionDefault
pctNo
briefNoWhen review_required: the design brief frozen with the review
errorNo
stageNo
designNo
job_idNo
statusYessucceeded = design ready; queued/running = keep polling; payment_required = stop generation and ask whether the user wants payment options; call checkout_tool only after an explicit user request, never automatically; temporary rate or service limits are not payment-required; review_required = the user must approve the property preview before the design starts (nothing charged): with the Generate button in the Yarda card when in_chat_approval is true, otherwise on the secure review page (review_url)
messageYes
warningsNo
design_idNo
next_stepNoWhen review_required: what to do next
review_idNoWhen review_required: send it back to design_yard unchanged after the user confirms
review_urlNoWhen review_required and in-chat approval is unavailable: the secure page where the user approves the property outline
studio_urlNoWhere the user can edit or refine this design in Yarda's web app (finished design, saved designs, the review's outline editor or Design Studio). Opening it never approves, starts or charges a design
eta_secondsNo
stage_labelNo
upgrade_urlNo
review_stateNoWhen review_required: preparing = wait and retry; ready = waiting on the user; confirmed = start the design
checkout_toolNoWhen payment is required: the tool that returns a checkout link (subscribe)
preview_statusNoWhen review_required: whether the property preview (image, outline, brief) is shown with this result
approval_statusNoWhen review_required: the review's true state. Only the user's own approval changes awaiting_approval
review_revisionNoWhen review_required: the revision to send back with review_id
in_chat_approvalNoWhen review_required: true = the user approves with the Generate button in the Yarda card shown with this result
review_expires_atNoWhen review_required: when the review link stops working (ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered externally, and an output schema exists to describe the response. The description adds only the widget-usage context and says nothing about polling semantics such as whether a job can be in a terminal state or whether repeated calls are expected; with annotations carrying the safety burden this is adequate but thin.

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?

It is a single short sentence with the resource and action front-loaded and no filler. The trailing parenthetical about the Yarda widget is minor context that could arguably be dropped, but the definition is far from verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required param, full schema coverage, annotations, and an output schema, the basic contract is well covered externally. The gap is behavioral: for a poll tool the agent would benefit from knowing that this is meant to be called repeatedly against a job created by design_yard and what constitutes completion, none of which is stated.

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?

There is a single parameter at 100% schema description coverage; the schema already explains that job_id is 'The job_id design_yard returned'. The description adds no additional meaning about the identifier's format or lifetime, so the baseline of 3 applies.

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 states a specific verb-and-resource pair ('current status of a design job'), so an agent can tell this is a status-read tool rather than a creation or listing tool. It does not name sibling alternatives (design_yard, get_design), so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no when-not-to-use, and no pointers to alternatives. The only routing hint is the parenthetical '(used by the Yarda widget)', which describes an internal consumer rather than telling the agent when to prefer this tool over design_yard or get_design.

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