Lore Agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_knowledgeA | Search the local knowledge base for relevant information. Returns top-k knowledge cards matching the query, with scores and content. Use this to find existing knowledge before doing web research. |
| save_researchA | Save structured research results as a knowledge card in the local knowledge base. The answer_json must conform to schemas/answer.schema.json: { "answer": "detailed answer text", "supporting_claims": [{"claim": "...", "evidence_ids": ["..."], "confidence": "high|medium|low"}], "inferences": ["..."], "uncertainty": ["..."], "missing_evidence": ["..."], "suggested_next_steps": ["..."], "sources": ["https://example.com/source1", "https://example.com/source2"], "visual_aids": [{"type": "mermaid|image_url|image_path", "content": "...", "caption": "...", "alt_text": "..."}] } IMPORTANT quality requirements:
When to include visual_aids (auto-judge by topic):
When sources contain useful images (charts, diagrams, figures):
For method/procedural content (how-to, implementation, deployment, etc.), also include:
Visual aids placement (optional after_section field):
|
| fetch_urlA | Fetch a web URL and return its main content as markdown — first-hand retrieval (G5). 抓取网页正文(已做 HTML→正文提取)返回给调用方,用于在 save_research 之前把
knowledge card 建立在一手出处之上,而非凭记忆或摘要。同时把完整正文存本地
快照 典型用法:fetch_url 抓一手 → 基于正文写带具体数字/机制的深度 answer → save_research 存卡。 |
| list_knowledgeA | List all knowledge cards in the local knowledge base. Returns card metadata (id, title, topic, type) for browsing and discovery. |
| capture_answerA | Capture a useful Q&A answer as a draft knowledge card. Use this ONLY when a conversation produces a SUBSTANTIVE answer that is worth persisting — meaning it provides genuine technical insight, a non-obvious explanation, or actionable knowledge that cannot be found in standard references. DO NOT use this tool for:
If you have structured evidence and claims, prefer save_research instead — it produces higher-quality cards with proper source attribution. The answer text MUST be at least 150 characters. Write a thorough explanation covering the key insight, context, and practical implications. |
| ingest_sourceA | Ingest a URL or raw text into the knowledge base as a draft card. For URLs: fetches the page content, extracts text, and saves as a card. For text: saves the provided text directly as a card. Use this when you want to add external documents, articles, or notes to the knowledge base without requiring structured JSON. |
| validate_knowledgeA | Validate local knowledge cards without modifying files. Runs card frontmatter validation plus body-density/source-freshness checks. Use this before relying on a knowledge base or after bulk imports. |
| lint_knowledgeA | Run read-only content health checks over the local knowledge base. Reports orphan cards, broken wiki-links, cards not updated within stale_days, and highly overlapping titles. This tool never edits files. |
| scan_stale_knowledgeA | Report knowledge cards whose source freshness exceeds domain thresholds. Unlike lint_knowledge's updated_at check, this uses source_date/captured year with the domain-specific freshness policy used by card validation. This tool is read-only. |
| scan_dead_linksA | Diagnose dead source URLs (404/410/connection failure) across knowledge cards. Probes each unique source_refs URL once (HEAD first, GET fallback) and fans
the result out to every card that cites it. Paywalled domains are reported
as |
| build_graphA | Build an interactive knowledge graph visualization. Generates a self-contained HTML file showing all knowledge cards as nodes and their wiki-links as edges. Open the output file in a browser to explore the knowledge graph visually. Compatible with Obsidian vaults. Returns the path to the generated graph.html file. |
| import_paperpulse_noteA | Import a distilled paper note from PaperPulse SaaS directly into the local Scholar Agent knowledge base. |
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 12 tools
Most tools have distinct purposes (query, save, ingest, validate, fetch, list, lint, scan, build, import). However, save_research, capture_answer, and ingest_source all persist knowledge cards with different input formats, which could cause confusion despite detailed descriptions.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., query_knowledge, save_research, fetch_url). Verbs are descriptive and the pattern is predictable across all 12 tools.
12 tools is well-scoped for a knowledge management server. The set covers querying, saving, ingesting, validating, listing, linting, scanning dead links, building graphs, and importing notes—no bloat or deficiency.
The tool surface covers create (save, capture, ingest), read (query, list), and checking tools, but lacks update and delete operations for knowledge cards. This is a notable gap that could hinder full life cycle management.