Skip to main content
Glama
5p00kyy

Seafile MCP Server

by 5p00kyy

seafile_upload_file

Upload binary files to Seafile cloud storage by providing content as base64-encoded data. Specify repository ID and destination path for file placement.

Instructions

Upload a binary file to Seafile.

Use this for uploading binary files by providing the content as base64.
For text files, prefer seafile_write_file instead.

Args:
    repo_id: The library/repository ID.
    path: The path where the file should be uploaded.
    base64_content: The file content encoded as base64.

Returns:
    OperationResult indicating success or failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idYesLibrary/repository ID
pathYesFile path within the library
base64_contentYesBase64 encoded file content

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoAffected path (if applicable)
messageYesResult message
successYesWhether the operation succeeded
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions that the tool uploads files and returns an 'OperationResult', which indicates success or failure, adding some behavioral context. However, it lacks details on permissions, rate limits, error handling, or side effects, leaving 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 usage guidelines and parameter details. Every sentence adds value 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.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that there is an output schema (implied by 'Returns: OperationResult'), the description does not need to detail return values. It covers purpose, usage, and parameters adequately. However, as a mutation tool with no annotations, it could benefit from more behavioral details like authentication requirements or potential impacts.

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 description coverage is 100%, so the schema already documents all parameters. The description lists the parameters and adds minimal context (e.g., 'base64 encoded file content'), but does not provide significant additional meaning beyond what the schema offers. This meets the baseline for high schema coverage.

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 binary file to Seafile') and distinguishes it from sibling tools by explicitly mentioning 'seafile_write_file' as the alternative for text files. It identifies the resource (binary file) and the target system (Seafile), providing a precise purpose.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool ('for uploading binary files') and when not to ('For text files, prefer seafile_write_file instead'), directly naming the alternative sibling tool. This gives clear context for selection among available options.

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/5p00kyy/seafile-mcp'

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