Skip to main content
Glama

Knowledge Retrieval Server

by cskwork

search-documents

Find relevant document chunks using the BM25 algorithm by inputting keyword arrays, optional domain filters, and top result limits for targeted knowledge retrieval.

Instructions

Search documents using BM25 algorithm. Takes keyword arrays and returns relevant document chunks.

Input Schema

NameRequiredDescriptionDefault
domainNoDomain to search in (optional, e.g., "company", "customer")
keywordsYesArray of keywords to search for (e.g., ["payment", "API", "authentication"])
topNNoMaximum number of results to return (default: 10)

Input Schema (JSON Schema)

{ "properties": { "domain": { "description": "Domain to search in (optional, e.g., \"company\", \"customer\")", "type": "string" }, "keywords": { "description": "Array of keywords to search for (e.g., [\"payment\", \"API\", \"authentication\"])", "items": { "type": "string" }, "type": "array" }, "topN": { "default": 10, "description": "Maximum number of results to return (default: 10)", "type": "number" } }, "required": [ "keywords" ], "type": "object" }
Install Server

Other Tools from Knowledge Retrieval Server

Related Tools

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/cskwork/keyword-rag-mcp'

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