Skip to main content
Glama
lfylow
by lfylow

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STREAMNoStream responses; falls back to a single request if unsupported.true
MAX_TOKENSNoMax tokens per response.4096
TEMPERATURENoSampling temperature (0–2).0.3
LLM_PROVIDERNoThe LLM provider to use: ollama, openai, anthropic, or openrouter.ollama
OLLAMA_MODELNoOllama model name.llama3.2:3b
OPENAI_MODELNoOpenAI model name.gpt-4o-mini
CUSTOM_PROMPTNoOverride the review prompt (must contain {code} and {language}).
OPENAI_API_KEYNoOpenAI API key (required for OpenAI provider).
ANTHROPIC_MODELNoAnthropic model name.claude-sonnet-4-6
MAX_INPUT_CHARSNoReject inputs larger than this.100000
OLLAMA_BASE_URLNoOllama server URL.http://localhost:11434
OPENAI_BASE_URLNoCustom OpenAI-compatible endpoint.
REQUEST_TIMEOUTNoPer-request timeout in seconds.120
OPENROUTER_MODELNoOpenRouter model slug.qwen/qwen3-coder-30b-a3b-instruct
ANTHROPIC_API_KEYNoAnthropic API key (required for Anthropic provider).
OPENROUTER_API_KEYNoOpenRouter API key (required for OpenRouter provider).
OPENROUTER_BASE_URLNoOpenRouter endpoint.https://openrouter.ai/api/v1

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
review_git_diffA

Review a git diff for bugs, security issues, and improvements.

Accepts the output of git diff as plain text. Returns a structured review with severity levels (🔴 CRITICAL, 🟡 WARNING, đŸŸĸ SUGGESTION, â„šī¸ NOTE).

Example: git diff | review_git_diff

review_code_fileB

Review an entire source file for bugs and improvements.

Provide the absolute path to a file. Language is auto-detected from the file extension. Supports 50+ languages.

Best for: reviewing new files, complete rewrites, or files where you want a comprehensive analysis of the entire codebase.

review_code_snippetA

Review a code snippet (not from a file) in the specified language.

Use this when you have a small piece of code to review that isn't in a file yet, or when you want to review an isolated snippet.

Args: code: The source code to review. language: Programming language (python, javascript, rust, go, etc.)

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/lfylow/codereview-mcp'

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