Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SELFHEAL_CONFIGNoConfig file path for proxy mode./selfheal.config.json
SELFHEAL_MAX_RETRIESNoMax retry attempts3
SELFHEAL_MAX_DELAY_MSNoMax delay cap30000
SELFHEAL_BASE_DELAY_MSNoBase delay for backoff1000
SELFHEAL_CIRCUIT_THRESHOLDNoFailures before circuit opens5
SELFHEAL_CIRCUIT_COOLDOWN_MSNoCooldown before half-open test120000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
wrap_callA

Execute a function call with retry, circuit breaker, and metrics. Pass a target name and the function will be retried on transient failures. Use this to wrap any unreliable external call.

circuit_statusA

Check the health status of a target. Returns circuit state, failure count, and cooldown.

circuit_resetA

Reset a circuit breaker back to closed (healthy). Use after fixing the underlying issue.

metricsA

Get observability metrics — success rates, latency, top errors, breakdown by tool and target.

recent_errorsA

Get the most recent failed calls with full error details and retry logs.

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/carsonroell-debug/selfheal-mcp'

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