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++, Python, or Swift — 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, tracker papertrail, and the repo memories crossing it, with a completeness / risk summary. Run this before changing anything non-trivial. |
| check_library_usageA | Dependency-contract check for the code's EXTERNAL library calls, from the SCIP oracle's external symbol info. For each |
| 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_symbolC | 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_chunkA | The 'why' behind a chunk: its current text plus the cached tracker items (issues / change requests) and review comments that reference it. |
| papertrail_for_symbolC | Resolve a symbol, then return its current context plus the cached tracker rationale (issues / change requests / reviews) referencing it. |
| papertrail_for_commitC | Cached tracker items (issues / change requests / reviews) related to a historical commit. |
| papertrail_issue_searchC | Full-text search across cached tracker issue and change-request titles and bodies. |
| papertrail_refs_for_pathC | List cached tracker items discovered to reference a current path. |
| rationale_searchC | Search cached tracker rationale snippets (review comments, issue / change-request discussion) by keyword. |
| llm_statusB | Embedding status (local or remote/Ollama-served): 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. |
| papertrail_sync_statusB | Papertrail cache status: counts of issues, change requests, 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 tracker 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_showA | Expand ONE repo memory to its FULL body by |
| memory_validateA | Re-anchor every repo memory against current source and mark each current / relocated / stale / gone / pending. Runs automatically after indexing. |
| memory_doctorA | List repo memories whose anchor is stale, gone, or pending, each with suggested re-anchor targets (qualified names) — the actionable companion to memory_validate. A |
| memory_mark_obsoleteC | Mark a repo memory obsolete — kept for audit, hidden from active recall. |
| memory_edge_addA | Add a typed graph edge from a source node to another node or a GitHub issue. Relations: depends_on (task DAG), relates_to (mind-map link), supersedes, derived_from, tracks (issue <- task). Give exactly ONE target: a target_node_id (with an optional target_repo_id for a cross-repo edge) or a full github ref (owner + repo + number). |
| memory_edge_removeB | Remove a graph edge by its stable edge_key. |
| memory_edgesA | List a node's typed edges: direction=from returns its outgoing edges (deps / links / tracks); direction=into is the reverse traversal (e.g. tasks that track an issue, or nodes that depend on this one). |
| dreamA | Return the deterministic memory-maintenance worklist: coverage gaps (load-bearing symbols with no memory) + stale references (a memory citing a path that no longer resolves), ranked, each with a stable |
| dream_reviewA | Apply a human verdict to ONE dream finding by id (a full id or unambiguous prefix): accept (a real gap to act on), dismiss (noise), or reset (clear a prior verdict, back to open). Dream only proposes; this is how the reviewer confirms. The verdict survives future dream runs. Mirrors |
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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