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

NameTypeDescription
host_id requiredstringThe droplet ID.
interface requiredprivate | publicThe network interface.
direction requiredinbound | outboundThe traffic direction.
start requiredstringUNIX timestamp to start metric window.
end requiredstringUNIX 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from DigitalOcean API