Skip to main content
Glama
apatoliya

MCP-RAG Server

by apatoliya

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BUCKET_IDYesYour bucket ID for document storage
OPENAI_API_KEYYesYour OpenAI API key
GROUNDX_API_KEYYesYour GroundX API key

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
process_search_queryB
Process a search query using GroundX and OpenAI.

Args:
    query: The search query string
    config: Optional SearchConfig object for customization

Returns:
    SearchResponse object containing the query, score, and result
search_doc_for_rag_contextC
Searches and retrieves relevant context from a knowledge base,
based on the user's query.
Args:
    query: The search query supplied by the user.
Returns:
    str: Relevant text content that can be used by the LLM to answer the query.
ingest_documentsB
Ingest documents from a local file into the knowledge base.
Args:
    local_file_path: The path to the local file containing the documents to ingest.
Returns:
    str: A message indicating the documents have been ingested.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 3 tools

Disambiguation2/5

The tools have significant overlap and unclear boundaries. Both 'process_search_query' and 'search_doc_for_rag_context' appear to handle search queries with similar inputs (query strings) and similar purposes (retrieving relevant information). While 'process_search_query' mentions GroundX and OpenAI integration and returns a structured SearchResponse, while 'search_doc_for_rag_context' returns plain text for RAG context, their core functionality is too similar, likely causing agent confusion about which to use for search tasks.

Naming Consistency4/5

The naming is mostly consistent with a verb_noun pattern ('ingest_documents', 'process_search_query', 'search_doc_for_rag_context'), though 'search_doc_for_rag_context' is slightly verbose and includes an abbreviation (RAG). All use snake_case, and the verbs ('ingest', 'process', 'search') are appropriate for their actions, with only minor deviations from perfect consistency.

Tool Count3/5

With only 3 tools, the count feels thin for a RAG server's scope, which typically involves more operations like document management (e.g., delete, list), query customization, or knowledge base maintenance. While the tools cover basic ingestion and search, the limited number may restrict agent workflows and indicate an incomplete surface, though it's not extreme.

Completeness2/5

There are significant gaps in the tool surface for a RAG server. Core operations are missing: no tools to list, update, or delete documents from the knowledge base, and no way to manage the knowledge base itself (e.g., clear or reset). The search functionality is duplicated rather than expanded, and there's no support for advanced RAG features like chunking or metadata handling, which will likely cause agent failures in complex tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues