Skip to main content
Glama
enkryptai

Enkrypt AI MCP Server

Official
by enkryptai

remove_deployment

Delete a specified deployment by its name to manage resources effectively. Returns details of the removed deployment for tracking and verification.

Instructions

Remove an existing deployment.

Args: deployment_name: The name of the deployment to remove.

Returns: A dictionary containing the response message and details of the deleted deployment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployment_nameYes

Implementation Reference

  • Registers the remove_deployment tool using the MCP decorator.
    @mcp.tool()
  • The handler function that implements the logic to remove a deployment by calling deployment_client.delete_deployment and returning the response as a dictionary.
    def remove_deployment(deployment_name: str) -> Dict[str, Any]:
        """
        Remove an existing deployment.
    
        Args:
            deployment_name: The name of the deployment to remove.
    
        Returns:
            A dictionary containing the response message and details of the deleted deployment.
        """
        # Remove the deployment
        delete_deployment_response = deployment_client.delete_deployment(deployment_name=deployment_name)
    
        # Return the response as a dictionary
        return delete_deployment_response.to_dict()
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states this is a removal operation, implying mutation/destruction, but doesn't disclose critical behavioral traits: whether this is irreversible, requires specific permissions, has side effects (e.g., stopping services), or provides confirmation prompts. The description adds minimal context beyond the basic action.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by structured Args/Returns sections. Every sentence earns its place, though the Returns section could be more specific. No redundant information is present.

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 this is a destructive mutation tool with no annotations and no output schema, the description is minimally adequate but incomplete. It covers the basic action and parameter, but lacks critical context: no warnings about irreversible deletion, no error conditions, no details on return structure beyond 'dictionary containing...', and no guidance on usage versus siblings.

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?

With 0% schema description coverage and only 1 parameter, the description compensates well by explaining 'deployment_name' as 'The name of the deployment to remove.' This adds clear semantic meaning beyond the schema's basic string type. However, it doesn't specify format constraints (e.g., case sensitivity, allowed characters) or provide examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Remove') and resource ('an existing deployment'), making the purpose immediately understandable. It distinguishes from siblings like 'list_deployments' and 'get_deployment_details' by specifying a destructive action. However, it doesn't explicitly differentiate from other removal tools like 'remove_model' or 'remove_guardrails_policy' beyond the resource name.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., deployment must exist), when not to use it (e.g., if deployment is active), or direct alternatives among siblings like 'modify_deployment_config' for updates. The agent must infer usage from context alone.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/enkryptai/enkryptai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server