Skip to main content
Glama

download_sample

Download malware samples to disk for offline analysis. Requires acknowledgment of potential live malware risk.

Instructions

Download a malware sample to disk for offline analysis (GATED).

DANGER: the downloaded bytes may be LIVE MALWARE. This server only writes them to a quarantine directory on disk (under SANDBOX_ARTIFACTS_DIR); it NEVER executes, unpacks or opens them. Handle the saved file only in an isolated/sandboxed environment.

Because of that risk this tool REFUSES to download unless it is called with acknowledge_malware_download=true. First call without it to receive the warning, confirm with the user, then re-call with the flag set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYessha256 (hybrid_analysis, malwarebazaar) or sample id (triage).
sandboxYes'hybrid_analysis', 'malwarebazaar' or 'triage'.
acknowledge_malware_downloadNomust be true to actually download.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations provided, so description carries full burden. Discloses critical behavioral traits: writes to quarantine directory, never executes/unpacks/opens, risk of live malware, and the two-step gate process. This is exceptionally transparent.

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?

Extremely concise with only a few sentences, front-loaded with purpose. Uses emphasis (DANGER, NEVER, REFUSES) to highlight critical warnings without extra words.

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 a high-risk tool with no annotations but with output schema, the description covers safety, gate process, and destination (SANDBOX_ARTIFACTS_DIR). Could optionally mention what to do after download, but not essential.

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. Description adds value by explaining the acknowledge_malware_download parameter's role in the gate process, beyond the schema's default and required status. The other parameters (target, sandbox) are well-described in schema without duplication.

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 malware sample to disk for offline analysis, using specific verbs ('Download') and resources ('malware sample'). It distinguishes itself from siblings like search_samples and submit_sample by focusing on downloading and the GATED mechanism.

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?

Provides clear instructions on when to use: requires acknowledge_malware_download flag and describes a two-step process (first without flag, then with flag after user confirmation). Does not explicitly compare to alternatives but the context of danger and isolation is strong guidance.

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/inadvisable-hibiscusfarragei279/Malware-Sandbox-mcp'

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