Skip to main content
Glama
andreperez

AnythingLLM MCP Server

by andreperez

anythingllm_upload_file

Upload files from your local filesystem to AnythingLLM. Provide the absolute file path to add documents for processing and storage.

Instructions

Upload a file from the local filesystem to AnythingLLM.

Args: file_path: Absolute path to the file on the local filesystem.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description simply restates the operation type ('Upload') without adding any behavioral context beyond what annotations already convey (readOnlyHint=false, openWorldHint=true). It does not disclose potential side effects like duplicate uploads, file type restrictions, or where the file is stored. While annotations cover the basic safety profile, the description adds no extra 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 concise and front-loaded, with one clear main sentence and an Args block that adds the key parameter detail. There is no redundant or irrelevant text, though the structure is minimal and could benefit from a bit more context.

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?

For a tool with 1 parameter and an output schema, the basic action is clear. However, it misses important context: how this upload differs from 'upload_file_to_folder', whether a workspace is required, and the destination of the file. The output schema likely documents the return, but the operational context is incomplete.

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 input schema has no descriptions for 'file_path', and schema coverage is 0%. The description compensates by stating 'Absolute path to the file on the local filesystem', which adds meaningful semantics. However, it does not provide additional constraints or format details, making it adequate but not thorough.

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

Purpose4/5

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

The description clearly states the action (upload) and the resource (file from local filesystem to AnythingLLM), which is specific and understandable. However, it does not differentiate from the sibling tool 'anythingllm_upload_file_to_folder', so it lacks full sibling distinction.

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?

There is no guidance on when to use this tool versus alternatives like 'anythingllm_upload_link', 'anythingllm_upload_raw_text', or 'anythingllm_upload_file_to_folder'. The description does not mention any use cases, prerequisites, or exclusions, leaving the agent without decision support.

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/andreperez/anythingllm-mcp'

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