Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Delete application

tzcloud_delete_application
Destructive

Delete an application in both environments: its databases, credentials, end-user realms, issue spaces and records, bound areas and files, application-scope secrets. It also removes upstreams, application tokens, transfer grants, schedules, custom domain, code, image repository and published assets. Nothing is restored. The label is retired. Account-scope secrets and metering history stay. Use tzcloud_delete_environment or tzcloud_clear_development_database for development alone. For production data, use the application's routes or a migration file applied by its normal deploy.

Destructive: needs a signed-in session or a token minted with destructive. Give the account's owner approval_url for browser approval. Nothing is deleted before it. Read read_approval_status to its end for one receipt per kind.

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_delete_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idNoAny string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.

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 already declare destructiveHint=true and openWorldHint=true, but the description adds substantial context beyond them: irreversibility ("Nothing is restored"), the precise blast radius, and what explicitly survives (account-scope secrets and metering history). It also discloses the auth requirement (signed-in session or a token minted with `destructive`) and that nothing is deleted before browser approval.

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 core action and its destruction scope, then the alternatives, then the approval mechanics — a sensible ordering with little wasted text given the complexity. A few phrases are awkward or cryptic ("The label is retired", "Read `read_approval_status` to its end for one receipt per kind") and cost it the top mark.

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 high-stakes destructive tool with no output schema, the description covers everything an agent needs: scope of deletion, survivorship of account-level data, irreversibility, authorization requirements, and the approval handshake that must precede execution. The mention of `approval_url` also implicitly tells the agent what the call returns.

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 description coverage is 100%, so both parameters are already documented in structured fields, including the request_id idempotency rule and the instruction to use the application `id` rather than name or label. The prose restates that intent without adding format, validation, or edge-case detail beyond the schema, so the baseline of 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?

States a specific verb and resource ("Delete an application in both environments") and then enumerates exactly what is removed, including databases, credentials, realms, tokens, schedules, code and published assets. It explicitly distinguishes itself from tzcloud_delete_environment and tzcloud_clear_development_database, so an agent can route without opening sibling schemas.

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?

Gives explicit when-not-to-use guidance by naming the two alternatives for development-only deletion and by pointing production data changes at the app's routes or a migration file applied by its normal deploy. It also states the prerequisite path (owner approval via approval_url, polled with read_approval_status) rather than leaving it 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.

Resources