Skip to main content
Glama
ottimis

mcp-query

by ottimis

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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 configured database connections with their driver, database, and permission level.

list_tablesA

List all tables in a database.

Args: connection: Name of the database connection to use.

describe_tableA

Show the structure of a database table (columns, types, keys).

Args: connection: Name of the database connection to use. table: Name of the table to describe.

queryA

Execute a SQL query on a database connection.

The query type is checked against the connection's allowed operations. Permissions can be a preset (read, write, admin) or a custom list of allowed operations (e.g. [select, insert]).

Multi-statement queries are blocked. SELECT queries have an automatic row limit.

Args: connection: Name of the database connection to use. sql: The SQL query to execute.

query_logA

Show recent query audit log entries.

Args: connection: Filter by connection name (empty = all connections). limit: Maximum number of entries to return (default 20).

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/ottimis/mcp-query'

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