Home / Servers / DigitalOcean API / genai_get_agent_usage

Get Agent Usage

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Get Agent Usage To get agent usage, send a GET request to /v2/gen-ai/agents/{uuid}/usage. Returns usage metrics for the specified agent within the provided time range. [GET /v2/gen-ai/agents/{uuid}/usage]

Name on the gateway: digitalocean_api__genai_get_agent_usage · read-only.

Parameters

NameTypeDescription
uuid requiredstringAgent id
startstringReturn all usage data from this date.
stopstringReturn all usage data up to this date, if omitted, will return up to the…

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__genai_get_agent_usage",
  "arguments": {
    "uuid": "…"
  }
}

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 agent usage tool with uuid set to ….

More from DigitalOcean API