Skip to main content
Glama
lrferr

mysql-mcp-server

by lrferr

compress_table

Reduce MySQL table storage usage by compressing a specified table within a schema to reclaim disk space.

Instructions

Comprime uma tabela para economizar espaço

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNameYesNome da tabela
schemaNameYesNome do schema
connectionNameNoNome da conexão para usar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether the table is locked or unavailable during compression, whether the operation is reversible, how long it takes on large tables, or which privileges are required.

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?

A single front-loaded sentence with zero waste, and the verb+resource leads the phrase. It is terse rather than padded, though the brevity becomes under-specification rather than true efficiency for a risky mutation.

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

Completeness2/5

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

For a mutating maintenance operation with no annotations and no output schema, the description omits operational risk, permissions, downtime, and expected effects. The schema covers parameters, but the behavioral context an agent needs to call this safely is missing.

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 description coverage is 100%, and each parameter already has a description in Portuguese, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond that, making the baseline of 3 appropriate.

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?

The description states a specific verb+resource ('Comprime uma tabela') plus a rationale ('para economizar espaço'), so the operation is identifiable. However, it does not differentiate from related maintenance siblings such as analyze_table or archive_old_data, and 'compress' is left ambiguous across database engines.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool, when not to use it, or what prerequisites apply (write privileges, table locks, engine support). The only hint is the stated goal of saving space, which is implied usage at best.

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