Home / Servers / DigitalOcean API / databases_add_connection_pool

Add a New Connection Pool (PostgreSQL)

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

Add a New Connection Pool (PostgreSQL) For PostgreSQL database clusters, connection pools can be used to allow a database to share its idle connections. The popular PostgreSQL connection pooling utility PgBouncer is used to provide this… [POST /v2/databases/{database_cluster_uuid}/pools]

Name on the gateway: digitalocean_api__databases_add_connection_pool · may change things.

Parameters

NameTypeDescription
database_cluster_uuid requiredstringA unique identifier for a database cluster.
name requiredstringA unique name for the connection pool. Must be between 3 and 60 characters.
mode requiredstringThe PGBouncer transaction mode for the connection pool. The allowed values are…
size requiredintegerThe desired size of the PGBouncer connection pool. The maximum allowed size is…
db requiredstringThe database for use with the connection pool.
userstringThe name of the user for use with the connection pool. When excluded, all…
connectionobject
private_connectionobject
standby_connectionobject
standby_private_connectionobject

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__databases_add_connection_pool",
  "arguments": {
    "database_cluster_uuid": "…",
    "name": "…",
    "mode": "…",
    "size": 0,
    "db": "…"
  }
}

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 add a new connection pool (postgresql) tool with database_cluster_uuid set to ….

More from DigitalOcean API