Skip to main content
Glama
MySQL CRUD MCP Server

MySQL CRUD MCP Server

by Nicolas-One

mysql_delete

Execute DELETE queries against MySQL databases to remove rows, with optional parameterized values for safe, targeted data deletion.

Instructions

执行 DELETE 查询。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "mysql_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full disclosure burden and provides none: it does not say deletes are destructive and irreversible, whether autocommit applies, whether a WHERE is required or enforced, what permissions are needed, or what is returned (e.g., affected row count). For a destructive SQL operation this is a serious gap.

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

Conciseness3/5

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

The single short sentence is front-loaded and free of padding. However, its brevity stems from under-specification rather than disciplined editing, so it is concise but not informative.

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

Completeness1/5

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

For a destructive mutation tool with no annotations, no output schema, no parameter documentation, and no return-value information, the definition is far too thin. An agent cannot determine safety constraints, parameterization syntax, or expected results from this description.

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

Parameters1/5

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

The tool has two parameters (query, params) at 0% schema description coverage, and the description explains neither. It does not clarify that query is raw SQL text, that params are positional bind values, or which placeholder syntax to use.

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

Purpose2/5

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

The description reads "执行 DELETE 查询" (Execute DELETE query), which essentially restates the tool name mysql_delete rather than defining scope, target, or behavior. It does convey that the tool performs deletes, but adds nothing that distinguishes it meaningfully from siblings mysql_insert/mysql_select/mysql_update.

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?

There is no guidance on when to use this tool versus mysql_update, mysql_insert, or mysql_select, and no mention of prerequisites such as a WHERE clause requirement. Usage is only implied by the DELETE keyword in the name and the one-sentence description.

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