Skip to main content
Glama
chetan1521

grounded-rag-mcp

by chetan1521

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ingest_documentsB

Ingest documents into a named collection so they can be searched. Provide paths (files/dirs of .txt/.md) and/or texts (raw strings). Returns chunks added and total.

searchA

Search a collection and return the most relevant chunks, each with its source and per-stage scores. mode: hybrid (default) | dense | bm25. Empty result = not in the docs.

answerA

Answer a question grounded in a collection, with citations. Retrieves relevant passages and asks the host's model (via MCP sampling) to answer using only those, citing them. Refuses (grounded=false) when nothing relevant is found.

list_collectionsA

List all ingested collections and how many chunks each contains.

evaluate_retrievalA

Measure retrieval quality on labeled cases: hitRate, mrr, recallAtK. Each case is {query, relevantSources}. Use it to quantify quality and catch regressions.

Prompts

Interactive templates invoked by user choice

NameDescription
grounded_answerInstructs strict, cited, grounded answering.

Resources

Contextual data attached and managed by the client

NameDescription
collectionsIngested collections and chunk counts