Home / Servers / DigitalOcean API / registries_list_garbage_collections
List Garbage Collections
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
List Garbage Collections To get information about past garbage collections for a registry, send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collections. [GET /v2/registries/{registry_name}/garbage-collections]
Name on the gateway: digitalocean_api__registries_list_garbage_collections · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
registry_name required | string | The name of a container registry. |
per_page | integer | Number of items returned per page |
page | integer | Which 'page' of paginated results to return. |
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__registries_list_garbage_collections",
"arguments": {
"registry_name": "…"
}
}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 garbage collections tool with registry_name set to ….