Skip to main content
Glama

Delete MCP deployment

delete_mcp_deployment
Destructive

Delete an MCP deployment, its keys and its conversation records. Clients lose access at once. Irreversible.

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_id": "<deployment_id>"
    },
    "name": "delete_mcp_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
deployment_idYesId of the MCP deployment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the description's real contribution is the scope of destruction: the deployment plus its keys and conversation records, immediate client access loss, and irreversibility. That is genuinely useful context beyond the annotations, though it omits permission requirements and any confirmation or soft-delete behavior.

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?

Three short sentences, front-loaded with the action and its blast radius, then the immediate impact, then the irreversibility warning. Every sentence carries information and nothing is padded.

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

Completeness4/5

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

For a destructive single-parameter tool with annotations and no output schema, the description covers the essentials: what is removed, the cascade, immediacy, and irreversibility. The remaining gap, preconditions and required permissions, is minor but real for an irreversible 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?

There is only one parameter and the schema already documents it at 100% coverage ('Id of the MCP deployment'). The description adds no format, lookup, or sourcing detail for deployment_id, so the baseline of 3 applies.

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 states a specific verb (Delete) and resource (MCP deployment), and it explicitly adds cascade scope (its keys and its conversation records), which meaningfully distinguishes it from revoke_mcp_deployment_key and from unrelated delete_* siblings. It stops short of naming an alternative tool for the narrower key-revocation case.

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

Usage Guidelines3/5

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

The usage situation is implied rather than stated: the word 'Irreversible' and the loss-of-access consequence signal that this is a last-resort, full-teardown action. There is no explicit when-to-use versus when-to-use-an-alternative guidance, and no mention of prerequisites such as deactivation or confirmation.

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