Skip to main content
Glama

sixta-connect

Database health check (SIXTA)

sixta_health_check
Read-onlyIdempotent

Triage of diagnostics the user runs themselves. Paste any of: pg_stat_user_tables (vacuum/bloat triage, graded A–F with ready-to-run fixes), pg_settings / SHOW GLOBAL VARIABLES / conf files (configuration review against DBRE sizing rules — pass ram_gb, cpu_cores, workload), SHOW ENGINE INNODB STATUS (deadlock analysis, purge lag, buffer-pool misses, long-running transactions), or a pg_stat_statements excerpt (workload triage: dominant queries, N+1 signatures, slow-per-call outliers). Use when the user asks 'is my database healthy', mentions bloat/autovacuum/wraparound/deadlocks, or wants their config or workload reviewed. Called with nothing parseable, it returns the exact queries to run. Input is analyzed in memory and never stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineYesDatabase engine: postgresql or mysql
ram_gbNoInstance RAM in GB — enables sizing-dependent config checks
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.
workloadNoWorkload shape (default mixed) — sizing rules branch on this
cpu_coresNoInstance CPU cores — enables CPU-scaled config checks
diagnosticsYesPasted diagnostic output (pg_stat_user_tables, pg_settings, SHOW VARIABLES, or a config file)
database_xid_ageNoPostgreSQL: result of SELECT max(age(datfrozenxid)) FROM pg_database — enables wraparound checks

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.8/5.0
Behavior5/5

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

The description adds behavioral context beyond annotations: 'Input is analyzed in memory and never stored.' It also explains that with unparseable input it returns exact queries. Annotations already mark it as readOnly, idempotent, non-destructive, and the description aligns perfectly, adding valuable reassurance.

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 moderately long but well-structured: starts with purpose, lists diagnostics, gives usage cues, then fallback and security note. Every sentence adds value, though it could be slightly tightened without losing clarity.

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 7 parameters, output schema, and many siblings, the description covers all key aspects: what the tool does, acceptable inputs, when to use, fallback behavior, and data handling. The presence of an output schema means return values need not be detailed. No gaps identified.

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 coverage is 100%, so baseline is 3. The description adds extra meaning by explaining how parameters like ram_gb, cpu_cores, workload are used together for configuration review, and how database_xid_age enables wraparound checks. This goes beyond the schema's standalone descriptions.

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's purpose as 'Triage of diagnostics the user runs themselves' and lists specific diagnostic types (pg_stat_user_tables, pg_settings, etc.) and outputs (graded analysis, fixes). It distinguishes from sibling tools by focusing on overall health checks, while siblings handle specific analyses like query or schema change review.

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

Usage Guidelines5/5

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

Explicitly tells when to use: 'Use when the user asks 'is my database healthy', mentions bloat/autovacuum/wraparound/deadlocks, or wants their config or workload reviewed.' Also explains behavior when input is nothing parseable (returns queries to run). This provides clear context and exclusions implicitly via sibling tool list.

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