Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOVLAKE_ORGNoThe organization for row-scoped roles such as care_coordinator, e.g. org-riverbend.
GOVLAKE_ROLENoThe role the server acts as. Defaults to population_analyst. Can be population_analyst, care_coordinator, or auditor.population_analyst
GOVLAKE_MAX_SCAN_ROWSNoMaximum estimated rows touched before a request is rejected. Defaults to 10 million.10000000
GOVLAKE_PSEUDONYM_KEYNoKey used for pseudonymizing IDs. If not set, pseudonyms change on restart.
GOVLAKE_QUERY_TIMEOUT_SNoMaximum running time in seconds before a query is stopped. Defaults to 5 seconds.5

Instructions

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

Governed access to a synthetic healthcare lakehouse. You cannot send SQL. Call list_metrics to see what your role may query, then ask in plain English or use query_metric. Identifiers are masked or withheld, and every data request is audited.

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
healthA

Report that the server is up, and its version.

list_metricsA

List the metrics and datasets your role may query, with their dimensions, grains and columns. Dataset columns show how each is returned (e.g. 'initial', 'year', 'forbidden').

describe_metricB

Describe one metric or dataset your role may query.

askA

Ask a plain-English question about a defined metric or dataset, e.g. 'How many encounters per month in 2025 by payer?'. The server maps it to a definition, applies your role's rules, generates SQL itself, and returns the SQL, the result, any masking applied, and an audit id. Denials include a reason_code.

query_metricA

Structured form of ask: name a metric or dataset from list_metrics, plus dimensions (metrics), columns (datasets), an optional grain and year.

read_auditA

Auditor role only: the most recent audit events (newest last) and whether the audit log's hash chain is intact. Reading the log is itself audited.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Most tools target clearly separate concerns (health, discovery via list_metrics/describe_metric, querying, auditing). The only real overlap is between ask and query_metric, but the descriptions explicitly frame query_metric as the 'structured form of ask', which gives an agent a usable decision rule. Minor residual risk that an agent picks the NL path when structured parameters were intended.

Naming Consistency4/5

Four of six tools follow a clean verb_noun snake_case pattern (list_metrics, describe_metric, query_metric, read_audit). Deviations are 'health' (bare noun) and 'ask' (bare verb), which are conventional and readable but break the pattern. No style mixing such as camelCase, so the set stays predictable.

Tool Count5/5

Six tools is well-scoped for a governed metric-query server: exactly one liveness probe, two discovery tools, two query entry points, and one audit tool. Every tool earns its place with no redundant entries. Nothing feels thin given the narrow, governance-focused domain.

Completeness4/5

The surface covers the full lifecycle an agent needs: connectivity check, metric discovery, metric description, two query paths, and audit verification including hash-chain integrity. Gaps are small — no pagination/limit controls on results, and read_audit only exposes the most recent events rather than filtering or time ranges. Agents can work around these, but they are real limitations.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues