Skip to main content
Glama
MCP MySQL Server

MCP MySQL Server

insert

Adds a single row to a specified MySQL table using column-value pairs, letting you record new data through the MCP MySQL Server.

Instructions

Insert a single row into a table

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": {
      "tableName": "<tableName>",
      "data": "<data>"
    },
    "name": "insert"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesKey-value pairs representing column names and values
tableNameYesName of the table

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and does not disclose whether this is a mutation requiring a live connection, what happens on key conflicts, whether existing rows are affected, whether the write is transactional, or what the call returns. For a write tool with zero annotation coverage this is a substantial gap.

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?

A single front-loaded sentence with no wasted words or filler. Its brevity is clean, though in this case it reflects omission rather than tight writing.

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?

No output schema and no annotations, plus a nested object parameter whose shape is only described generically. The definition is too thin to tell an agent how to call this safely or what to expect back.

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 description coverage is 100%, so the tableName and data parameters are already documented in the schema, including the key-value meaning of the nested object. The description adds nothing beyond that baseline.

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?

States a specific verb and resource ('Insert a single row into a table') and the word 'single' usefully scopes the operation. It does not differentiate itself from the sibling update/delete/query tools, so an agent gets no explicit routing signal.

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 guidance, no prerequisites (e.g. a prior connect_db call), and no statement of when to prefer update or query instead. The agent must infer the role of this tool entirely from the names of siblings.

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