Skip to main content
Glama

jobs_download_artifact

Download a completed job's artifact by filename to a local file. Specify the project, job ID, filename, and output path to retrieve outputs like proof.json.

Instructions

Download a completed managed job's artifact by filename (e.g. proof.json, public.json, prove-output.log) to a local file. Discover the recorded filenames from the artifacts map returned by jobs_get; the legacy run402:// refs were retired in favor of these gateway URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID
job_idYesManaged job run ID (must be completed)
filenameYesArtifact filename to download, e.g. proof.json, public.json, prove-output.log. Discover the recorded set from the artifacts map returned by jobs_get.
output_pathYesLocal filesystem path to write the artifact bytes to. Parent directories will be created.
Behavior3/5

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

No annotations provided, so description carries the full burden. It mentions the job must be completed and downloads to a local file, but lacks details on side effects like overwriting behavior, size limits, or required permissions. Adequate but not comprehensive.

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 sentences, front-loaded with the core action, every sentence adds value. Highly concise and well-structured.

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 4 parameters fully described in schema and no output schema, the description provides the necessary workflow context. It could mention error handling for incomplete jobs or missing artifacts, but is largely complete.

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%, baseline 3. The description adds value by explaining that filenames come from jobs_get and that legacy refs are retired, providing context beyond the schema.

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 action (download), resource (artifact from completed managed job), and specific filename. It differentiates from sibling tools like jobs_get and jobs_logs by focusing on downloading a specific artifact by filename.

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 explains that filenames are discovered from jobs_get and that legacy refs are retired, guiding when to use this tool. It could be more explicit about when not to use it, but the context is clear.

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/kychee-com/run402'

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