Skip to main content
Glama
defog-ai
by defog-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANALYSIS_GYM_DB_PATHNoPath to store the database file. Defaults to 'analysis_gym.sqlite3' in the working directory.analysis_gym.sqlite3

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
record_predictionA

Record one immutable pre-earnings forecast.

expected_earnings_at must be an ISO 8601 timestamp with a timezone. Revenue, EBITDA, net profit, and free cash flow must use the same reporting currency. post_earnings_close is the expected first regular-session close after release.

record_actualsB

Record published actuals and settle earlier predictions for the event.

EBITDA is operating income plus depreciation and amortization. Free cash flow is operating cash flow minus capital expenditure. For a pre-market release, use that session's close; for an after-hours release, use the next regular session's close.

get_resultsA

Return predictions, per-metric errors, and the configuration leaderboard.

Lower symmetric mean absolute percentage error (SMAPE) is better. Set settled_only=false to include predictions whose actuals are not recorded yet.

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/defog-ai/analysis-gym'

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