Skip to main content
Glama

Create a Postgres Database

create_database

Create a managed Postgres database in this workspace (Kaiva Cloud), with an MCP server over its tables set up as a DRAFT.

The database is made at once and is empty. Each table later added becomes a tool, unexposed: nothing becomes callable until a human reviews the tools and publishes in the console. This tool cannot publish. The database's connection string is never returned here, so it never enters a conversation: a person gets it in the console. Counts toward the workspace's plan.

Returns the database id, its state and a console link to finish. Use when someone wants a new database for an app or an agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesA name for the database, e.g. "shop". Unique in the workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=false, destructive=false), it discloses several non-obvious traits: the database is empty at creation, added tables stay unexposed until a human publishes, this tool cannot publish, the connection string is never returned so it never enters a conversation, and creation counts toward the workspace plan. These are exactly the side effects and secrecy constraints an agent needs before calling.

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 core verb and resource are front-loaded in the first sentence, and the remaining sentences each carry distinct information (draft state, publish gate, connection-string secrecy, billing, return values). A few phrases, such as 'The database is made at once and is empty', are slightly redundant restatements but not wasteful enough to obscure the message.

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

Completeness5/5

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

For a single-parameter creation tool with no output schema, the description covers what is created, what is deferred to human review, what is deliberately withheld, what it returns (id, state, console link), and the billing implication. Nothing an agent needs in order to call it correctly is missing.

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?

There is a single parameter with 100% schema description coverage, and the schema already states the name must be unique in the workspace and gives an example. The description adds no further meaning about the name parameter, so the baseline of 3 applies.

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

Purpose4/5

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

The description names a specific verb and resource ('Create a managed Postgres database in this workspace') and adds the distinctive detail that the MCP server over its tables is created as a DRAFT. It does not contrast itself with the sibling create_server, so an agent must infer the difference from the tool name alone.

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?

'Use when someone wants a new database for an app or an agent' gives a concrete triggering condition, and 'This tool cannot publish' plus the human-review flow implicitly routes publishing elsewhere. It stops short of naming an alternative tool or stating explicit exclusions (e.g. when to pick create_server instead).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.