Skip to main content
Glama

sixta-connect

Find redundant indexes (SIXTA)

sixta_review_indexes
Read-onlyIdempotent

Find duplicate and redundant indexes you can drop — no connection needed. Paste schema DDL (SHOW CREATE TABLE output, a mysqldump --no-data, or a pg_dump --schema-only) and get: exact-duplicate indexes, prefix-redundant indexes (an index on (a) already covered by (a,b)), and secondary indexes that just re-state the primary key — each with the exact DROP statement and the write-amplification it costs. Use when the user pastes CREATE TABLE / schema or asks 'do I have redundant or duplicate indexes'. Input is analyzed in memory and never stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ddlYesSchema DDL — SHOW CREATE TABLE output, mysqldump --no-data, or pg_dump --schema-only (one or many tables)
engineNoDatabase engine: postgresql or mysql. Optional — sets the DROP syntax.
versionNoEngine version, e.g. '16' (PostgreSQL major) or '8.0.35' (MySQL). Omit for a modern default; some verdicts are version-dependent and the assumption is stated in the result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineNoEngine the analysis targeted, when known.
reportYesThe full human-readable SIXTA report (markdown).
findingsNoNamed findings as structured data, when the tool produces them.
finding_countNoNumber of findings/issues identified.
overall_severityNoHighest severity across findings (Critical/High/Medium/Low/Info).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that input is analyzed in memory and never stored, and details the output (DROP statements with write-amplification cost). No contradictions.

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?

The description is a single paragraph that covers purpose, output specifics, usage guidance, and safety. It is front-loaded with the key result. Slightly long but each sentence adds value.

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

Completeness5/5

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

Given the tool's complexity (three redundancy types), the presence of an output schema, and the annotations, the description fully covers input, output, and safety. No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents each parameter. The description adds value by giving concrete examples for ddl (SHOW CREATE TABLE, mysqldump, pg_dump) and explaining how engine and version affect output (DROP syntax, version-dependent verdicts).

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 identifies duplicate and redundant indexes from schema DDL, listing specific categories (exact-duplicate, prefix-redundant, secondary indexes restating PK). The title and description distinguish it from sibling tools like sixta_analyze_query or sixta_analyze_schema_change.

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 explicitly says when to use ('when user pastes CREATE TABLE/schema' or asks about redundant indexes) and that no connection is needed. It does not explicitly state when not to use, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources