Skip to main content
Glama
5p00kyy

Seafile MCP Server

by 5p00kyy

seafile_read_file

Retrieve file content from Seafile cloud storage, returning text directly for small files or download URLs for larger or binary files.

Instructions

Read a file from Seafile.

For text files within the size limit, returns the file content directly.
For binary files or files exceeding the size limit, returns a download URL.

Args:
    repo_id: The library/repository ID.
    path: The path to the file within the library.

Returns:
    FileContent with either text content or a download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idYesLibrary/repository ID
pathYesFile path within the library

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFile name
pathYesFile path in the library
sizeYesFile size in bytes
mtimeYesLast modification timestamp
contentNoText content (if readable)
messageYesStatus message
is_binaryYesWhether the file is binary
truncatedNoWhether content was truncated
download_urlNoTemporary download URL (for binary/large files)
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: the different return behaviors for text vs. binary/large files, and the existence of a size limit. However, it doesn't specify what the actual size limit is or mention authentication requirements.

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 perfectly structured and concise: a clear purpose statement, usage guidelines in two sentences, and well-organized parameter/return sections. Every sentence earns its place with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

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

Given the tool's moderate complexity, 100% schema coverage, and the presence of an output schema (which handles return value documentation), the description is complete enough. It covers purpose, usage context, behavioral details, and parameter overview without needing to duplicate structured data.

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 description coverage is 100%, so the schema already fully documents both parameters. The description repeats the parameter names and basic meanings but doesn't add significant semantic value beyond what the schema provides, such as format examples or constraints.

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 ('Read a file from Seafile') and distinguishes it from siblings like seafile_get_file_info (which returns metadata) and seafile_get_download_link (which only provides URLs). It precisely identifies the resource being accessed.

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 about when to use this tool (for reading files) and implies alternatives through sibling tool names like seafile_get_download_link, but doesn't explicitly state when NOT to use it or name specific alternatives for different scenarios.

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