Skip to main content
Glama
MySQL CRUD MCP Server

MySQL CRUD MCP Server

by Nicolas-One

mysql_update

Execute UPDATE queries against MySQL databases to modify existing records, with optional parameterized values for safe, targeted changes.

Instructions

执行 UPDATE 查询。

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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses only that an UPDATE statement runs. It says nothing about permission requirements, whether writes are transactional or auto-committed, how many rows may be affected, or how errors are surfaced — all critical for a mutation tool.

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 description is one short, front-loaded sentence with no wasted words, but its brevity is under-specification rather than disciplined economy. A single clause cannot carry the guidance a SQL mutation tool needs.

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?

Considered alongside the tool's complexity — a destructive raw-SQL execution path — and beside its bare input schema and absent annotations, the description leaves everything an agent needs to call it correctly unexplained.

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?

Schema description coverage is 0% for both parameters, and the description adds nothing: it never explains what 'query' must contain, nor how 'params' bind to placeholders, nor their types or ordering. This is the worst case for parameter semantics because the schema is bare and the description does not compensate.

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 states a specific verb (执行) and resource (UPDATE 查询), and the UPDATE keyword implicitly separates it from the siblings mysql_insert, mysql_delete and mysql_select. It does not say which table or database scope, but an agent can still tell what the tool does.

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 when-to-use or when-not-to-use guidance, and no prerequisites such as whether a WHERE clause is required or whether the call is safe against mass updates. The only routing signal is the word UPDATE, which the agent must infer against the sibling names.

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