Skip to main content
Glama

Request Deletion of a Deployment

varity_delete_deployment
DestructiveIdempotent

Request deletion of a Varity deployment by id or app name to stop routing and release resources. Poll deployment status afterward to confirm deletion and billing stop before telling the developer it's done.

Instructions

Request deletion of an existing Varity deployment by id or app name. Returns as soon as the delete is accepted, usually with status deleting; it does not wait. Billing stop is proven only when varity_deploy_status shows status deleted and billing.state stopped, so poll that tool before telling the developer billing has stopped. Use this when a developer says 'stop my ', 'shut down my deployment', 'I'm done with ', 'delete ', or when they no longer need a running app or agent. The durable operation independently reconciles route removal, reserved hardware release, and billing stop. Use varity_deploy_status or list deployments at https://developer.store.varity.so/dashboard to confirm the deployment first if the developer is unsure.

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": {
      "deployment": "<deployment>"
    },
    "name": "varity_delete_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
deploymentYesThe deployment id or app name (the slug in https://varity.app/<name>/), including a deployment that failed before it got a URL. Example: 'worker-bot'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • addedInput schema / properties / deployment
      Added value: +{
      +  "description": "The deployment id or app name (the slug in https://varity.app/<name>/), including a deployment that failed before it got a URL. Example: 'worker-bot'.",
      +  "pattern": "^[a-zA-Z0-9_-]+$",
      +  "type": "string"
      +}
    • removedInput schema / properties / name
      Removed value: -{
      -  "description": "The subdomain / app name of the deployment to delete. This is the slug in https://varity.app/<name>/. Example: 'my-hermes-bot' or 'mvp-static-test'.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "name"
      -]New value: +[
      +  "deployment"
      +]
  2. First observedv2.0.0-beta.24

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/idempotentHint annotations by disclosing that the call returns as soon as the delete is accepted rather than waiting, that billing stop is only proven when status shows deleted and billing.state stopped, and that the durable operation independently reconciles route removal, hardware release, and billing stop. That is exactly the operational context an agent needs to avoid telling a developer billing has stopped prematurely.

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 key async caveat before the usage guidance, which is the right ordering. It runs long and the trigger-phrase list plus dashboard URL is slightly repetitive, but nearly every sentence carries operational value.

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?

No output schema exists, and the description compensates by explaining what is returned (status deleting), what is not yet true (billing), and how to verify completion. For a destructive, open-world mutation with one parameter, nothing an agent needs 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 schema already explains the id-or-app-name semantics, the slug form, the pattern, and even the failed-before-URL case. The description's 'by id or app name' restates rather than extends the schema, so 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?

States a specific verb and resource ('Request deletion of an existing Varity deployment') plus the lookup key (id or app name), and immediately clarifies the async acceptance semantics ('usually with status deleting; it does not wait'), which separates it from varity_deploy_status and other siblings.

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 trigger phrases ('stop my <name>', 'shut down my deployment', 'I'm done with <name>'), plus a concrete pre-check alternative: use varity_deploy_status or the dashboard to confirm the deployment first if the developer is unsure. It also names the follow-up tool to poll before making billing claims.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.