Skip to main content
Glama

delete_deployment

Permanently deletes a deployment and all its revisions by deployment ID, returning confirmation or an error. Use to remove unused or obsolete deployments; this action cannot be undone.

Instructions

Deletes a deployment along with all of its revisions. This cannot be undone. :param deployment_id: ID of the deployment to delete. :returns: Confirmation or error message.

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.27

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It explicitly discloses the critical destructive trait ('along with all of its revisions. This cannot be undone.'), which is exactly what an agent needs. It could be improved by mentioning auth requirements or rate limits, but the core destructive behavior is well covered.

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

Conciseness3/5

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

The core message is front-loaded and clear, but the description is bloated with 6+ sentences of boilerplate about object storage ('The output is automatically stored...', 'Use the object store tools...'), which is irrelevant to a destructive delete operation and dilutes the signal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (1 required param, no output schema) and lack of annotations, the description covers the essential destructive warning but is incomplete on prerequisites and environment context. The included object-store boilerplate is noise for this operation.

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 0% for the single parameter 'deployment_id', so the description must compensate. It does mention ':param deployment_id: ID of the deployment to delete.', providing a basic definition, but adds no format, syntax, or sourcing guidance beyond what the name implies.

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 ('Deletes') and resource ('deployment') and clarifies the cascading scope ('along with all of its revisions'). This distinguishes it from siblings like update_deployment or deactivate_deployment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states it is irreversible but provides no guidance on when to use this tool versus alternatives like deactivate_deployment or delete_deployment_tag, nor any prerequisites.

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

Deploy Server

Other Tools