Skip to main content
Glama
mcp-server-milan-datawarehouse

mcp-server-milan-datawarehouse

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport to use: `stdio` (default) or `streamable-http`.stdio
SNOWFLAKE_ROLENoThe read-only role to use (recommended).
SNOWFLAKE_USERNoLogin name of the read-only service user. Required unless authentication is fully provided via SNOWFLAKE_CONNECTION_NAME.
ALLOWED_SCHEMASNoComma-separated allowlist of schemas in the form `DB.SCHEMA,DB.SCHEMA` (recommended).
SNOWFLAKE_SCHEMANoDefault schema.
MAX_ROWS_HARD_CAPNoCeiling for the `max_rows` query parameter (default `500`).500
SNOWFLAKE_ACCOUNTYesSnowflake account identifier in the form `<org>-<account>`.
STATEMENT_TIMEOUTNoStatement timeout in seconds, set on every session (default `60`).60
SNOWFLAKE_DATABASENoDefault database (recommended).
SNOWFLAKE_PASSWORDNoPassword for the service user, if not using key-pair authentication.
SNOWFLAKE_WAREHOUSENoWarehouse to run queries on (recommended).
SNOWFLAKE_CONNECTION_NAMENoName of an entry in `~/.snowflake/connections.toml` to reuse for authentication/connection settings.
SNOWFLAKE_PRIVATE_KEY_PATHNoPath to the private key file (e.g. `rsa_key.p8`). This is the preferred authentication method.
SNOWFLAKE_PRIVATE_KEY_PASSPHRASENoPassphrase for the private key, if it is encrypted.

Instructions

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

Read-only Snowflake access. Before writing SQL, call search_schema then describe_table so you use real column names; never guess them. Select explicit columns rather than SELECT *. For analytical questions aggregate in SQL with GROUP BY instead of pulling raw rows. Results are TSV with a header line; NULL is an empty cell. Long results are truncated — continue with fetch_more using the cursor_id in the final # line instead of re-running the query.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
search_schemaB

Search table and column names in allowed schemas. One line per match.

describe_tableC

Columns of one table as TSV: name, type, nullable, comment.

run_queryA

Run one read-only SELECT/WITH query. Returns TSV: header then rows.

fetch_moreC

Continue a truncated result using its cursor_id.

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 occupies a distinct step in the read-only query lifecycle: discovery (search_schema), structure inspection (describe_table), execution (run_query), and pagination (fetch_more). The boundary between run_query and fetch_more is made explicit by the cursor_id reference, so misselection is unlikely.

Naming Consistency5/5

All four tools follow a consistent snake_case verb_noun pattern (search_schema, describe_table, run_query, fetch_more). Verb choices are distinct and accurately describe the action.

Tool Count5/5

Four tools is a tight, well-scoped surface for a read-only data warehouse inspector; each tool corresponds to a necessary stage of schema discovery and querying. No tool feels redundant or missing at this count.

Completeness4/5

The read-only lifecycle is fully covered: find tables/columns, inspect structure, execute SELECT/WITH, and paginate truncated results. Minor gaps remain—no way to enumerate schemas/tables directly or inspect keys, constraints, and indexes beyond column metadata.