Home / Servers / DigitalOcean API / insights_post_prom_labels
List label names
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
List label names To list label names, send a POST request to /v2/insights/query/{region}/prom/api/v1/labels with application/x-www-form-urlencoded parameters. [POST /v2/insights/query/{region}/prom/api/v1/labels]
Name on the gateway: digitalocean_api__insights_post_prom_labels · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
region required | string | The datacenter region slug for the query. |
start | string | Optional start timestamp. |
end | string | Optional end timestamp. |
match[] | array | Optional series selectors. |
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__insights_post_prom_labels",
"arguments": {
"region": "…"
}
}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 list label names tool with region set to ….