Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OLLAMA_HOSTNoEndpoint of the local Ollama daemon.http://localhost:11434
OLLAMA_NUM_CTXNoContext window size allocated in local model memory.16384
OLLAMA_TIMEOUTNoRequest timeout in seconds for generation tasks.180
LOCAL_LLM_MODELNoPreferred model override (e.g. qwen2.5-coder:14b, deepseek-r1:14b). Auto-detected if not set.
OLLAMA_MCP_DEBUGNoSet to '1' to enable verbose diagnostic output to stderr.0
OLLAMA_TEMPERATURENoSampling temperature for code generation.0.2

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
local_draft_codeA

Generate initial code drafts, boilerplate, unit tests, or scaffolding locally via Ollama without consuming cloud tokens.

local_summarize_and_extractC

Compress massive files, logs, terminal traces, or documentation into high-density summaries before cloud reasoning.

local_chunked_summaryC

Map-reduce chunked summarization for massive files or logs that exceed single context limits.

local_extract_jsonB

Extract structured JSON from unstructured text, logs, or documentation according to a target schema description.

local_list_modelsA

List all models currently installed and available in the local Ollama instance.

local_prewarm_modelA

Pre-warm a local model into memory/VRAM with keep_alive=-1 so subsequent calls have zero cold-start delay.

local_map_reduce_fileB

Compress large files, traces, or logs using local Ollama Map-Reduce before ingesting into context.

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/leifdavisson/agy-ollama-mcp'

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