Skip to main content
Glama
IzumiSy

MCP Universal DB Client

Run SQL Query

run_query

Execute SQL queries on connected databases to retrieve, update, or manage data across PostgreSQL, MySQL, and SQLite systems through a unified interface.

Instructions

Run SQL query on the connected database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionIDYesThe connection ID
queryYesThe SQL queries to execute
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Run SQL query' implies execution capability, it doesn't disclose critical behavioral traits like whether this executes read-only queries, supports transactions, has side effects, requires specific permissions, or handles errors. The description is minimal and lacks necessary context for safe use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - a single sentence with no wasted words. It's front-loaded with the core functionality and appropriately sized for what it communicates, though it could benefit from additional context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that executes SQL queries with no annotations and no output schema, the description is insufficient. It doesn't explain what happens when queries run (transactions, side effects), what the return format might be, error handling, or security implications. Given the complexity and potential impact of SQL execution, more completeness is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with both parameters clearly documented in the input schema. The description adds no additional parameter semantics beyond what's already in the schema (connectionID and query array). This meets the baseline expectation when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Run SQL query') and target resource ('on the connected database'), providing a specific verb+resource combination. However, it doesn't distinguish this tool from potential sibling tools that might also execute queries, though none are listed among the provided siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites like needing an established connection first (though 'connect_database' is a sibling), nor does it specify what types of queries are appropriate or any limitations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/IzumiSy/mcp-universal-db-client'

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