Skip to main content
Glama

hue_upload_file

Upload local files to HDFS for storage and processing in Hadoop environments. Specify the local file path and HDFS destination directory to transfer data.

Instructions

Upload a local file to HDFS.

Args:
    local_file_path: Path to the local file to upload
    hdfs_destination: Destination directory in HDFS

Returns:
    OperationResult indicating success

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
local_file_pathYes
hdfs_destinationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoRelevant path for the operation
messageYesStatus message
successYesWhether the operation succeeded
Behavior2/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 mentions the return type ('OperationResult indicating success') but fails to detail critical aspects like permissions needed, file size limits, overwrite behavior, or error handling, leaving significant gaps 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?

The description is well-structured and front-loaded with the core purpose, followed by clear sections for Args and Returns. Every sentence earns its place without redundancy, making it efficient and easy to parse.

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?

Given the tool's complexity as a file upload operation with no annotations and an output schema, the description is minimally adequate. It covers basic purpose and parameters but lacks behavioral details like side effects or error cases, which are crucial for safe usage in this context.

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?

The description adds meaningful context beyond the input schema, which has 0% coverage. It explains that 'local_file_path' is the source and 'hdfs_destination' is the target directory, clarifying their roles. However, it doesn't specify format details like path syntax or HDFS conventions, slightly limiting completeness.

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 specific action ('Upload a local file to HDFS') with the resource ('local file'), distinguishing it from siblings like download or list operations. It explicitly names the tool's function without being vague or tautological.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, such as hue_upload_directory (if it existed) or how it relates to siblings like hue_download_file. The description lacks context about prerequisites or exclusions, offering only basic usage without comparative advice.

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/SpanishST/hueclientrest-mpc'

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