Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOptional API key for OpenAI-compatible embedding API to enable semantic retrieval.
EMBEDDING_MODELNoOptional embedding model name (e.g., text-embedding-3-small).text-embedding-3-small
OPENAI_BASE_URLNoOptional base URL for the embedding API (e.g., https://api.openai.com/v1). Default is the same.https://api.openai.com/v1

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
query_knowledge_baseA

从本地知识库中查找与问题最相关的内容并生成答案。

Args:
    question: 用户问题,如"小明的宠物叫什么?"
list_documentsA

列出知识库中的所有文档。

search_relevant_chunksA

搜索与问题最相关的知识片段(不经过生成器,返回原文)。

Args:
    question: 搜索关键词
    top_k: 返回片段数量(默认 3)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation3/5

query_knowledge_base and search_relevant_chunks both search the knowledge base for relevant content, differing only in whether the response is generated or raw chunks. An agent might select the wrong one if not attentive. list_documents is clearly distinct.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case: query_, list_, search_. The naming is predictable and clear.

Tool Count5/5

Three tools is an appropriate size for a focused RAG server, covering retrieval and listing without unnecessary bulk.

Completeness3/5

The tools cover querying and listing but lack document management (add, update, delete). This is a notable gap for a knowledge base server, though the core retrieval workflow is present.

Maintenance

ActivityStale
ResponsivenessNo issues