Skip to main content
Glama
MIT License
5
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_NAMENoDatabase name
DB_PORTNoSQL Server port1433
DB_USERNoSQL Server username or Windows username or Azure AD username
DB_DOMAINNoWindows domain
DB_SERVERNoSQL Server hostname/IP
DB_ENCRYPTNoEnable encryptionfalse
DB_TIMEOUTNoConnection timeout (ms)30000
DB_USE_UTCNoUse UTC for datestrue
DB_PASSWORDNoSQL Server password or Windows password or Azure AD password
DB_POOL_MAXNoMaximum connections10
DB_POOL_MINNoMinimum connections0
DB_PACKET_SIZENoPacket size (bytes)4096
DB_INSTANCE_NAMENoNamed instance (e.g., SQLEXPRESS)
DB_CANCEL_TIMEOUTNoCancel timeout (ms)5000
DB_AZURE_CLIENT_IDNoAzure AD App Client ID
DB_AZURE_TENANT_IDNoAzure AD Tenant ID
DB_REQUEST_TIMEOUTNoRequest timeout (ms)30000
DB_CONNECTION_STRINGNoComplete connection string (alternative to individual settings)
DB_POOL_IDLE_TIMEOUTNoIdle timeout (ms)30000
DB_ENABLE_ARITH_ABORTNoEnable arithmetic aborttrue
DB_AUTHENTICATION_TYPENoAuthentication type (sql/windows/azure-ad)sql
DB_AZURE_CLIENT_SECRETNoAzure AD App Client Secret
DB_TRUST_SERVER_CERTIFICATENoTrust server certificatefalse

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
mcp_table_analysis

Comprehensive SQL Server table analysis including structure, columns, keys, indexes, and constraints

mcp_sp_structure

Analyze SQL Server stored procedure structure including parameters, dependencies, and source code

mcp_preview_data

Get a preview of data from a SQL Server table with optional filters

mcp_get_column_stats

Get comprehensive statistics for a specific column in a table

mcp_execute_procedure

Execute a SQL Server stored procedure with parameters and return results

mcp_execute_query

Execute a raw SQL query and return the results

mcp_quick_data_analysis

Quick statistical analysis of a table including row count, column distributions, and top values

mcp_search_comprehensive

Search across database objects by name and definition with configurable criteria

mcp_get_dependencies

Get dependencies for a database object (tables, views, stored procedures, etc.)

mcp_get_sample_values

Get sample values from a specific column in a table

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hendrickcastro/MCPQL'

If you have feedback or need assistance with the MCP directory API, please join our Discord server