Skip to main content
Glama
MCP-MySQL-Ops

MCP-MySQL-Ops

by call518

get_mysql_config

Retrieve MySQL server configuration variables and their current values, optionally filtered by search term, to diagnose configuration issues and verify global or session settings.

Instructions

[Tool Purpose]: Get MySQL server configuration variables

[Exact Functionality]:

  • Show server configuration variables and their values

  • Filter by search term if provided

  • Display both global and session variables

  • Show variable descriptions where available

[Required Use Cases]:

  • When user requests "MySQL config", "server variables", "configuration"

  • When diagnosing configuration issues

  • When checking specific settings

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": "get_mysql_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
search_termNoFilter variables by name containing this term
database_nameNoDatabase name to connect to (uses default if omitted)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that both global and session variables are returned and that descriptions are shown where available, which is useful beyond the schema, but it says nothing about required privileges, read-only nature, or volume of results.

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 bracketed section headers make it scannable and the purpose is front-loaded, but '[Exact Functionality]' largely restates the purpose line, and the four bullets plus three use cases are more verbose than the two-parameter, read-only operation warrants.

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

Completeness4/5

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

An output schema exists, so return-value explanation is unnecessary, and both parameters are optional with full schema coverage. What remains thin is behavioral context (privileges, scope of variables returned), but the definition is otherwise sufficient to call the tool correctly.

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 100%, so parameter documentation is already handled structurally, making 3 the baseline. The description adds only a light restatement of search_term filtering ('Filter by search term if provided') and never mentions database_name or how the connection target affects results.

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: 'Get MySQL server configuration variables', elaborated as showing server configuration variables and their values. It is distinguishable from siblings like get_server_status or get_server_info, though the description never explicitly contrasts with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The '[Required Use Cases]' block gives concrete triggers: user asks for 'MySQL config'/'server variables'/'configuration', diagnosing configuration issues, checking specific settings. It offers no exclusions or named alternatives (e.g., when to prefer get_server_status instead), so it stops short of full routing guidance.

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