Skip to main content
Glama
mingle98

LuckyCola MCP Server

by mingle98

fileOperation

Perform file operations including delete, rename, read, write, list, JSON/Excel conversion, image compression, and OCR text extraction within the LuckyCola MCP Server environment.

Instructions

对FILE_PATH目录下的文件进行删除、重命名、读取和写入操作,以及图片压缩

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes操作类型:delete/read/rename/write/list/json2xlsx/xlsx2json/compressImage/ocrToImageBase64
filenameYes要操作的文件名(相对于FILE_PATH),当为json2xlsx任务时为.xlsx的文件名
newFilenameNo新文件名,注意word文件以.docx结尾,excel文件以.xlsx结尾
contentNo写入内容,仅在write时需要
modeNo写入模式,append为追加,overwrite为覆盖,默认覆盖
onlyFilesNolist操作时是否只列普通文件,默认false
qualityNo图片压缩质量,1-100,默认80
outputNo压缩后输出文件名,默认在原文件名后加_compressed
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 operations like delete, rename, read, write, and image compression, implying both read and write capabilities, but doesn't detail critical behaviors such as permission requirements, error handling, rate limits, or what happens during destructive operations like delete. For a multi-operation tool with potential mutations, this is a significant gap in transparency.

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 a single, efficient sentence that lists key operations without unnecessary fluff. It's front-loaded with the main actions, though it could be slightly more structured by grouping related operations. There's no wasted text, making it concise, but it lacks depth which affects completeness.

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

Completeness2/5

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

Given the tool's complexity with 8 parameters, multiple operations (including destructive ones like delete), and no annotations or output schema, the description is incomplete. It doesn't cover behavioral aspects, return values, error conditions, or how operations interact. For a tool handling file operations with varied actions, more context is needed to guide the agent effectively.

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 8 parameters with descriptions and enums. The description adds minimal value beyond the schema by listing operation types and mentioning image compression, but it doesn't provide additional semantics like parameter interactions or usage examples. Given the high schema coverage, the baseline score of 3 is appropriate as the description doesn't significantly enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool performs operations on files in the FILE_PATH directory, listing specific actions like delete, rename, read, write, and image compression. However, it's vague about the exact scope (e.g., 'fileOperation' is generic) and doesn't clearly distinguish from sibling tools like 'checkImage' or 'getFoodMenu', which might have overlapping or related functions. It provides a basic purpose but lacks specificity in differentiation.

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?

The description offers no guidance on when to use this tool versus alternatives like 'checkImage' or 'getFoodMenu'. It lists operations but doesn't specify contexts, prerequisites, or exclusions. For example, it doesn't indicate if 'compressImage' is preferred over other image-related tools or when to choose specific operations. This leaves the agent without clear usage direction.

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/mingle98/luckycola-mcp'

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