Skip to main content
Glama
andreperez

AnythingLLM MCP Server

by andreperez

anythingllm_upload_file_to_folder

Upload a local file into a specific AnythingLLM folder by providing its absolute path and the target folder name for document management.

Instructions

Upload a file from the local filesystem into a specific document folder in AnythingLLM.

Args: file_path: Absolute path to the file on the local filesystem. folder_name: Target folder name in AnythingLLM (must already exist).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
folder_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are all false, providing no meaningful behavioral safety hints. The description adds only the folder prerequisite but fails to disclose important behavior such as whether an existing file with the same name is overwritten, what happens if the folder doesn't exist, or any error conditions. For a mutation tool, this is a significant transparency gap.

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 concise, front-loaded with the primary action, and structured as a clean docstring with an Args section. Every sentence adds value, and there is no filler or redundant information.

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

Completeness3/5

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

The tool is simple (2 required params) and an output schema exists, so return values need not be explained. The description covers the core action and parameters, but it lacks behavioral edge-case details (overwrite, error handling) and does not relate it to workspaces or other context. It is adequate but not fully complete.

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

Parameters5/5

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

Schema coverage is 0% (no parameter descriptions), but the description explicitly documents both parameters: file_path as an absolute path and folder_name as a target folder that must already exist. This fully compensates for the schema's lack of detail and adds the 'must already exist' constraint.

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 action (upload), the source (local filesystem), and the destination (a specific document folder in AnythingLLM). This distinguishes it from sibling tools like anythingllm_upload_file, which likely uploads to a workspace root, and anythingllm_upload_link/raw_text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a prerequisite (folder_name must already exist) but does not explicitly state when to use this tool versus alternatives like anythingllm_upload_file or anythingllm_upload_raw_text. Usage is implied by the name and description, but there are no explicit exclusions or alternative comparisons.

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