Skip to main content
Glama

render_download

Read-onlyIdempotent

Download a render job's files to a local folder and return their paths; optionally wait for completion, and for finished finals also deliver the video to Downloads.

Instructions

Download a job's files to out_dir (default: the job's folder ~/janction-render/<job_id>) and return the local paths. The video of a finished final is also delivered to the user's Downloads folder (JANCTION_RENDER_DELIVER changes it; a given out_dir is used as is), and the reply's tell_user / tell_user_ja carries the measured time, the charge and that one file: give it to the user as is, without waiting for them to ask. only picks the files: 'all' (default), 'mp4' (just the video; use it when the user wants the video, to skip hundreds of frames), 'frames', 'sheet' or 'output'. wait_seconds > 0 first waits that long for the job to finish.

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

Input Schema

NameRequiredDescriptionDefault
onlyNo'all' (every frame plus output.mp4 / sheet.png) | 'mp4' | 'frames' | 'sheet' | 'output' (the MP4 or the sheet only).auto
job_idYesThe job_id returned by render_preview or render_final (j_...; a long final split into parts is b_...). Only this key's jobs; in render_status, leave it empty to list them.
out_dirNoLocal folder to save the files in (default ~/janction-render/<job_id>).
wait_secondsNoWait up to this many seconds for the job to finish before downloading (0 = do not wait).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.272
    • changedInput schema / properties / only / default
      Previous value: -"all"New value: +"auto"
  2. Changed4 schema fields changedv0.4.119
    • addedInput schema / properties / job_id / description
      Added value: +"The job_id returned by render_preview or render_final (j_...; a long final split into parts is b_...). Only this key's jobs; in render_status, leave it empty to list them."
    • addedInput schema / properties / only / description
      Added value: +"'all' (every frame plus output.mp4 / sheet.png) | 'mp4' | 'frames' | 'sheet' | 'output' (the MP4 or the sheet only)."
    • addedInput schema / properties / out_dir / description
      Added value: +"Local folder to save the files in (default ~/janction-render/<job_id>)."
    • addedInput schema / properties / wait_seconds / description
      Added value: +"Wait up to this many seconds for the job to finish before downloading (0 = do not wait)."
  3. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / only
      Added value: +{
      +  "default": "all",
      +  "title": "Only",
      +  "type": "string"
      +}
  4. First observedv0.2.1

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description goes well beyond them: it discloses the default output folder, that a finished final is also copied to the user's Downloads folder, that JANCTION_RENDER_DELIVER overrides that, and that the reply carries tell_user / tell_user_ja with measured time and charge. That is exactly the kind of side-effect and return-content context annotations cannot express.

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

Conciseness3/5

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

The core action is front-loaded, but the middle is a dense run-on mixing folder defaults, delivery behavior, environment variables, and agent-facing instructions to relay tell_user. Phrases like 'only picks the files' and the tell_user clause are grammatically awkward and slow parsing, though little is truly redundant.

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?

With an output schema, full annotation coverage, and 100% parameter descriptions, the description fills the remaining gaps: where files land, the extra Downloads delivery, and the wait semantics. The only real hole is the 'auto' vs 'all' default mismatch, which leaves the default file selection slightly ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns more by explaining the intent behind 'only' values and the 'out_dir used as is' behavior when explicitly supplied. One inconsistency is worth noting: the schema declares only's default as 'auto' while the description says 'all' (default), which could confuse an agent relying on the description.

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: download a job's files to out_dir and return the local paths. That is unambiguous and clearly distinct from siblings like render_status or render_final. It stops short of explicitly naming a sibling it replaces or is replaced by, so it lands at 4 rather than 5.

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

Usage Guidelines4/5

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

It gives actionable selection guidance: use 'mp4' when the user wants the video to skip hundreds of frames, and wait_seconds > 0 to block until the job finishes. It also tells the agent to relay tell_user content proactively. It does not state when NOT to call this (e.g., while a job is still rendering), so it is clear context without exclusions.

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