Home / Servers / DigitalOcean API / monitoring_get_droplet_bandwidth_metrics
Get Droplet Bandwidth Metrics
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Get Droplet Bandwidth Metrics To retrieve bandwidth metrics for a given Droplet, send a GET request to /v2/monitoring/metrics/droplet/bandwidth. Use the interface query parameter to specify if the results should be for the… [GET /v2/monitoring/metrics/droplet/bandwidth]
Name on the gateway: digitalocean_api__monitoring_get_droplet_bandwidth_metrics · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
host_id required | string | The droplet ID. |
interface required | private | public | The network interface. |
direction required | inbound | outbound | The traffic direction. |
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_droplet_bandwidth_metrics",
"arguments": {
"host_id": "…",
"interface": "…",
"direction": "…",
"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 droplet bandwidth metrics tool with host_id set to ….