get_table_stats
Get table statistics to monitor PostgreSQL health: estimated row count, live/dead tuples, last vacuum/analyze times, and total disk size.
Instructions
Get statistics for a table: estimated row count (from pg_stat), live/dead tuples, last vacuum/analyze times, and total disk size.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table_name": "<table_name>"
},
"name": "get_table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the table |