Skip to main content
Glama
iflytek

dolphin-mcp-pilot

Official
by iflytek

ds_upload_file

Upload a file to the DolphinScheduler resource area for use in workflows. Supports binary formats like JAR or ZIP via local path or base64-encoded content.

Instructions

Upload a file to the resource area (supports binary, e.g. jar / zip).

Two ways to provide file content: Method 1: local_path — path to a file accessible by the MCP server process Method 2: file_name + file_content_base64 — base64-encoded content

Args: local_path: Local file path (Method 1) file_name: Filename with extension (Method 2) file_content_base64: Base64-encoded file content (Method 2) current_dir: Parent directory path, default root "/" resource_type: FILE or UDF

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameNo
local_pathNo
current_dirNo/
resource_typeNoFILE
file_content_base64No
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the tool supports binary content and explains the two input methods, which is useful. However, it does not disclose side effects (e.g., whether existing files are overwritten), permissions required, or what the response/return value looks like after a successful upload.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear purpose statement, a 'Methods' section, and an 'Args' list. It is slightly longer than necessary but every sentence adds value and the front-loaded opening sentence gives immediate context. No redundant information.

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 description covers parameters thoroughly, but it lacks information about the outcome of the upload (e.g., response format, success/failure behavior, or whether it creates vs overwrites a resource). Since there is no output schema, the description should include at least a brief note on what the tool returns or what happens after execution.

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

Parameters5/5

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

The schema has no descriptions for its 5 parameters, but the description explicitly explains every parameter: local_path, file_name, file_content_base64, current_dir, and resource_type. It also clarifies the relationship between parameters (Method 1 vs Method 2) and provides defaults, fully compensating for the lack of schema descriptions.

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's function: 'Upload a file to the resource area' with support for binary formats like jar/zip. This distinguishes it from sibling tools such as ds_online_create_file (which likely handles text file creation) and ds_update_resource_content (which updates existing content).

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 clear context on the two methods for providing file content (local_path vs file_name + base64), making the usage explicit. However, it does not mention when to use this tool over alternatives like ds_online_create_file or ds_update_resource_content, nor does it state any exclusions or prerequisites.

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/iflytek/dolphin-mcp-pilot'

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