Skip to main content
Glama

get_job

Read-only

Retrieve status and progress for background offline download or archive extraction jobs by job ID, optionally blocking up to 25 seconds for completion.

Instructions

Get the status and progress of a background job (offline download or archive extraction). wait=true blocks up to 25 seconds for it to finish.

Input Schema

NameRequiredDescriptionDefault
waitNowait up to 25 seconds for the job to finish
job_idYesjob UUID returned by fetch_url or extract_archive

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
kindYesfetch_url or extract_archive
titleYesfile name once known, otherwise the link's host; archive name for extraction
statusYesqueued, running, done, failed or canceled
parent_idNotarget folder; omitted means the root
bytes_doneYes
created_atYes
error_codeNowhy it failed; on success GOT_HTML means the server returned a web page instead of a file
files_doneNo
bytes_totalNo
files_totalNo
finished_atNo
error_messageNo
files_skippedNoarchive entries skipped: unsafe paths, links or invalid names
result_node_idNothe downloaded file, or the folder files were extracted into

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description earns credit for disclosing the blocking behavior and the concrete 25-second cap on wait=true, which an agent must know to avoid appearing hung. It stops short of saying what is returned if the job has not finished within that window, which is the one behavioral detail still missing.

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 short sentences, no filler, with the core purpose stated first and the blocking caveat second. 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.

Completeness4/5

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

For a two-parameter read tool with full schema coverage and an output schema, this covers what is needed to call it correctly. The only shortfall is the unstated post-timeout behavior, which matters for interpreting a returned in-progress status.

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%, with both job_id and wait already documented in the schema, including the 'up to 25 seconds' phrasing. The description restates the wait semantics rather than adding new meaning such as default value or what wait=false implies. Baseline 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?

States a specific verb and resource ('Get the status and progress of a background job') and enumerates the job kinds it covers (offline download, archive extraction). An agent can tell it apart from mutation siblings, though it never names list_jobs, the closest read sibling.

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

Usage Guidelines3/5

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

Usage is only implied: the schema notes job_id comes from fetch_url or extract_archive, and the description explains the wait flag. There is no explicit guidance on when to poll with this tool versus listing jobs with list_jobs, nor when to prefer wait=true over repeated calls.

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