Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level (e.g., INFO, DEBUG)
OLLAMA_HOSTNoOllama host URL (default localhost:11434)
XAI_API_KEYNoYour X.AI API key
DIAL_API_KEYNoYour DIAL API key
DEFAULT_MODELNoDefault model to use
DISABLED_TOOLSNoComma-separated list of tools to disable
GEMINI_API_KEYNoYour Gemini API key
OPENAI_API_KEYNoYour OpenAI API key
OPENROUTER_API_KEYNoYour OpenRouter API key
AZURE_OPENAI_API_KEYNoYour Azure OpenAI API key
AZURE_OPENAI_ENDPOINTNoYour Azure OpenAI endpoint
MAX_CONVERSATION_TURNSNoMaximum conversation turns
CONVERSATION_TIMEOUT_HOURSNoConversation timeout in hours
DEFAULT_THINKING_MODE_THINKDEEPNoDefault thinking mode for thinkdeep tool

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
prompts
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
chatA

General chat and collaborative thinking partner for brainstorming, development discussion, getting second opinions, and exploring ideas. Use for ideas, validations, questions, and thoughtful explanations.

clinkB

Link a request to an external AI CLI (Gemini CLI, Qwen CLI, etc.) through PAL MCP to reuse their capabilities inside existing workflows.

thinkdeepA

Performs multi-stage investigation and reasoning for complex problem analysis. Use for architecture decisions, complex bugs, performance challenges, and security analysis. Provides systematic hypothesis testing, evidence-based investigation, and expert validation.

plannerA

Breaks down complex tasks through interactive, sequential planning with revision and branching capabilities. Use for complex project planning, system design, migration strategies, and architectural decisions. Builds plans incrementally with deep reflection for complex scenarios.

consensusA

Builds multi-model consensus through systematic analysis and structured debate. Use for complex decisions, architectural choices, feature proposals, and technology evaluations. Consults multiple models with different stances to synthesize comprehensive recommendations.

codereviewB

Performs systematic, step-by-step code review with expert validation. Use for comprehensive analysis covering quality, security, performance, and architecture. Guides through structured investigation to ensure thoroughness.

precommitA

Validates git changes and repository state before committing with systematic analysis. Use for multi-repository validation, security review, change impact assessment, and completeness verification. Guides through structured investigation with expert analysis.

debugA

Performs systematic debugging and root cause analysis for any type of issue. Use for complex bugs, mysterious errors, performance issues, race conditions, memory leaks, and integration problems. Guides through structured investigation with hypothesis testing and expert analysis.

secauditA

Performs comprehensive security audit with systematic vulnerability assessment. Use for OWASP Top 10 analysis, compliance evaluation, threat modeling, and security architecture review. Guides through structured security investigation with expert validation.

docgenA

Generates comprehensive code documentation with systematic analysis of functions, classes, and complexity. Use for documentation generation, code analysis, complexity assessment, and API documentation. Analyzes code structure and patterns to create thorough documentation.

analyzeB

Performs comprehensive code analysis with systematic investigation and expert validation. Use for architecture, performance, maintainability, and pattern analysis. Guides through structured code review and strategic planning.

refactorA

Analyzes code for refactoring opportunities with systematic investigation. Use for code smell detection, decomposition planning, modernization, and maintainability improvements. Guides through structured analysis with expert validation.

tracerA

Performs systematic code tracing with modes for execution flow or dependency mapping. Use for method execution analysis, call chain tracing, dependency mapping, and architectural understanding. Supports precision mode (execution flow) and dependencies mode (structural relationships).

testgenB

Creates comprehensive test suites with edge case coverage for specific functions, classes, or modules. Analyzes code paths, identifies failure modes, and generates framework-specific tests. Be specific about scope - target particular components rather than testing everything.

challengeA

Prevents reflexive agreement by forcing critical thinking and reasoned analysis when a statement is challenged. Trigger automatically when a user critically questions, disagrees or appears to push back on earlier answers, and use it manually to sanity-check contentious claims.

apilookupA

Use this tool automatically when you need current API/SDK documentation, latest version info, breaking changes, deprecations, migration guides, or official release notes. This tool searches authoritative sources (official docs, GitHub, package registries) to ensure up-to-date accuracy.

listmodelsA

Shows which AI model providers are configured, available model names, their aliases and capabilities.

versionA

Get server version, configuration details, and list of available tools.

Prompts

Interactive templates invoked by user choice

NameDescription
chatChat and brainstorm ideas
clinkForward a request to a configured AI CLI (e.g., Gemini)
thinkdeeperStep-by-step deep thinking workflow with expert analysis
plannerBreak down complex ideas, problems, or projects into multiple manageable steps
consensusStep-by-step consensus workflow with multi-model analysis
reviewPerform a comprehensive code review
precommitStep-by-step pre-commit validation workflow
debugDebug an issue or error
secauditComprehensive security audit with OWASP Top 10 coverage
docgenGenerate comprehensive code documentation with complexity analysis
analyzeAnalyze files and code structure
refactorRefactor and improve code structure
tracerTrace code execution paths
testgenGenerate comprehensive tests
challengeChallenge a statement critically without automatic agreement
apilookupLook up the latest API or SDK information
listmodelsList available AI models
versionShow server version and system information
continueContinue the previous conversation using the chat tool

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/bigl34/pal-mcp-server'

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