Skip to main content
Glama

terminate_compute_instance

Permanently terminate a compute instance — this stops hourly billing.

The instance and its disk are destroyed and cannot be recovered. Copy any results off the instance before terminating.

Requires: API key with write scope.

Returns: Final instance dict with state "terminated" and total accrued_cad.

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": {
      "instance_id": "<instance_id>"
    },
    "name": "terminate_compute_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
instance_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description fully discloses the destructive nature: permanent termination, disk destruction, irrecoverable data loss, and the requirement for write-scope API key. It also describes the return value. This is excellent transparency beyond any structured data.

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?

The description is compact and front-loaded with the key action ('Permanently terminate'), followed by necessary warnings and return information. Every sentence earns its place, with no filler or redundancy.

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 one-parameter tool, the description covers prerequisites, effects, irreversibility, auth requirements, and return shape. It provides sufficient context for an agent to invoke it correctly and safely, even without an output schema.

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?

The schema has only one parameter, instance_id, with 0% schema description coverage. The description does not explicitly explain the parameter format or meaning, but its use is obvious from the tool name and the phrase 'Copy results off the instance.' This is adequate but not compensating for the complete lack of schema description.

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 clearly states the tool permanently terminates a compute instance and stops hourly billing, explicitly distinguishing it from temporary operations like stop_compute_instance or reboot_compute_instance. The verb 'terminate' plus 'permanently' and 'cannot be recovered' leaves no ambiguity.

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?

The description provides clear context: use when you want to permanently destroy the instance and end billing. It gives a prerequisite (copy results off) but does not explicitly name alternatives or state when not to use it, though the emphasis on permanence makes the use case evident.

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.