mcp_optimize_tables
Optimizes every WordPress database table matching the selected site's table prefix by running OPTIMIZE TABLE, helping reclaim space and maintain database performance.
Instructions
Run OPTIMIZE TABLE on every table with the site's table prefix
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": {
"site": "<site>"
},
"name": "mcp_optimize_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) |