Skip to main content
Glama

Download a file from DOS

dos.download_file
Read-only

Download a bounded binary file from the DOS sandbox as base64, enabling file retrieval when file reads are enabled.

Instructions

Download one bounded binary file as base64 when file reads are enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath relative to the target's configured file sandbox.
targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-safe nature is covered. The description adds valuable context: the 'bounded' constraint (likely a size limit) and the conditional 'when file reads are enabled', which indicates the tool may fail if that setting is off. This goes beyond the structured annotations, though it stops short of detailing failure modes or file-size boundaries.

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 a single clause, front-loaded with the verb 'Download' and contains all key information without redundancy. Every word earns its place; it is optimally concise.

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?

The presence of an output schema covers return values, but the description leaves ambiguity about the 'bounded' limit and the 'enabled' condition. The optional target parameter is unexplained, and there is no indication of how the tool behaves if file reads are disabled. For a tool with only two parameters, this is a moderate gap in contextual completeness.

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

Parameters2/5

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

Schema description coverage is 50% (only path has a description), and the tool description does not mention parameters at all. The path is explained in the schema, but the optional 'target' parameter is left unexplained in both schema and description. The description says 'one bounded binary file' but does not clarify how path or target affect the download, so it fails to compensate for the coverage gap.

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' a 'bounded binary file as base64'. It specifies the resource type (binary file) and output format (base64), which distinguishes it from sibling tools like upload_file. The phrase 'when file reads are enabled' adds a scope condition, making the purpose precise.

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?

The description implies use cases (downloading files) but does not explicitly state when to use this tool versus alternatives. It does not mention that upload_file would be used for the reverse operation, nor does it describe exclusions or prerequisites beyond the 'enabled' condition. Usage is implied rather than explicitly guided.

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/rvdbijl/dos-mcp'

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