Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OFFLINE_MODENoSet to true to force offline/mock mode. If no API key is set (or OFFLINE_MODE=true), LLMClient automatically uses deterministic mock responses so the entire pipeline and test suite run offline at zero cost.
GEMINI_API_KEYNoOptional API key for Gemini (used by LiteLLM). Can be added to the .env file; if no API key is set (or OFFLINE_MODE=true), the LLMClient automatically uses deterministic mock responses so the entire pipeline and test suite run offline at zero cost.
OPENAI_API_KEYNoOptional API key for OpenAI (used by LiteLLM). Can be added to the .env file; if no API key is set (or OFFLINE_MODE=true), the LLMClient automatically uses deterministic mock responses so the entire pipeline and test suite run offline at zero cost.

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

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
ask_business_questionA

Answer a plain-English business question using the full analytics pipeline.

Runs semantic resolution, safe DuckDB SQL generation, query execution, and returns an executive summary, key findings, and a chart recommendation.

inspect_ontologyA

Inspect the business ontology, entities, relationships, and metrics.

If entity_or_metric is provided, returns detailed information for that specific entity or metric. Otherwise, returns a complete glossary overview.

generate_sql_onlyA

Generate and validate DuckDB SQL for a question without executing it.

execute_analytics_sqlA

Execute a read-only analytical SQL query directly against DuckDB.

Rejects any non-SELECT/WITH statements or DDL/DML commands via SQLGlot AST validation.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

The tools have distinct pipeline roles: full Q&A, ontology inspection, SQL generation without execution, and direct SQL execution. There is mild overlap between ask_business_question and generate_sql_only since both generate SQL, but the execute/no-execute distinction is clear.

Naming Consistency4/5

All names use consistent snake_case with verb-first phrasing. Minor deviation: generate_sql_only includes a qualifier suffix rather than a clean verb_noun pattern, but it remains readable and predictable.

Tool Count5/5

Four tools is well-scoped for a focused analytics pipeline: ask, inspect metadata, generate SQL, and execute SQL. Each tool has a clear purpose within that flow.

Completeness4/5

The surface covers the main analytics lifecycle from question to execution, plus ontology inspection and safe SQL validation. Minor gaps include no dedicated schema/table discovery beyond ontology inspection and no chart rendering, only recommendation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues