Skip to main content
Glama

Get async job status

aside_job_status
Read-onlyIdempotent

Poll a browser job by job_id to check whether it is running, done, or errored; a read-only status lookup to decide when to fetch the job result.

Instructions

Return JSON {job_id, status: running|done|error, title, elapsed_sec, error} for a job started with aside_job_start; isError with 'unknown job_id' if not found. Read-only; poll until status is not 'running', then call aside_job_result.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes10-character hex job id returned by aside_job_start. Jobs live in gateway memory and are lost on restart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes beyond them by disclosing the failure mode ('isError with unknown job_id') and the polling contract. It stops short of stating polling frequency or backoff, which would matter for a status endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact clauses, front-loaded with the return shape, then the error case and the next action. No filler, and every clause carries information an agent needs.

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?

With one required parameter, no output schema, and full annotation coverage, the description supplies exactly the missing pieces: return shape, error signal, and the follow-up call. Nothing needed to invoke it correctly is absent.

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 documents the 10-character hex format and the in-memory/restart caveat. The description only ties job_id back to its producing tool, adding little beyond the schema, so the baseline 3 applies.

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 (return status) and resource (a job started with aside_job_start), and enumerates the exact response fields, so an agent can distinguish it immediately from aside_job_result and aside_job_start.

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 explicit operational guidance: poll until status is not 'running', then switch to aside_job_result. That names both the loop condition and the successor tool, leaving nothing to inference.

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