Skip to main content
Glama

Delete machine

machines_delete
DestructiveIdempotent

Deletes a BYO machine, ending its active daemon runtimes and work, revoking daemon tokens and project grants, and releasing agent bindings.

Instructions

Deletes a BYO machine, ends its active daemon runtimes and work, revokes its daemon tokens and project grants, and releases agent bindings. Pooled machines are managed through their machine pool and cannot be deleted through this route. There are no dependency blockers for a BYO machine.

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": {
      "machineID": "<machineID>",
      "orgID": "<orgID>"
    },
    "name": "machines_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
machineIDYesMachine ID (mch_...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Empty on success: the operation returns no data.",
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / machineID / description
      Added value: +"Machine ID (mch_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them by enumerating the full cascade: daemon runtimes and work terminated, daemon tokens and project grants revoked, agent bindings released. That is precisely the blast-radius information an agent needs before calling a destructive tool, plus an explicit statement that no blockers exist.

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 tight sentences: the action and cascade first, the exclusion second, the blocker reassurance last. No filler or repeated annotation fields.

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?

Output schema exists so return values need not be explained, params are fully documented, and annotations cover safety. For a two-param destructive tool, the description supplies everything else an agent needs to act correctly.

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 coverage is 100% with patterned formats documented for both orgID and machineID, so the schema carries parameter meaning. The description adds only the implicit constraint that the machine must be BYO, with no additional syntax or format detail.

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 and resource plus the exact object class it operates on ("Deletes a BYO machine"), and immediately carves out pooled machines as out of scope. An agent can distinguish this from machines_update or pools_delete without opening a 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?

Gives explicit when-not guidance: pooled machines are managed via their machine pool and cannot be deleted here, and it reassures that BYO machines have no dependency blockers. It stops short of naming the sibling route (e.g. pools_delete) an agent should use instead, leaving that to inference.

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