Skip to main content
Glama
MCP-MySQL-Ops

MCP-MySQL-Ops

by call518

get_server_info

Retrieve MySQL server version, edition, uptime, configuration, storage engines, and sanitized connection details to diagnose compatibility and verify capabilities.

Instructions

[Tool Purpose]: Get MySQL server version and basic information

[Exact Functionality]:

  • Show MySQL server version, edition, and compilation info

  • Display server uptime and basic configuration

  • Show available storage engines and default engine

  • Provide server connection details (sanitized)

[Required Use Cases]:

  • When user requests "server info", "MySQL version", "server status"

  • When diagnosing compatibility issues

  • When checking server capabilities

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

Input Schema

NameRequiredDescriptionDefault
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 supplied, the description must carry the behavioral load. It does disclose useful traits: the tool reads (not mutates) server metadata, includes uptime and engine info, and notably that connection details are "sanitized" — a real signal about output sensitivity. It stops short of stating read-only guarantees, permissions required, or any side-effect profile, so it adds context but not a full behavioral picture.

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?

Front-loaded with a purpose line, then bulleted functionality and use cases — scannable and free of filler prose. It loses a point because the bracketed pseudo-headers and the itemized return list duplicate ground already covered by the output schema, making it longer than a simple read tool 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?

For a low-complexity, single-optional-parameter read tool with an output schema present, the description covers purpose, triggers, and the shape of results adequately. The remaining gaps (permissions, error behavior, read-only confirmation) are minor given the tool's simplicity and the presence of an output schema.

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?

Only one optional parameter (database_name) exists and schema description coverage is 100%, with the schema already explaining that the default is used when omitted. The description says nothing further about how the database context affects the returned server info, so it neither adds nor subtracts from the schema 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+resource ("Get MySQL server version and basic information") and enumerates concrete content: version, edition, compilation info, uptime, storage engines, sanitized connection details. The purpose is unambiguous, but the definition never distinguishes this tool from overlapping siblings such as get_server_status, get_mysql_config, or get_connection_info, which its content list also touches.

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?

Provides explicit trigger phrases ("server info", "MySQL version", "server status") and two diagnostic scenarios (compatibility issues, capability checks), which is solid when-to-use context. It offers no when-not-to-use guidance or named alternatives, and the "server status" trigger overlaps conceptually with other status-oriented tools, leaving routing to the agent.

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