Skip to main content
Glama

Delete an application and all its versions

edgegap_delete_app
DestructiveIdempotent

Delete an application and every version under it to clean up a test app; the call is refused if deployments are running or versions exceed max_versions.

Instructions

Delete one application and every version under it, to clean up a test application. Exactly one exact name; refused while any of its deployments is running, and refused when it has more versions than max_versions (default 0: delete its versions first with edgegap_delete_app_version, or raise max_versions after the developer agreed). Registry images are not touched. Cannot be undone.

Input Schema

NameRequiredDescriptionDefault
dry_runNoShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
applicationYesThe exact application name to delete.
max_versionsNoDelete only if it has at most this many versions. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, and the description adds materially beyond them: irreversibility ('Cannot be undone'), the blast radius (all versions, but registry images untouched), and the two guard conditions that cause failure. This is exactly the context an agent needs before a destructive call.

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?

Effectively one dense, front-loaded sentence with zero filler, but the parenthetical remedy clause makes it slightly hard to scan. Every clause still carries information, so it is close to optimal despite the density.

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 destructive 3-parameter tool with no output schema, the description covers scope, prerequisites, failure modes, side-effect boundaries, and irreversibility. Nothing an agent needs in order to call it safely 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 the baseline is 3; the description goes further by explaining the semantics of max_versions (default 0 means refuse if any versions exist, with the two remedies) and stressing that application must be an exact name. dry_run is left to its own schema description, hence not a 5.

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 (delete) and resource (one application plus every version under it) and frames the intent (clean up a test application). It is clearly distinguished from the sibling edgegap_delete_app_version, which is named as the narrower alternative.

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 preconditions and refusal conditions: refused while any deployment is running, and refused when versions exceed max_versions. It names the alternative tool (edgegap_delete_app_version) and the escalation path (raise max_versions after developer agreement), so the agent knows exactly what to do when blocked.

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