Skip to main content
Glama
isdaniel

MySQL-Performance-Tuner-Mcp

analyze_statements

Analyze SQL statement performance metrics including execution times, row efficiency, and error rates to identify optimization opportunities in MySQL databases.

Instructions

Analyze SQL statements from performance_schema/sys schema.

Provides comprehensive analysis of:

  • Statement digest summaries

  • Total and average execution times

  • Rows examined vs rows sent ratios

  • Statement error rates

  • Most expensive queries

Based on MySQLTuner's performance schema analysis. Requires performance_schema enabled.

Note: This tool excludes queries against MySQL system schemas (mysql, information_schema, performance_schema, sys) to focus on user/application query analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schema_nameNoFilter by specific schema (optional)
order_byNoOrder by metrictotal_latency
limitNoMaximum number of statements to return
min_exec_countNoMinimum execution count filter

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isdaniel/MySQL-Performance-Tuner-Mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server