Skip to main content
Glama
andreperez

AnythingLLM MCP Server

by andreperez

anythingllm_search

Read-onlyIdempotent

Search workspace documents for relevant chunks using vector similarity, returning top matches with optional score threshold.

Instructions

Search for relevant document chunks within a workspace using vector similarity.

Args: slug: Workspace slug to search in query: Search query top_n: Number of results (1-20, default 4) score_threshold: Similarity score threshold (0-1). Lower = more results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
queryYes
top_nNo
score_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so no contradiction. The description adds useful behavioral context beyond annotations, such as the score_threshold semantics ('Lower = more results') and the top_n range (1-20, default 4). This helps the agent understand the search behavior and result control.

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: a single purpose sentence followed by a clean argument list. No unnecessary words. Each line earns its place by specifying a parameter or behavior.

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

Completeness5/5

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

Given the output schema exists, return values need no explanation. The description covers purpose, all parameters, and key behaviors. For a search tool with this complexity, it is complete. The sibling context also reinforces that this is the dedicated search operation.

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 description coverage is 0%, so the description carries full responsibility for parameter meaning. It documents all four parameters: slug, query, top_n (with range and default), and score_threshold (with range and default). This is exactly the kind of compensation needed.

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 opens with a specific verb+resource: 'Search for relevant document chunks within a workspace using vector similarity.' This clearly distinguishes it from sibling tools like list_documents (listing) or chat (conversation). The method (vector similarity) adds further specificity.

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 implies usage (semantic search over chunks) but does not explicitly state when to use this tool over alternatives like chat or list_documents. There are no exclusionary statements or named alternative tools, so guidance is implicit rather than explicit.

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