mcp_get_media_stats
Retrieve media library statistics for a WordPress site, including file counts by MIME type, total size, upload path and URL, and maximum upload size.
Instructions
Get media library statistics (counts by MIME type, total size, upload path/url, max upload 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) |