Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Set application size

tzcloud_set_app_size
Destructive

Set your application's size, whether production sleeps when idle, or both. The account owner must have requested or agreed to either change. Ask for any size or sleep choice they have not made. If nobody can answer, change nothing and report. A deployed production size change normally re-creates compute, with one cold start outside the request path. With applying, nothing is recorded yet: read tzcloud_read_status with wait_seconds for its end and the size then in effect.

Kind is fixed at creation. Changing size changes production's charge to that size's rate key. A completed size-only move keeps production's sleep setting and records it if previously defaulted. Read the setting as production_sleep in tzcloud_read_status.

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>"
    },
    "name": "tzcloud_set_app_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoProduction's memory and CPU size: shared-0.5gb is smaller, shared-1gb larger. Choose larger for more memory or CPU. Omit to keep it; null is omitted.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
production_sleepNoWhether production compute stops when idle. Omit it to keep the setting; null is treated as omitted.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag this as a destructive, open-world mutation, and the description goes well beyond them: a deployed size change re-creates compute with one cold start outside the request path, the charge moves to the new size's rate key, a size-only move preserves and records the sleep setting, and an `applying` response means nothing is recorded yet. It also tells the agent how to confirm the outcome via tzcloud_read_status with wait_seconds.

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 action and the authorization precondition, then side effects, then the `applying` follow-up — a sensible order with little filler. The second paragraph is dense and the phrase 'Kind is fixed at creation' is terse to the point of ambiguity, which costs a point.

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 destructive three-parameter mutation with no output schema, the definition covers preconditions, side effects, billing impact, partial-application state, and how to verify. The only gaps are failure/rollback behavior and whether a repeated call is idempotent, which an agent might reasonably want.

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 real meaning on top by explaining the consequence of the `size` choice (charge rate key, compute re-creation) and that a size-only change keeps `production_sleep`, which the schema does not convey. It still doesn't restate omit/null semantics, but the schema covers those.

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 first sentence names a specific verb and resource — setting the application's production size and/or idle-sleep behavior — and the later note that 'Kind is fixed at creation' further scopes it to production sizing only. It is clear enough to distinguish from siblings like tzcloud_set_database_size by resource, though it never names an alternative explicitly.

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?

Strong precondition guidance: the account owner must have requested or agreed to the change, the agent must ask for any unstated choice, and if nobody can answer it should change nothing and report. What's missing is explicit routing — e.g. a pointer to the sibling for database sizing or other settings — but the when-to-act and when-to-abstain rules are unusually concrete.

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