Skip to main content
Glama
raviraj-ntp

mysql-mcp

by raviraj-ntp

execute_ddl

Run CREATE, ALTER, or DROP DDL statements with mandatory confirmation to prevent accidental destructive actions.

Instructions

Execute a DDL statement (CREATE/ALTER/DROP). Requires confirmed=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes
databaseNoDatabase/schema name; defaults to connection default_database
confirmedNoMust be true for destructive operations when confirmation is required
connectionNoNamed connection from config; defaults to default_connection
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It states that 'confirmed=true' is required, implying a destructive operation, but does not explain permissions needed, irreversibility, or what happens on confirmation failure.

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

Conciseness4/5

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

The description is very concise, with a single sentence. However, it omits important details that could be added without significant length, so it's efficient but slightly under-informative.

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?

Given the tool's potentially destructive nature and lack of output schema, the description is too sparse. It fails to provide clear context on when to use, prerequisites, or behavioral nuances, leaving the agent underinformed.

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?

Schema coverage is high (75%), so baseline is 3. The description merely reiterates the 'confirmed' parameter without adding new semantic value beyond what the schema already provides.

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 tool executes DDL statements (CREATE/ALTER/DROP), which distinguishes it from siblings like 'execute' and 'execute_batch' that handle arbitrary SQL or batches. However, it could be more specific about the scope.

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

Usage Guidelines3/5

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

The description mentions that 'confirmed=true' is required, offering a usage condition. However, it provides no guidance on when to prefer this tool over 'execute' or 'execute_batch', nor does it specify when not to use it.

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/raviraj-ntp/mysql-mcp'

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