medxpert-library-connector
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_BASE_URL | No | Ollama 地址 | http://127.0.0.1:11434 |
| LIBRARY_WIKI_DIR | No | 知识库目录(指向你的文档) | 本包 wiki/ |
| LIBRARY_GEN_MODEL | No | 生成模型(问答) | qwen2.5:7b |
| LIBRARY_EMBED_MODEL | No | 嵌入模型 | bge-m3 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_knowledgeA | 语义检索本地知识库(wiki .md 文档)。返回相关片段及相似度。例:'二类注册需提交哪些资料'、'ISO 13485 现行版本'。 |
| get_pageA | 读取知识库单个 wiki 页全文。标题可用 search_knowledge 的结果或文件名。 |
| list_sourcesA | 返回知识库范围:页数、分类统计、RAG 索引条目数、数据源目录。 |
| ask_knowledgeB | RAG 问答:检索知识库片段 + 本地生成模型回答,附引用来源。零积分、离线可用。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
get_page and list_sources are clearly distinct (full-text read vs. collection metadata), but search_knowledge and ask_knowledge both retrieve from the same knowledge base and could be confused—one returns raw snippets, the other a generated answer with citations. The descriptions do disambiguate them adequately, but the boundary requires reading.
All four tools follow a clean verb_noun snake_case pattern: search_knowledge, get_page, list_sources, ask_knowledge. No mixed conventions or vague verbs.
Four tools is well-scoped for a read-only local wiki/RAG connector: search, fetch, enumerate sources, and answer. Each tool earns its place with no redundancy.
Covers the core read-only lifecycle (discover scope, search, read page, ask). A notable gap is the absence of a list/browse-pages operation—list_sources only returns counts and directories, so enumerating actual pages depends on search results or known filenames.