Skip to main content
Glama

Get async job result

aside_job_result
Read-onlyIdempotent

Retrieve a finished job's output, including text and image result blocks; returns 'still running' during execution or the job error so agents can collect results after starting work.

Instructions

Return a finished job's output: the repl result content blocks (text/image) when done, the text 'still running' while running, or isError with the job error. Read-only and repeatable; check progress cheaply with aside_job_status instead.

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_result"
  }
}

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 cover readOnly/idempotent/non-destructive, yet the description still adds the critical state-dependent behavior: a running job returns text rather than an error, and failures surface as isError. 'Read-only and repeatable' merely restates the annotations and earns no credit, and it doesn't say whether the result is retained after a successful read.

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?

One sentence that front-loads the outcome, lists the return states in a readable parallel structure, and ends with the sibling pointer. Nothing is padded.

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?

There is no output schema, so the description must carry the return-value burden, and it does so by covering all three terminal states plus the pending case. Combined with the annotation safety profile and a fully documented parameter, an agent has everything needed to call and interpret it.

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 single job_id parameter is fully documented there, including the 10-character hex format and the gateway-memory volatility. The description adds nothing about the parameter, 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 and resource (return a job's output) and enumerates the three possible result shapes: repl content blocks when done, a 'still running' text while pending, and isError with the job error. That return-shape detail also separates it cleanly from the status-checking sibling.

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 routes the agent: use this to get finished output, use aside_job_status to check progress cheaply. The alternative and the condition that selects it are both named, so no inference is required.

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