Skip to main content
Glama

lingie_upload_file

Upload local images, videos, or audio to Lingie's ComfyUI input directory. Get a filename to use for image-to-image, reference, or first-frame parameters.

Instructions

把本地文件(图片/视频/音频)上传到灵姬的 ComfyUI 输入目录,供图生图、参考图、首帧等参数使用。返回的 filename 填入相应参数即可。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNo可选:上传后使用的文件名(默认用原文件名)
file_pathYes要上传的本地文件绝对路径
Install Server

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the core effect (uploading to ComfyUI input directory) and the return value (filename), which is critical for downstream use. However, it does not disclose edge behaviors like overwrite policy, file-type validation, size limits, or whether directories are created.

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?

Two concise sentences with no filler. The action is stated immediately, followed by the practical downstream guidance about using the returned filename. Every sentence earns its place.

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?

For a low-complexity tool with 2 params and no output schema, the description adequately covers the essential context: what is uploaded, where, and how the result is consumed. It does not promise optional behavior or leave critical return information unexplained. A small gap is the lack of mention of potential failures or prerequisites like ComfyUI availability.

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 documents both file_path and filename. The description adds mild value by restricting file types to images/video/audio, which is not present in the schema, but it does not otherwise enrich the parameter meanings.

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 names a specific verb (上传/upload), a precise resource (local files to ComfyUI input directory), and states the intended use cases (image-to-image, reference image, first frame). It is clearly distinguishable from all siblings, none of which perform file upload.

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 explains when this tool is appropriate: before invoking workflows that require local media as input, such as image-to-image or reference-image params. It does not need to state alternatives because no sibling handles upload, though it could have been more explicit about the order of operations relative to lingie_run_workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/MechaBabyAi/Lingie.Mcp'

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