Skip to main content
Glama
ravipesala
by ravipesala

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesYour Google Gemini API key used for agent analysis.
SPARK_OPT_MODELNoThe Gemini model to use for analysis.gemini-2.0-flash-exp
SPARK_OPT_TIMEOUTNoTimeout for requests in seconds.30
SPARK_OPT_LOG_LEVELNoLogging level (e.g., DEBUG, INFO, WARNING, ERROR).INFO
SPARK_OPT_MAX_STAGESNoMaximum number of stages to analyze.5
SPARK_OPT_HISTORY_URLNoThe URL of the Spark History Server.http://localhost:18080
SPARK_OPT_MAX_RETRIESNoMaximum number of retries for API calls.5
SPARK_OPT_RETRY_DELAYNoDelay between retries in seconds.5.0
SPARK_OPT_CODE_ANALYSISNoWhether to enable code-level optimizations analysis.true

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/ravipesala/spark_mcp_optimizer'

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