Skip to main content
Glama

Grow database storage

resize_database_storage
DestructiveIdempotent

Grow the disk of an app's managed database. Call this when the database is running out of disk space. GROW-ONLY: you can increase storage but never shrink it. storage_gb must be one of the sizes get_resource_usage reports under storage.steps_gb and fit your storage pool. Applied online with no database restart. Only works if the app has a managed 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": {
      "app_id": "<app_id>",
      "storage_gb": "<storage_gb>"
    },
    "name": "resize_database_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe app id returned by list_apps
storage_gbYesNew database disk size in GB, one of the values get_resource_usage reports under storage.steps_gb; must be at least the current size (grow-only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / storage_gb / description
      Previous value: -"New database disk size in GB — one of the values get_resource_usage reports under storage.steps_gb; must be at least the current size (grow-only)"New value: +"New database disk size in GB, one of the values get_resource_usage reports under storage.steps_gb; must be at least the current size (grow-only)"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations the description adds substantial operational context: grow-only irreversibility, applied online with no restart, and a storage-pool capacity constraint. These are consistent with destructiveHint=true (irreversible resource change) rather than contradictory. It stops short of describing whether the change is immediate/queued for billing or what the response contains, which keeps it at a 4.

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 four sentences are front-loaded with purpose then constraints, and each carries an actionable rule. The steps_gb requirement is stated twice (once in prose, once in the parameter description), a small redundancy that keeps it just under a 5.

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 two-parameter mutation tool with full schema coverage and no output schema, the definition covers trigger, preconditions, valid value source, irreversibility, and restart behavior. Nothing an agent needs 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.

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, and the description adds meaning beyond the schema by tying storage_gb to the values get_resource_usage reports under storage.steps_gb and to storage-pool limits — the pool constraint is not present in the schema. The added constraint is the practical thing an agent needs to avoid an invalid call.

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 ('Grow the disk of an app's managed database') and scoping is reinforced with 'Only works if the app has a managed database,' so an agent can tell this apart from compute-resize siblings like resize_app or resize_database. The title and description align with no ambiguity about what is being changed.

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?

The trigger condition is explicit ('Call this when the database is running out of disk space'), and the description supplies the preconditions that gate a correct call: manage-database requirement, grow-only irreversibility, and a valid step value from get_resource_usage that fits the storage pool. The when-not case (shrinking, non-managed apps) is stated outright, so nothing critical is left to 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.