Skip to main content
Glama

Delete hosted app

delete_app
Destructive

Take a hosted app offline and delete it. Its public address stops working within a minute and its slug becomes free for any workspace to take. NOT reversible: the files are gone, and bringing the app back means deploying them again with deploy_app. The folder and its assets are untouched. Requires write scope and permission to edit the folder the app shows.

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": {
      "slug": "<slug>"
    },
    "name": "delete_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the app to delete, from list_apps
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond them: it discloses the timing of effect ('public address stops working within a minute'), the slug being released for any workspace, that the action is not reversible with files gone, and that the folder and assets survive. It also names the required scope and permission, which the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the action in the first sentence, then layers consequences, irreversibility, the restore path, the boundary condition, and prerequisites. Every sentence carries distinct information and none restates the annotations or schema.

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 destructive tool with no output schema, the description covers side effects, timing, irreversibility, recovery, scope boundaries, and authorization requirements. Nothing an agent needs before invoking it 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 description coverage is 100%, and both parameters carry detailed descriptions including slug format provenance ('from list_apps') and organization resolution rules. The prose adds no further parameter-level meaning beyond mentioning the slug's release, 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 ('Take a hosted app offline and delete it') and immediately bounds the scope by noting that 'the folder and its assets are untouched', which separates it from delete_folder and delete_asset without naming them. An agent can distinguish this from sibling delete operations from the description alone.

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?

Gives clear context for use plus a recovery path ('bringing the app back means deploying them again with deploy_app') and prerequisites ('Requires `write` scope and permission to edit the folder'). It stops short of an explicit when-not-to-use clause or a named alternative for taking an app offline without deletion, so it is strong but not fully prescriptive.

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