mcp-oracle-db
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ORACLE_MODE | No | readonly or readwrite | readonly |
| ORACLE_USER | Yes | Database username | |
| ORACLE_MAX_ROWS | No | Max rows per query | 1000 |
| ORACLE_PASSWORD | Yes | Database password | |
| ORACLE_TNS_ADMIN | No | Path to tnsnames.ora directory | |
| ORACLE_WALLET_LOCATION | No | Path to Oracle Wallet (for cloud DBs) | |
| ORACLE_CONNECTION_STRING | Yes | host: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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
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.
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.
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.
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.