Home / Servers / DigitalOcean API / databases_update_connection_pool
Update Connection Pools (PostgreSQL)
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Update Connection Pools (PostgreSQL) To update a connection pool for a PostgreSQL database cluster, send a PUT request to /v2/databases/$DATABASE_ID/pools/$POOL_NAME. [PUT /v2/databases/{database_cluster_uuid}/pools/{pool_name}]
Name on the gateway: digitalocean_api__databases_update_connection_pool · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
database_cluster_uuid required | string | A unique identifier for a database cluster. |
pool_name required | string | The name used to identify the connection pool. |
mode required | string | The PGBouncer transaction mode for the connection pool. The allowed values are… |
size required | integer | The desired size of the PGBouncer connection pool. The maximum allowed size is… |
db required | string | The database for use with the connection pool. |
user | string | The name of the user for use with the connection pool. When excluded, all… |
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__databases_update_connection_pool",
"arguments": {
"database_cluster_uuid": "…",
"pool_name": "…",
"mode": "…",
"size": 0,
"db": "…"
}
}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 update connection pools (postgresql) tool with database_cluster_uuid set to ….