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

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

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/spacecat398/TinyRAG-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server