mcp_get_media_stats
Retrieve media library statistics, including counts by type and total size, to analyze your WordPress site's media usage.
Instructions
Get media library statistics (counts by type, total 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": {
"site": "<site>"
},
"name": "mcp_get_media_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) |