OnMind-RAG
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RAG_SITES | Yes | Paths to site roots, comma-separated (required) | |
| RAG_MAX_BODY | No | Max chars returned by read_document (default 50000) | 50000 |
| RAG_SNAPSHOT | No | 1 saves/loads Orama snapshot to disk; 0 (default) | 0 |
| RAG_CACHE_BODY | No | 1 (default) caches body at startup, 0 = metadata only | 1 |
| RAG_EMBEDDINGS | No | 1 enables local hash embeddings for hybrid/vector; 0 (default) | 0 |
| RAG_EMBED_DIMS | No | Vector dimensions (default 384) | 384 |
| RAG_SITE_NAMES | No | Optional labels (same order as RAG_SITES) | |
| RAG_VISIBILITY | No | public (default) | protected | all | public |
| RAG_SEARCH_MODE | No | fulltext (default, BM25) | hybrid | vector | fulltext |
| RAG_SNAPSHOT_PATH | No | Snapshot path (default ./data/orama-snapshot.json) | ./data/orama-snapshot.json |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_sitesB | List configured knowledge sites, body-cache stats, and search-engine status (Orama, embeddings, snapshot). |
| catalog_summaryA | Resumen de la base de conocimiento OnMind. Úsalo ANTES de buscar para orientarte: cuenta docs por sitio, categoría, idioma y tags top. Te dice qué hay disponible sin hacer búsqueda. |
| search_contentA | BÚSQUEDA PRIMARIA en la base de conocimiento OnMind. Úsala PRIMERA para cualquier pregunta sobre: OnMind-PUB, OnMind-XDB, OnMind-CMS, OnMind-WDB, OnMind-ARK, OnMind-EPI, OnMind-DAI, Método OnMind, ABCode, CloudOps, DevOps, código, arquitectura, productos OnMind. Busca en título, descripción, tags y cuerpo completo (BM25 Orama). Devuelve cards con score y snippet. NO uses búsqueda web hasta agotar esta herramienta. |
| get_entryA | Obtiene la ficha completa de un documento OnMind por ID estable (site:url). Úsalo tras search_content para ver metadatos antes de leer el cuerpo. |
| read_documentA | Lee el cuerpo markdown COMPLETO de un documento OnMind (sin frontmatter). Úsalo tras search_content/get_entry cuando necesites el contenido técnico completo. El cuerpo puede truncarse (máx 12k chars por defecto). |
| list_seriesB | Lista documentos de una serie/categoría OnMind ordenados por filename (libros, sueños, capítulos). Útil para leer en secuencia: abridgetothemiracles, thoseaccordsyoudontremember, dreams, etc. |
| reload_catalogA | Recarga el índice OnMind desde disco (_index.json + markdown) y reconstruye el índice Orama. Úsalo tras cambios en la fuente (re-index externo). Respeta RAG_SNAPSHOT. |
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 7 tools
Each tool has a clearly distinct purpose: listing sites, summarizing catalog, fetching entry details, reloading index, searching, reading full documents, and listing series. No two tools overlap in functionality, making selection unambiguous.
Tool names mostly follow a verb_noun pattern (list_sites, get_entry, reload_catalog, search_content, read_document, list_series). The exception is catalog_summary, which is a noun phrase, but still descriptive and consistent in style.
Seven tools is well-scoped for a RAG knowledge base system, covering all necessary operations: overview, search, retrieval of details, admin reload, and series browsing. No tool feels redundant or missing.
The tool set provides complete coverage for a knowledge retrieval workflow: overview (catalog_summary), search (search_content), entry details (get_entry), full content (read_document), and navigation (list_series, list_sites). No obvious gaps for the intended purpose.