Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELYesModel name for chat completions
VLM_MODELNoModel name for image description (defaults to LLM_MODEL)
LLM_API_KEYYesAPI key for the LLM endpoint
LLM_TIMEOUTNoLLM request timeout in seconds60
SEARXNG_URLYesBase URL of SearXNG instance
VLM_API_KEYNoAPI key for VLM endpoint (defaults to LLM_API_KEY)
LLM_BASE_URLYesOpenAI-compatible endpoint base URL
VLM_BASE_URLNoOpenAI-compatible endpoint for VLM (defaults to LLM_BASE_URL)
FETCH_TIMEOUTNoPer-page fetch timeout in seconds30
MAX_IMAGE_SIZENoMax image size in bytes (10MB)10485760
MAX_CONTENT_SIZENoMax content size in bytes (5MB)5242880
CACHE_MAX_ENTRIESNoMax cache entries before LRU eviction1000
CACHE_TTL_SECONDSNoCache TTL in seconds (0 to disable)900
DEFAULT_MAX_RESULTSNoDefault result count for web_search10

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
web_search

Search the web using SearXNG, fetch top result pages, and synthesize with LLM.

Args:
    query: The search query string.
    max_results: Maximum number of results to return (default: 10).
    allowed_domains: Only include results from these domains.
    blocked_domains: Exclude results from these domains.
webfetch

Fetch a single URL, extract content, and process with LLM.

Args:
    url: The URL to fetch.
    prompt: Optional instruction for LLM processing. If omitted, provides a general summary.
image_description

Describe an image using a vision language model.

Args:
    image: Either a base64-encoded string containing the image data,
           or an absolute filesystem path pointing to an image file.

Returns:
    JSON string with description, success status, and error info.

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/roberthamel/websearch-mcp'

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