Skip to main content
Glama
mesquitadev

mcp-oracle-db

by mesquitadev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ORACLE_MODENoreadonly or readwritereadonly
ORACLE_USERYesDatabase username
ORACLE_MAX_ROWSNoMax rows per query1000
ORACLE_PASSWORDYesDatabase password
ORACLE_TNS_ADMINNoPath to tnsnames.ora directory
ORACLE_WALLET_LOCATIONNoPath to Oracle Wallet (for cloud DBs)
ORACLE_CONNECTION_STRINGYeshost:port/service or TNS alias

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
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_schemasA

List all accessible schemas in the Oracle database

list_tablesA

List all tables and views in a schema

describe_tableA

Show columns, types, primary keys, foreign keys, and indexes for a table

queryB

Execute a SELECT query against the Oracle database. Returns results as JSON.

executeA

Execute INSERT, UPDATE, DELETE, or MERGE statement. Requires ORACLE_MODE=readwrite. Auto-commits on success.

ddlA

Execute DDL statements (CREATE, ALTER, DROP, TRUNCATE, etc). Requires ORACLE_MODE=readwrite.

explain_planB

Generate execution plan for a SQL query

session_infoA

Get information about the current database session

active_sessionsA

List active sessions in the Oracle database (V$SESSION)

locksA

Show active locks and blocking sessions

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: schema/table metadata (list_schemas, list_tables, describe_table), SQL operations (query, execute, ddl), query planning (explain_plan), and session/admin monitoring (session_info, active_sessions, locks). No overlaps exist.

Naming Consistency4/5

Most names are clear and follow a verb_noun pattern (list_schemas, describe_table, explain_plan), but a few are single verbs (query, execute) or bare nouns (ddl, locks), creating minor inconsistency. Still readable and predictable overall.

Tool Count5/5

10 tools is well-scoped for a database server, covering metadata exploration, SQL DML/DDL, query analysis, and session/lock monitoring without excess. Each tool earns its place.

Completeness4/5

The set covers the core database lifecycle: schema discovery, querying, data modification, DDL, and monitoring. Minor gaps like a dedicated index-listing tool or multi-statement runner exist, but agents can work around them via DDL and query.

Maintenance

ActivityInactive
ResponsivenessNo issues