table_stats
Inspect PostgreSQL table statistics: live/dead tuples and last vacuum/analyze times to identify bloat and maintenance needs.
Instructions
Show table statistics including live/dead tuples, last vacuum/analyze times.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of tables to show (default: 20) | |
| table | No | Specific table name (optional, shows all if omitted) |