Skip to main content
Glama
raviraj-ntp

mysql-mcp

by raviraj-ntp

delete_rows

Delete specific rows from a MySQL table with a required WHERE clause to prevent accidental mass deletion.

Instructions

DELETE rows with a required WHERE clause.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
whereYesWHERE clause (required)
paramsNo
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
Behavior2/5

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

No annotations exist, so description must carry the burden. It mentions required WHERE clause as a safety trait, but does not disclose irreversibility, effect on data, or any other behavioral aspects. For a destructive operation, more transparency is needed.

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?

Single sentence front-loads the key action and constraint. No wasted words; efficient and clear.

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 6 parameters, no output schema, and no annotations, the description is too minimal. It fails to explain return values, safety precautions beyond WHERE, or how to use optional parameters like params and confirmed.

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 67%, so baseline is 3. Description only adds 'required' for WHERE, adding no extra meaning beyond schema. It doesn't explain other parameters like table, params, or confirmed.

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

Purpose5/5

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

Description clearly states the verb 'DELETE' and resource 'rows', emphasizing the required WHERE clause. This distinguishes it from sibling tools like truncate_table which deletes all rows without a WHERE clause.

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?

Implicitly suggests use when deleting specific rows with a WHERE clause, but provides no explicit when-to-use or when-not-to-use guidance, nor mentions alternatives among many sibling tools.

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