Skip to main content
Glama
DB MCP Server

DB MCP Server

by HW-public

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ORACLE_DSNNoOracle DSN (host:port/service_name)
ORACLE_USERNoOracle username
POSTGRES_HOSTNoPostgreSQL host
POSTGRES_PORTNoPostgreSQL port
POSTGRES_USERNoPostgreSQL username
ORACLE_LIB_DIRNoPath to Oracle instant client directory for thick mode
ORACLE_PASSWORDNoOracle password
ORACLE_THICK_MODENoSet to "1" to enable Oracle thick mode
POSTGRES_DATABASENoPostgreSQL database name
POSTGRES_PASSWORDNoPostgreSQL password

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesB

List all tables in a schema. Defaults to the configured default database.

describe_tableA

Describe a table: show columns, data types, and constraints.

execute_queryB

Execute a read-only SELECT query.

execute_dmlB

Execute INSERT, UPDATE, DELETE, or DDL statements.

add_data_sourceA

Connect to an additional database at runtime — no server restart needed. The new source can then be used via the dataSource parameter of all other tools. Note: credentials passed here are visible in session logs; prefer environment variables for permanent sources.

list_data_sourcesB

List all connected data sources and their types.

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

Disambiguation5/5

Each tool targets a distinct action-resource pair: enumeration (list_tables, list_data_sources), introspection (describe_table), read execution (execute_query), write/DDL execution (execute_dml), and connection management (add_data_source). The read-only vs. mutating split between execute_query and execute_dml is explicitly stated, leaving no realistic misselection risk.

Naming Consistency5/5

All six names follow a uniform snake_case verb_noun pattern (list_, describe_, execute_, add_), and the verbs accurately signal the operation type. The two execute_* tools share a verb but are differentiated by a meaningful suffix (query vs. dml), which reinforces rather than breaks the convention.

Tool Count5/5

Six tools is well-scoped for a database access server: discovery, introspection, two execution modes, and data-source registration/listing. Every tool earns its place with no redundant or filler entries.

Completeness4/5

The surface covers the core lifecycle: discover tables, inspect schema, run SELECTs, run DML/DDL, and manage connections. Gaps exist around transaction control (begin/commit/rollback), query cancellation, and schema/database enumeration, though these can be partially worked around via information_schema queries through execute_query.

Maintenance

ActivityStale
ResponsivenessNo recent community issues