Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Create database

create_database

Create a database. engine: postgres or relatude. tier (postgres): shared (default) or dedicated (premium, ask CMO Partners). project: the project slug to link; its variables then hold the connection (ConnectionStrings__Default for .NET, DATABASE_URL for Node; for Relatude Data__Root). Call advise_database first.

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
nameYesName for people
slugNoShort name (optional)
tierNoshared | dedicatedshared
engineNopostgres | relatudepostgres
projectNoProject slug to link (required for relatude)
organizationNoOrganization name or id (optional; default: every organization for lists, your own for new things); with a project, the project's organization

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / organization
      Added value: +{
      +  "default": null,
      +  "description": "Organization name or id (optional; default: every organization for lists, your own for new things); with a project, the project's organization",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Beyond the sparse annotations (destructiveHint=false) it usefully discloses a real side effect: linking a project rewrites that project's variables (ConnectionStrings__Default, DATABASE_URL, Data__Root). It does not say what happens on name/slug collision, whether creation is reversible, or what the premium tier costs, which are the details an agent most needs before a write.

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?

Front-loaded with the imperative, then terse clause-per-parameter. The nested parenthetical about connection-string names is dense and slightly hard to parse, but every clause carries information rather than filler.

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

Completeness4/5

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

For a 6-parameter creation tool with no output schema and near-empty annotations, the description covers the decision-relevant dimensions (engine, tier, project linkage) and the required ordering. Remaining gaps – conflict behavior, whether the connection details are returned, organization scoping – are moderate but not blocking.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the description earns above that by explaining tier economics and by naming the exact environment variables a project link produces, which the schema does not. It leaves organization and slug to the schema, which is acceptable given their descriptions.

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 opens with a specific verb+resource ("Create a database") and immediately enumerates the two engine values, so the scope is unambiguous. It routes to advise_database but does not contrast itself with near neighbours like link_database or create_staging, so an agent still has to infer the create-vs-link boundary.

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?

It gives an explicit prerequisite ordering ("Call advise_database first") and a decision rule for tier (shared default, dedicated premium, ask CMO Partners). It stops short of stating when not to use this tool or when linking an existing database is the better choice.

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.