Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_MAX_ROWSNoMax rows returned per query call500

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
list_connectionsA

List all database connections available via DB_ environment variables.

list_tablesC

List all tables and views in the specified database connection.

describe_tableA

Describe columns, primary key, foreign keys, and indexes for a table.

queryB

Execute a read-only SQL query on the specified connection.

preview_mutationB

Preview a write or destructive SQL statement and get a one-time confirmation token.

execute_mutationC

Execute a confirmed write or destructive SQL statement.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/paulushcgcj/db-mcp'

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