Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OLLAMA_MODELNoOptional local Ollama model ID.
OLLAMA_BASE_URLNoLocal OpenAI-compatible Ollama endpoint.http://localhost:11434/v1
OPENROUTER_API_KEYNoOptional OpenRouter API key for AI review.
OPENROUTER_DEFAULT_MODELNoOptional OpenRouter model ID. If empty, a low-cost model is selected from the live catalog.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Defensive security checks for LLM-powered web applications. Scan a local project, then ask for an AI review only when the user wants a second opinion. Never send whole files to a model; only the finding and the relevant code context.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
scanC

Scan a local project for LLM web security issues. Read-only, no AI calls.

reviewB

Ask a real LLM to review one finding and a small code snippet.

The snippet is sent to the selected provider. Use provider=ollama to keep it on this machine. The default is local Ollama first, then OpenRouter.

modelsA

List available Ollama models and current OpenRouter models with prices.

rulesA

List the deterministic checks and their OWASP LLM mappings.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct role: scan runs the deterministic static pass, review does a single LLM-backed deep dive on one finding, while models and rules are pure informational lookups. The scan vs. review boundary is spelled out explicitly (read-only/no AI calls vs. snippet sent to a provider), so misselection is unlikely.

Naming Consistency4/5

All names are single lowercase tokens with no case/style drift, which is predictable. The only inconsistency is grammatical: scan/review are verbs while models/rules are bare nouns that implicitly mean list_models/list_rules.

Tool Count5/5

Four tools is a tight, well-scoped surface for a small security scanner: detection, AI-assisted triage, provider discovery, and rule enumeration. No tool looks redundant or like filler, and nothing essential is obviously missing at this scale.

Completeness4/5

The lifecycle (list rules -> scan -> inspect providers -> review a finding) is coherent and has no dead ends. Minor gaps: no way to enumerate/export the findings from a scan in structured form, and no configuration/baseline management for suppressions or provider defaults.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues