Skip to main content
Glama
SMGilliatt

Knowledge Assistant MCP Server

by SMGilliatt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RAG_TOP_KNoNumber of chunks to retrieve (default: 5)5
MODEL_NAMENoGemini model (default: gemini-2.0-flash)gemini-2.0-flash
OPIK_API_KEYNoOpik API key for observability – optional.
GOOGLE_API_KEYYesGoogle AI (Gemini) API key – required. Get from Google AI Studio.
EMBEDDING_MODELNoGoogle embedding model for RAG (default: models/gemini-embedding-001)models/gemini-embedding-001
CHROMA_COLLECTIONNoChromaDB collection name (default: knowledge_base)knowledge_base
OPIK_PROJECT_NAMENoOpik project name (default: knowledge-assistant)knowledge-assistant
CHROMA_PERSIST_DIRNoChromaDB persistence directory (default: ./chroma_data)./chroma_data

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
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_knowledge_baseA

Ask the knowledge assistant a question. Runs a multi-agent pipeline: coordinator -> retriever (RAG) -> synthesizer. Returns a proposed answer for your review. After reviewing, call approve_or_edit_answer to approve or request edits (human-in-the-loop).

approve_or_edit_answerA

Human-in-the-loop: approve the proposed answer from query_knowledge_base, or request edits. Set approved=True to accept, or approved=False and provide user_feedback for changes.

add_documentsA

Add a document (text) to the knowledge base. Use source to label where it came from.

search_knowledge_baseA

Search the knowledge base only (retriever); returns chunks without generating an answer.

Prompts

Interactive templates invoked by user choice

NameDescription
knowledge_assistant_workflowMulti-agent RAG workflow with human-in-the-loop: query → review proposal → approve or edit.

Resources

Contextual data attached and managed by the client

NameDescription
server_infoServer and knowledge base configuration (name, version, collection, RAG settings).

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: query_knowledge_base runs the full RAG pipeline and returns a proposed answer, search_knowledge_base performs raw retrieval only, approve_or_edit_answer handles the human-in-the-loop review step, and add_documents ingests new content. Although query and search both access the knowledge base, their outputs and workflows are fundamentally different and clearly described.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: query_knowledge_base, approve_or_edit_answer, add_documents, search_knowledge_base. The naming is uniform and predictable, with no mixed conventions or ambiguous verbs.

Tool Count5/5

With exactly 4 tools, the server is well-scoped for its purpose. Each tool addresses a distinct stage of the knowledge assistant workflow (ingestion, retrieval, synthesis, and review), and the count feels neither sparse nor bloated for the domain.

Completeness4/5

The core workflow is covered: add documents, search raw chunks, generate a proposed answer, and approve/request edits. However, there are minor gaps in document lifecycle management—no tools for deleting, updating, or listing documents—which could force workarounds in some use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues