Skip to main content
Glama

MCP RAG

by kalicyh

ask_rag_filtered

Query the RAG knowledge base using filters to find specific document types, content structures, or

Instructions

向 RAG 知识库提问,并使用特定过滤器聚焦搜索。 使用场景:

  • 仅搜索 PDF 文档:file_type=".pdf"

  • 查找包含表格的文档:min_tables=1

  • 查找结构良好的文档:min_titles=5

  • 搜索增强处理的文档:processing_method="unstructured_enhanced"

参数: query: 要向知识库提出的问题或查询。 file_type: 按文件类型过滤(例如 ".pdf", ".docx", ".txt")。 min_tables: 文档必须包含的最小表格数量。 min_titles: 文档必须包含的最小标题数量。 processing_method: 按处理方法过滤(例如 "unstructured_enhanced", "markitdown")。

Input Schema

NameRequiredDescriptionDefault
queryYes
file_typeNo
min_tablesNo
min_titlesNo
processing_methodNo

Input Schema (JSON Schema)

{ "properties": { "file_type": { "default": null, "title": "File Type", "type": "string" }, "min_tables": { "default": null, "title": "Min Tables", "type": "integer" }, "min_titles": { "default": null, "title": "Min Titles", "type": "integer" }, "processing_method": { "default": null, "title": "Processing Method", "type": "string" }, "query": { "title": "Query", "type": "string" } }, "required": [ "query" ], "type": "object" }

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

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