Skip to main content
Glama

MySQL-Performance-Tuner-Mcp

get_statements_with_errors

Identify MySQL queries that generate errors or warnings to detect problematic application SQL statements and improve database reliability.

Instructions

Get statements that produce errors or warnings.

Identifies queries with:

  • Error counts

  • Warning counts

  • Error rates

Helps identify problematic application queries.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum statements to return
errors_onlyNoOnly show statements with errors (not warnings)

Input Schema (JSON Schema)

{ "properties": { "errors_only": { "default": false, "description": "Only show statements with errors (not warnings)", "type": "boolean" }, "limit": { "default": 25, "description": "Maximum statements to return", "type": "integer" } }, "required": [], "type": "object" }

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