Skip to main content
Glama
isdaniel

MySQL-Performance-Tuner-Mcp

analyze_buffer_pool

Read-onlyIdempotent

Analyze InnoDB buffer pool usage to identify memory allocation patterns, page distribution, and efficiency metrics. Provides recommendations for optimal buffer pool sizing based on schema and table breakdowns.

Instructions

Detailed analysis of InnoDB buffer pool usage.

Analyzes:

  • Buffer pool allocation by schema and table

  • Page types and distribution

  • Hit ratios and efficiency metrics

  • Memory allocation patterns

  • Recommendations for buffer pool sizing

Note: When analyzing by schema/table, this tool only shows user/custom tables and excludes MySQL system tables (mysql, information_schema, performance_schema, sys).

Uses sys schema views for detailed breakdown when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
by_schemaNoInclude breakdown by schema
by_tableNoInclude breakdown by table (top N)
top_nNoNumber of top tables to show
Behavior4/5

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

The description adds valuable behavioral context beyond annotations: it specifies that system tables are excluded during schema/table analysis and mentions reliance on sys schema views when available. While annotations already indicate read-only, non-destructive, and idempotent behavior, the description provides implementation details that help the agent understand scope and data sources.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and efficiently organized: it starts with the core purpose, lists specific analysis areas in bullet points, then adds important notes about exclusions and implementation. Every sentence earns its place with no redundant information.

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 read-only analysis tool with comprehensive annotations and full parameter documentation, the description provides good contextual completeness. It covers what the tool analyzes, important exclusions, and implementation details. The main gap is the lack of output schema, but the description compensates somewhat by listing analysis areas that hint at return values.

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?

With 100% schema description coverage, the input schema already fully documents all three parameters. The description doesn't add any additional parameter semantics beyond what's in the schema, so it meets the baseline expectation but doesn't provide extra value regarding parameter usage or implications.

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

Purpose5/5

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

The description clearly states the tool performs 'Detailed analysis of InnoDB buffer pool usage' with specific analysis areas listed (allocation by schema/table, page types, hit ratios, memory patterns, sizing recommendations). It distinguishes from siblings by focusing specifically on buffer pool analysis rather than other database components like transactions, queries, or security.

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 description provides clear context about when to use this tool (for analyzing buffer pool usage) and includes an important exclusion note about system tables. However, it doesn't explicitly mention when NOT to use it or name specific alternative tools for related but different analyses.

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

Install Server

Other Tools

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/mysqltuner_mcp'

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