Skip to main content
Glama

agentloom_download_artifact

Downloads an artifact from the Hub to a local path, or returns its contents as UTF-8 text when the file is small. Use it to retrieve shared files from remote workers.

Instructions

Download an artifact from the Hub to a local path or return UTF-8 text if small.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "agentloom_download_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_pathNoOptional local file path to save the downloaded bytes
artifact_idYesArtifact ID (e.g. art_179558_abcd1234)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses the dual behavior (write bytes to a local path vs. return UTF-8 text), but leaves out what happens when an artifact is large and save_path is omitted, whether existing files are overwritten, and any auth or rate-limit constraints.

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?

A single front-loaded sentence with no filler; the action and both outcome modes appear before any detail. Nothing in it is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

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

For a simple two-parameter read tool with a fully documented schema and no output schema, the description is close to sufficient. The undefined 'small' cutoff and the unspecified failure mode for large artifacts without a save path are the remaining gaps an agent would want covered.

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%, so both parameters are already documented in the schema, including an example artifact ID format. The description adds only the conditional link between omitting save_path and receiving text, which is a marginal gain over the schema baseline.

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 names a specific verb and resource ('Download an artifact from the Hub') and states the two possible outcomes, so an agent knows exactly what the call does. It does not explicitly contrast with the sibling agentloom_upload_artifact, but the direction of transfer is unambiguous.

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: supplying save_path writes to disk, omitting it yields text. There is no explicit guidance on when to choose each mode, no definition of the 'small' threshold that gates the text return, and no stated alternative tool for artifacts that are too large.

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