Skip to main content
Glama

Create Postgres instance

render_create_postgres

Create a new Postgres database on Render, specifying version, plan, region, and optional settings like disk size, connection pooling, and high availability.

Instructions

Create Postgres instance. Create a new Postgres instance. Calls POST /postgres on the Render Public API. Usage: version is a major version as a string (e.g. "16"). Plans and their disk sizes come from render_list_postgres_sizes. The generated password appears only in the creation response; afterwards, read credentials with render_retrieve_postgres_connection_info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the database as it will appear in the Render Dashboard
planYes
regionNoDefaults to "oregon"oregon
ownerIdYesThe ID of the workspace to create the database for
versionYesThe PostgreSQL version
diskSizeGBNoThe number of gigabytes of disk space to allocate for the database
datadogSiteNoDatadog region to use for monitoring the new database. Defaults to 'US1'.
ipAllowListNo
databaseNameNorandomly generated
databaseUserNorandomly generated
readReplicasNo
datadogAPIKeyNoThe Datadog API key for the Datadog agent to monitor the new database.
environmentIdNo
connectionPoolNoWhat connection pool to use (if any) out of 'pgbouncer' and 'none'none
parameterOverridesNo
enableDiskAutoscalingNo
enableHighAvailabilityNo
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), the description discloses that the generated password is only visible in the creation response, which is critical for credential management. It also names the HTTP POST method, implying a non-idempotent create operation with side effects. This adds meaningful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences ('Create Postgres instance. Create a new Postgres instance.') are redundant and could be condensed into one. The remaining sentences are information-dense and useful, covering the API endpoint, version usage, plan source, and password behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (17 parameters, nested objects, no output schema), the description highlights essential gotchas (version, plan source, password visibility) but does not explain return structure, asynchronous creation behavior, or external side effects. It is adequate as a minimum viable description but has clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 47%, so the description compensates for a few critical parameters: version format ('major version as a string e.g. "16"') and plan/disk size sourcing from render_list_postgres_sizes. However, most parameters (e.g., ipAllowList, readReplicas, environmentId) receive no additional explanation in the description, leaving a gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Create Postgres instance') and the underlying API call (`POST /postgres`). It is distinct from sibling create tools like render_create_redis or render_create_service. The redundancy in the first two sentences is a minor stylistic issue.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage context: it specifies that `version` is a major version string, references render_list_postgres_sizes for plan/disk size selection, and advises using render_retrieve_postgres_connection_info for credentials afterward. It does not explicitly state when not to use the tool, but the context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuSrodri/render-useful-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server