Skip to main content
Glama
@serversareup/mcp-server

@serversareup/mcp-server

delete_instance

DestructiveIdempotent

Recycles an owned instance by default, or permanently removes a stopped instance and its retained resources when permanent deletion is authorized; reuse idempotency keys on retries.

Instructions

Requires instances:write. Recycle an owned instance by default. permanent:true irreversibly removes a stopped instance and all its retained resources through verified worker cleanup; use only when the customer authorized permanent deletion. Reuse idempotency_key on retries. Poll get_instance for cleanup status.

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": {
      "id": "<id>"
    },
    "name": "delete_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
permanentNo
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description adds the details that actually matter: permanent removal is irreversible, retained resources are destroyed, cleanup runs through verified worker cleanup, the call is asynchronous and must be polled via get_instance, and retries should reuse idempotency_key. It also states the required scope instances:write, which no annotation conveys.

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?

Four dense sentences, no filler, with the permission requirement and the danger of the permanent path front-loaded before the operational guidance. Every sentence adds a distinct fact.

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 3-parameter destructive tool with no output schema, the definition covers auth, reversibility, async polling, and retry semantics. The main remaining ambiguity is what the default 'recycle' actually does to the instance and its resources (retained vs freed), and how to recover a recycled instance.

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 description coverage is 0%, so the description carries the burden and does most of it: permanent is explained as irreversible full removal versus the default recycle, idempotency_key is explained as reuse-on-retry, and ownership is implied for 'id'. The id parameter itself is never characterized (format, or whether a foreign/unowned instance errors), leaving a small gap.

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?

The description names a specific verb and resource ('delete_instance' as recycle/remove) and clearly distinguishes two operating modes: a default recycle of an owned instance versus permanent removal when permanent:true is set. An agent can tell exactly what the tool does without opening the schema.

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?

It gives an explicit gating condition for the destructive path ('use only when the customer authorized permanent deletion') and points to get_instance for post-call polling. It does not name the non-destructive alternative for shutting down a workload (e.g. stop_instance), so the agent must infer that route on its own.

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