arth-semlayer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | AI Studio Gemini API key used by the default Gemini LLM provider. Can be placed in .env or the environment. | |
| SEMLAYER_LLM_URL | No | URL override for local or OpenAI-compatible LLM servers, for example http://localhost:11434 for Ollama. | |
| SEMLAYER_LOG_JSON | No | Set to 1 to emit structured JSON logs suitable for Cloud Logging. | |
| SEMLAYER_LLM_MODEL | No | LLM model override. | gemini-3.5-flash-lite |
| SEMLAYER_WAREHOUSE | No | Warehouse backend override. Set to bigquery to use BigQuery; local DuckDB is the default. | |
| SEMLAYER_BQ_PROJECT | No | GCP project ID used for BigQuery warehouse access and BigQuery MCP. | |
| SEMLAYER_LLM_PROVIDER | No | LLM provider override. Supported values are gemini, ollama, openai, or none to disable the LLM. | gemini |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_metricsB | List certified metrics, their dimensions and versions (supports optional limit/offset). |
| search_metricsB | Search certified metrics by keyword, dimension or synonym (BM25 over FTS5). |
| describe_metricB | Definition, owner, version, time/joinable dimensions and lineage of one certified metric. |
| query_metricC | Compute a certified metric (simple, ratio or derived). Cite name and version in answers. Omit as_role when server is started with a bound --role. |
| query_metricsC | Compute several certified metrics at the same grain without fan-out multiplication. |
| describe_graphB | List entities, their filterable columns and relationship names/cardinalities. |
| traverse_graphB | Entity keys reachable from |
| report_gapA | Call when no certified metric can answer. question = the user's question verbatim; put any explanation in reason. |
| report_issueC | Report a suspected wrong or confusing result. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes: discovery (list/search/describe), computation (query_metric/query_metrics), graph traversal, and feedback reporting. The only pair that could be confused is query_metric vs query_metrics, and the singular/plural boundary is explained by grain/fan-out semantics. describe_metric vs list_metrics vs search_metrics are reasonably differentiated by detail level and lookup mode.
All nine tools follow a consistent verb_noun snake_case pattern: describe_*, list_*, query_*, report_*, search_*, traverse_*. Verb choices are predictable and semantically aligned with each tool's action.
Nine tools is well within the appropriate range and each earns its place: discovery, schema description, single/batch querying, graph traversal, and two distinct feedback channels. There is no obvious redundancy or missing breadth for a semantic-layer consumer server.
The surface covers the core lifecycle well: discover metrics (list/search/describe), compute them (single and multi), understand and traverse the entity graph, and report gaps or bad results. Minor gaps exist around authoring/updating metric definitions and perhaps bulk description, but these may be intentionally out of scope for a read-only consumer server.