Home / Servers / DigitalOcean API / monitoring_get_database_mysql_disk_usage
Get Database MySQL Disk Usage Metrics
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Get Database MySQL Disk Usage Metrics Retrieve disk usage (percent) for a MySQL cluster. Use **aggregate** (avg, max, or min) over the time range. [GET /v2/monitoring/metrics/database/mysql/disk_usage]
Name on the gateway: digitalocean_api__monitoring_get_database_mysql_disk_usage · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
db_id required | string | The DBaaS cluster UUID (database ID). |
aggregate required | avg | max | min | Aggregation over the time range (avg, max, or min). |
start required | string | UNIX timestamp to start metric window. |
end required | string | UNIX timestamp to end metric window. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__monitoring_get_database_mysql_disk_usage",
"arguments": {
"db_id": "…",
"aggregate": "…",
"start": "…",
"end": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get database mysql disk usage metrics tool with db_id set to ….