Skip to main content
Glama

Create database

create_database

Create a new, empty Azquo database in the current business (see current_business). Use it to start a new model from scratch. Needs an administrator or developer; the creator becomes its owner.

The name is cleaned: spaces become underscores and anything other than letters, digits and underscores is dropped ("Sales 2026!" becomes Sales_2026). Fails with database_create_failed if a database of that name already exists in the business - check list_databases first.

databaseServerId: usually left out - the database then goes on the default server, the one the admin site's New database offers first. Give it only to choose a particular server; an unknown id fails with unknown_databaseServerId and the error lists the valid ids.

Returns the new database record: id, name (as cleaned), persistenceName, databaseServerId and its counts (all zero). Next steps are usually apply_structure or import_file, then persist_database.

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 the new database, e.g. Sales_Forecast. Letters, digits and underscores; spaces become underscores
businessNoOptional. The business this call is for, by name, e.g. "azquo" - it then runs there whatever business the session is in. Worth giving on writes when you work in more than one business: a new MCP session starts in the login's own business. list_businesses shows the names.
databaseServerIdNoOptional. Integer id of the database server, as a string, e.g. "0". Leave out to use the default server

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / business
      Added value: +{
      +  "description": "Optional. The business this call is for, by name, e.g. \"azquo\" - it then runs there whatever business the session is in. Worth giving on writes when you work in more than one business: a new MCP session starts in the login's own business. list_businesses shows the names.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / databaseServerId / description
      Previous value: -"Integer id of the database server, as a string, e.g. \"0\". Only needed when more than one server exists - the error then lists the valid ids"New value: +"Optional. Integer id of the database server, as a string, e.g. \"0\". Leave out to use the default server"
  3. Changed2 schema fields changed
    • changedInput schema / properties / databaseServerId / description
      Previous value: -"Database server ID — only needed if multiple servers exist"New value: +"Integer id of the database server, as a string, e.g. \"0\". Only needed when more than one server exists - the error then lists the valid ids"
    • changedInput schema / properties / name / description
      Previous value: -"Name for the new database"New value: +"Name for the new database, e.g. Sales_Forecast. Letters, digits and underscores; spaces become underscores"
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the permission requirement, creator ownership, name-cleaning behavior, duplicate-name failure, default server selection, unknown-server error behavior, and the shape of the returned record. These details materially help an agent predict what happens when the tool is invoked.

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 description is front-loaded with purpose and prerequisites, then proceeds through naming, server selection, and return behavior in a readable order. It is somewhat longer than strictly necessary because the name-cleaning rule duplicates the schema, but the extra context remains actionable.

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?

There is no output schema, but the description explains the returned database record, including id, cleaned name, persistenceName, databaseServerId, and zero counts. Combined with prerequisites, failure modes, and next steps, it gives an agent enough context to invoke the tool correctly.

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 100%, so the baseline is 3. The description adds useful meaning for databaseServerId by explaining the default server, when to supply an explicit id, and how unknown ids fail; however, its explanation of name cleaning largely repeats the schema.

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 states a specific verb and resource: create a new, empty Azquo database in the current business. It distinguishes the tool from follow-on siblings such as apply_structure, import_file, and persist_database, so an agent can identify its role without opening the 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 explicitly says to use the tool to start a new model from scratch, names the required administrator/developer role, and directs the agent to check list_databases first if a duplicate may exist. It also identifies likely next tools, apply_structure or import_file and then persist_database.

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