Skip to main content
Glama

Create the Project Database

create_project_database

Create this Project’s singleton blank database when it has none and pending cleanup has completed. Every tier allows one managed database. Administrator-only; offered once an Administrator has approved the Managed Project Database at /projects/{project_id}/project-database by clicking Install Project Database (free); MCP never installs or purchases it. Uses the installed tier and placement. Choose the tier and approve any paid purchase in the management page. Enforces project database count and storage limits. Returns datasource_id, name and status; never credentials. Next propose, dry-run and apply a governed migration. Launch databases have no backups; deleting the database or the Project permanently removes its data.

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_project_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, 1–255 characters
substrateNoOptional assertion of the installed substrate ID; must match the installation. Omit to use its placement
setup_step_idNoOptional setup step UUID this call fulfils (Administrator only). Pass a planned entry you recorded, or the id of the step this Project already opened for the same component. Otherwise the same MCP session's oldest unbound plan of this kind matching its subject hint is used, otherwise a new entry opens. A committed creation whose journal binding fails still succeeds with a warning naming this entry; do not repeat creation. Other steps this call opens record the step's Application unless application_id names one.
application_idNoOptional Application UUID whose build this call serves (Administrator only). Setup steps this call opens record it, so they show on that Application's build screen; the resources themselves stay shared by the Project. A shared step it reuses keeps the Application it was opened for, so a step it returns may be watchable with get_setup_journal only without application_id. Use the build's application_id, the one you call describe_application with.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only supply the generic mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description goes well beyond them with the one-database-per-tier rule, administrator gating, enforcement of count and storage limits, returned fields (datasource_id, name, status), the explicit 'never credentials' guarantee, the launch-tier no-backup caveat, and the warning-on-journal-binding-failure behavior that warns against repeating creation.

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 purpose and precondition are front-loaded in the first sentence, and nearly every sentence carries operational content. It is dense and slightly run-on, with repeated 'Administrator' phrasing, but no filler that could be cut without losing guidance.

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 mutation tool with no output schema, the definition covers the permission model, the pre-approval workflow, limits, return fields, the credentials exclusion, and data-loss caveats. An agent has everything needed to decide whether to call it and what to expect, so nothing material 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?

Schema description coverage is 100%, so the schema already explains name, substrate, setup_step_id and application_id in depth. The description adds only modest extra meaning – 'Uses the installed tier and placement' and the pointer that tier/purchase decisions happen in the management page – without covering setup_step_id or application_id semantics itself. Baseline 3 is appropriate when the schema carries the parameter burden.

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 definition states a specific verb (Create), resource (this Project's singleton blank database), and the exact precondition (none exists and pending cleanup has completed). It also contrasts itself with the next-step migration tools (propose, dry-run, apply), so an agent can tell it apart from apply_project_database_migration without opening either schema.

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

Usage Guidelines5/5

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

It names explicit prerequisites and exclusions: Administrator-only, the database must first be approved and installed via the management page, and 'MCP never installs or purchases it.' It also routes tier selection and paid purchase approval to the management page and points to the migration flow as the follow-up, leaving little inference.

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.

Resources