Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoAPI key for Google Gemini (required if provider is gemini).
GOOGLE_API_KEYNoAlternative API key for Google Gemini.
OPENAI_API_KEYNoAPI key for OpenAI (required if provider is openai).
PINION_LLM_MODELNoModel name override.
ANTHROPIC_API_KEYNoAPI key for Anthropic (required if provider is anthropic).
PINION_MAX_ROUNDSNoMax LLM re-synthesis rounds.3
PINION_OLLAMA_URLNoOllama server URL (if provider is ollama).http://localhost:11434
PINION_GATEWAY_URLNoEnterprise gateway URL (required if provider is enterprise-gateway).
PINION_LLM_PROVIDERNoLLM provider. Options: anthropic, openai, gemini, ollama, enterprise-gateway.anthropic
PINION_GATEWAY_API_KEYNoAPI key for enterprise gateway (required if provider is enterprise-gateway).
PINION_SANDBOX_TIMEOUTNoTimeout per case in seconds.5.0
PINION_DEFAULT_THRESHOLDNoCoverage threshold.0.8
PINION_SANDBOX_MEMORY_MBNoMemory limit per case in MB.256

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
characterize_functionC

Generate characterization (regression) pytest tests for a single Python pure function. Returns a CharacterizationResult including the emitted pytest code.

characterize_methodA

v2: Generate characterization tests for a single Python class method. Returns a CharacterizationResult including the emitted pytest code with @pytest.fixture-based instance setup.

characterize_moduleA

Generate characterization tests for every pure top-level function in a module. Returns a list of CharacterizationResult, one per function (or per-function error dict). Failures don't abort the whole call.

health_checkA

Check Pinion configuration and LLM provider reachability.

When probe is False (default), only inspects environment variables and config — no network call. When True, sends a minimal LLM ping.

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/namojo/pinion'

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