Skip to main content
Glama

Upload a file to DOS

dos.upload_file
Destructive

Upload a bounded binary file to a remote DOS system when writes are enabled at both peers. Provide file path and base64 content for transfer.

Instructions

Upload one bounded binary file when writes are enabled at both peers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath relative to the target's configured file sandbox.
targetNo
overwriteNoPermit atomic replacement of an existing target file.
content_base64YesBinary file content encoded as strict RFC 4648 base64.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds the prerequisite about peer write permissions and the bounded nature of the upload. It does not describe additional side effects (e.g., default no-overwrite behavior) but does not contradict annotations.

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 sentence of 11 words, front-loaded with the verb and object, and every word adds value. No redundancy or filler.

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?

Although annotations and an output schema exist, the description leaves ambiguities: the meaning of 'bounded' (not explicitly linked to the schema's maxLength), the reference to 'peers,' the role of the 'target' parameter, and the default overwrite behavior. These gaps make the description incomplete for fully autonomous use.

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?

The schema provides descriptions for 3 of 4 parameters (path, overwrite, content_base64), covering the required ones. The tool description adds no parameter-specific meaning, and the optional 'target' parameter has no schema description nor is clarified in the tool description. With 75% schema coverage, baseline 3 is appropriate.

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 'Upload one bounded binary file' with a specific resource and target (DOS), and adds scope constraints ('bounded', 'when writes are enabled at both peers'). It distinguishes from the sibling tool dos.download_file by the upload verb.

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 provides a clear usage condition: 'when writes are enabled at both peers.' This implies when to use the tool. However, it does not explicitly name alternatives or state when not to use it, but the context is clear and free of misleading directions.

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