Skip to main content
Glama

manus_file_upload

Upload files from local path, base64 bytes, or public URL to get a file_id for task references. Handles presigned URL creation, byte upload, and optional wait for processing.

Instructions

Upload a file end-to-end: create presigned URL, PUT bytes, and (by default) wait until status=uploaded. Accepts one of: local path, base64-encoded bytes, or a public URL to fetch first. Returns the final file record ready to reference as file_id in tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYes
filenameNoTarget filename (extension determines type). Derived from path/url if omitted.
content_typeNoMIME type for the presigned PUT. Auto-detected from filename if omitted.
wait_for_processingNoPoll file.detail until status=uploaded (or fail). If false, return immediately after PUT.
wait_timeout_secNo
poll_interval_secNo
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the three-step process and the default waiting behavior, but does not mention side effects, error handling, or authorization requirements. The disclosure is moderate but incomplete for a mutation tool.

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 cover the core workflow, source options, and return value. Information is front-loaded and every phrase carries meaning with no redundancy. Highly efficient.

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 6 parameters and no output schema, the description covers the main workflow and return value. It lacks details on error handling and authentication, but the schema provides constraints. The overall completeness is good for an upload function.

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 50% (3 of 6 top-level parameters have descriptions). The description adds value by explaining the three source types and the wait_for_processing default behavior. However, it does not add meaning for timeout/interval parameters, which have schema constraints but no description. The description compensates partially but not fully.

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 uses a specific verb 'Upload' and clearly identifies the resource 'file'. It enumerates the end-to-end steps (create presigned URL, PUT bytes, wait) and specifies the return value. It distinguishes itself from sibling file tools (create, delete, detail) by describing the complete upload workflow.

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 states that it accepts local path, base64, or public URL, implying when to use it. However, there is no explicit guidance on when not to use it (e.g., if file already uploaded) or comparison with alternatives like manus_file_create. The usage context is clear but lacks exclusions.

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/aruxojuyu665/Manus-MCP'

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