Skip to main content
Glama

fetch_job_file

Download a job result file to a local path after a file delivery. Supports resume and enforces a maximum file size.

Instructions

Download a job result that was delivered as a FILE (transferred P2P via iroh) to a local path. Use this after submit_and_pay_job or get_job_result reports a file result. Resumable and bounded by a max file size; the bytes are written to disk, never returned to you inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_event_idYes
output_pathYesLocal path to write the downloaded result file to.
allow_outside_cwdNoAllow writing outside the MCP server working directory. Off by default: the bytes come from an untrusted provider, so writes are confined to the working directory subtree (and never to a secret/auto-run path) unless this is set.
provider_npubNo
kind_offsetNo
timeout_secsNo
Behavior4/5

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

With no annotations, the description carries full behavioral disclosure. It states the tool is resumable, bounded by max file size, writes to disk (never returns inline), and mentions security constraints on output path (working directory confinement). This is good transparency, though it does not detail error handling or what happens on failure.

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?

The description is two sentences, front-loading the key action and context. Every sentence adds value, and there is no superfluous content.

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?

Given 6 parameters and no output schema, the description covers the core purpose, usage trigger, and key behaviors (resumable, file size bound, disk write). It lacks specifics on return values or error handling, but is sufficient for an agent to select and invoke the tool correctly in most scenarios.

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 description coverage is only 33% (output_path and allow_outside_cwd have descriptions). The description does not add extra meaning for job_event_id, provider_npub, kind_offset, or timeout_secs. The high-level context (resumable, max file size) is helpful but does not compensate fully for the lack of parameter details.

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?

The description clearly states the tool downloads a job result delivered as a FILE via iroh to a local path. It specifies the context of use (after submit_and_pay_job or get_job_result reports a file result), distinguishing it from siblings like get_job_result for inline results.

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?

The description explicitly tells when to use this tool ('after submit_and_pay_job or get_job_result reports a file result'). It does not list alternatives or exclusions, but the context is clear enough. The mention of resumability and max file size also guides usage expectations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elisymlabs/elisym'

If you have feedback or need assistance with the MCP directory API, please join our Discord server