Skip to main content
Glama

upload_file_api_v1_files

Upload files to OpenWebUI with optional processing and metadata for administrative management.

Instructions

Upload File

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processNo
process_in_backgroundNo
fileYes
metadataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
created_atYes
dataNo
filenameYes
hashNo
idYes
metaYes
updated_atNo
user_idYes
Behavior1/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as side effects, authentication needs, rate limits, or what happens after upload. The description carries the full burden but fails entirely.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While the description is short ('Upload File'), it is under-specified rather than concise. It does not efficiently convey necessary information and wastes the opportunity to add value. Every sentence should earn its place; this one does not.

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

Completeness1/5

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

Given the tool has 4 parameters, no annotations, and a complex ecosystem of sibling tools, the description is woefully incomplete. The agent cannot understand the tool's role, its parameters, or its output without additional information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain any of the four parameters (process, process_in_background, file, metadata). The agent has no idea what these parameters mean or how to use them, beyond what is in the schema.

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

Purpose2/5

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

The description 'Upload File' is extremely generic and does not specify what kind of file, where it is uploaded, or how it differs from sibling tools like 'add_files_to_knowledge_batch' or 'process_file'. It is a vague purpose that fails to distinguish from many other file-related tools.

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 provides no guidance on when to use this tool vs alternatives. There is no mention of prerequisites, context, or scenarios where this tool is appropriate. Without such information, an agent cannot make an informed choice.

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/TETRA-2023/open-webui-mcp'

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