Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Change database size

tzcloud_set_database_size
Destructive

Move your app's production database to a dedicated size or shared. Call when its owner asks. If no size was chosen, ask. With no answer, change nothing and report. Serverless apps stay shared. Dedicated sizes need a server app. While paused, call to read the reset instant in account_paused's detail. Returns 202 for browser approval. Decline or expiry changes nothing.

Approval starts copy, switch and redeploy. Production stops at freeze until redeploy or revert succeeds. Production deploys and promotes return database_move_in_flight throughout the move, including server creation. Repeat afterward. Development stays shared. Charge is set when the server is ready, before freeze, for this month's days left. A revert keeps the charge. That month's line covers repeats of the size.

A successful read_approval_status outcome confirms the start. Use tzcloud_read_status with wait_seconds for production's database_move.outcome: null while unfinished, then done or reverted.

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": {
      "application": "<application>",
      "size": "<size>"
    },
    "name": "tzcloud_set_database_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYesThe production database size to move to. A dedicated size uses its own server; `database-shared` moves back to the cell's shared server. Development stays shared.
request_idNoAny string you choose. A repeat from the same account while the earlier pending action is live (requested, approved, or executing) returns it again; once it has ended, it starts a new one. Omitted, every call creates a new one.
applicationYesYour account's application id from `tzcloud_list_applications`; only its production database moves.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say destructive, open-world, non-read-only; the description goes far beyond that with the approval flow (202 for browser approval, decline/expiry is a no-op), freeze semantics on production, the `database_move_in_flight` error that will hit deploys and promotes during the move, pause-time behavior, and billing timing including that a revert keeps the charge. That is exactly the operational context an agent needs before firing a destructive async action.

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?

Purpose is front-loaded and most sentences carry real information, but the telegraphic fragments ("Repeat afterward.", "That month's line covers repeats of the size.", "While paused, call to read the reset instant in `account_paused`'s detail") are terse to the point of being hard to parse. The density is justified by a destructive, async, billed operation, but the phrasing could be tightened.

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?

With no output schema and no read-only safety net, the description supplies everything needed: what triggers the move, what blocks it, what the 202 means, what errors to expect mid-move, and how to poll for `database_move.outcome` ending in `done` or `reverted`. Nothing an agent needs in order to call it safely 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 coverage is 100% and the enum values are already documented inline, so the schema carries the parameter burden. The description adds only workflow meaning around `size` (ask when unchosen, shared returns to the cell's shared server) and nothing new about `application` or `request_id` beyond what the schema states. Baseline 3 applies.

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 opening sentence names a specific verb and resource ("Move your app's production database to a dedicated size or shared") and immediately scopes it: production only, development stays shared. That scope distinction separates it from the broader app-size and environment tools without needing to name them.

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 states the trigger ("Call when its owner asks"), the ambiguity handling ("If no size was chosen, ask. With no answer, change nothing and report"), a hard precondition ("Dedicated sizes need a server app"), and a when-not case (serverless apps stay shared). It also routes the agent to `read_approval_status` and `tzcloud_read_status` with `wait_seconds` for the outcome, which is the correct alternative for observing rather than initiating.

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