rag-rat
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| semantic_searchA | Search indexed source and docs. |
| symbol_lookupA | Resolve a symbol name (or ref/id) to its definition(s) in Rust, TypeScript, Kotlin, C, C++, or Python — exact or fuzzy. Returns candidates with signatures, locations, logical-symbol grouping (cfg variants), and any bound repo memories. Use to disambiguate before a graph or read call. Generated bindings (codegen, ubrn FFI output) are excluded by default; pass include: ["generated"] to see them. |
| find_callersA | Find what calls a symbol (reverse call graph), instead of grepping for call sites. Returns call sites with confidence + target verification, a completeness / false-positive risk summary, and repo memories crossing the call path. Includes synthesized |
| trace_calleesA | Find what a symbol calls (forward call graph). Same evidence shape as find_callers; unresolved std/common-method noise is filtered out by default (add |
| compare_graph_to_textA | Cross-check a symbol's graph caller edges against a regex text search of indexed source — surfaces call sites the tree-sitter graph missed and flags likely false edges. Use when you suspect graph coverage gaps. |
| compare_graph_to_scipA | Cross-check the tree-sitter graph against the SCIP compiler oracle — report the edges where they DISAGREE on a callee's resolution (the compiler contradicts tree-sitter). A resolver-debugging diagnostic; requires |
| impact_surfaceA | Pre-edit blast radius for a symbol or path: graph callers/callees, tests, docs, git history, GitHub papertrail, and the repo memories crossing it, with a completeness / risk summary. Run this before changing anything non-trivial. |
| repo_briefA | Orientation for an unfamiliar repo: ranked files by mode — spine (central coupling), churn, god_modules, or refactor_candidates — with size/coupling/churn/memory signals and suggested next tools. Start here when you don't know the codebase. |
| repo_clustersB | Map the repo into ownership clusters from path proximity, graph edges, and git co-touch — a cheap overview of subsystems and their representative files. |
| important_symbolsA | Rank the most load-bearing symbols by weighted PageRank over the call/type/import edge graph — what the rest of the code most depends on. Run before editing to see the spine you shouldn't reinvent or break. By DEFAULT (no |
| find_clonesA | Ranked candidate clone classes (unrefined; exact overlap metrics). Returns classes sorted by ROI (cross-module spread × member count × token length × load-bearing factor × cohesion), with a completeness provenance block. |
| clones_for_symbolA | The clone class containing a symbol (by id / ref / path+line). Returns the candidate class if the symbol is fingerprinted and has clone siblings; null if it is unique or not fingerprinted. |
| ffi_surfaceB | Find the FFI surface: #[uniffi::export] items, exported impl members, and generated binding artifacts (detected by path). Empty in repos without FFI. |
| docs_for_symbolB | Find documentation related to a symbol — markdown chunks and doc comments, preferring local context before broad docs. |
| read_chunkA | Read the current source text for one chunk id, validated against HEAD (relocates or flags stale/gone), with compact call-graph context and bound repo memories. Use to read exact text after a search returns a chunk_id. |
| commit_searchC | Full-text search over historical commit subjects and bodies — find when/why something changed by keyword. |
| git_history_for_pathA | List commits that touched a current path, newest first, with additions/deletions and subjects. |
| git_history_for_symbolC | Resolve a symbol, then list commits touching its file — symbol-scoped history without needing the path. |
| commits_touching_queryA | Combine commit-message matches with current file-change evidence for a query — "what work relates to X?" across both messages and the files that changed. |
| git_blame_chunkA | Hash-bound git blame for one chunk: who last touched its lines, computed lazily and cached against the chunk hash. |
| papertrail_for_chunkC | The 'why' behind a chunk: its current text plus the cached GitHub issues/PRs/reviews that reference it. |
| papertrail_for_symbolC | Resolve a symbol, then return its current context plus the cached GitHub rationale (issues/PRs/reviews) referencing it. |
| papertrail_for_commitC | Cached GitHub issues/PRs/reviews related to a historical commit. |
| github_issue_searchC | Full-text search across cached GitHub issue and PR titles and bodies. |
| github_refs_for_pathC | List cached GitHub issues/PRs discovered to reference a current path. |
| rationale_searchC | Search cached GitHub rationale snippets (review comments, PR/issue discussion) by keyword. |
| local_ai_statusA | On-device embedding status: model, install state, and how many chunks are embedded / missing / skipped. |
| heal_indexA | Re-index stale already-indexed files and refresh FTS — repair when reads report drift. Writes only to the index, never to source. |
| github_sync_statusA | GitHub papertrail cache status: counts of issues, PRs, comments, and refs, plus last sync time. |
| index_statusA | Index freshness vs HEAD: git/indexed head, per-language file counts, parser failures, FTS sync state, and schema version. |
| memory_createA | Record a durable, source-anchored repo memory (Invariant / Decision / Risk / BugPattern / …) bound to a symbol, chunk, path, edge/call-path, commit, or GitHub ref — so the rationale resurfaces for the next agent editing that code. Capture non-obvious invariants and decisions as you discover them. |
| memory_rebindA | Re-anchor an existing repo memory to a different symbol, chunk, path, or other source location — use this after a symbol moves or is renamed rather than obsoleting and recreating the memory. Replaces the binding and refreshes the source_text_hash so the memory stays current. |
| memory_updateC | Update a repo memory's text, status, confidence, kind, or tags by id. |
| memory_searchC | Full-text search across active (or stale) repo memories by keyword. |
| memory_for_symbolC | Return repo memories bound to a symbol (or its logical-symbol group). |
| memory_for_pathC | Return repo memories bound to a path. |
| memory_for_call_pathC | Return repo memories bound to a specific call-path edge sequence. |
| memory_validateB | Re-anchor every repo memory against current source and mark each current / relocated / stale / gone. Runs automatically after indexing. |
| memory_doctorA | List repo memories whose anchor is stale or gone, each with suggested re-anchor targets (qualified names) — the actionable companion to memory_validate. Read-only; reports the last-validated status, so run memory_validate first for a fresh check. Rebind the listed memories with memory_rebind. |
| memory_mark_obsoleteC | Mark a repo memory obsolete — kept for audit, hidden from active recall. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/cq27-dev/rag-rat'
If you have feedback or need assistance with the MCP directory API, please join our Discord server