Skip to main content
Glama
MySQL CRUD MCP Server

MySQL CRUD MCP Server

by Nicolas-One

mysql_info

Retrieves MySQL connection details to verify database connectivity and configuration before running CRUD queries.

Instructions

获取连接信息。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mysql_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and it delivers almost nothing. '获取' implies a read, but the description never states whether the call is safe, whether it exposes sensitive data such as credentials or hostnames, or whether it has side effects or costs.

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 sentence is trivially front-loaded and wastes no words, but at this length the terseness is under-specification rather than efficiency. Brevity that leaves the resource undefined does not earn full marks.

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?

There is no output schema, so the description is the only place a caller could learn what this returns, and it says nothing about the shape or fields of the connection information. For a simple no-argument tool the burden is small, but the central ambiguity about the return value is left entirely unresolved.

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

Parameters4/5

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

The schema has zero parameters and 100% description coverage, so there is nothing for the description to clarify. Per the baseline rule for parameter-free tools, this is adequate by default; the description neither helps nor hurts here.

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

Purpose3/5

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

The description gives a verb and a resource ('获取连接信息' – get connection information), which is more than a tautology, but 'connection information' is undefined. An agent cannot tell whether this returns a connection string, host/port, pool status, or server version, and nothing distinguishes it from the mysql_* CRUD siblings beyond the obvious fact that it is not one of them.

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 call this tool, no prerequisites, and no mention of the sibling tools. An agent must infer that this is a diagnostic/metadata call rather than a query, and gets no signal about when such information would be useful.

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