Skip to main content
Glama

Delete machine pool

pools_delete
DestructiveIdempotent

Delete a machine pool with its pooled machines, revoke related machine and project grants, and stop processes that depended on those grants; cluster-managed pools are blocked.

Instructions

Deletes the machine pool and its pooled machines, revokes generated machine grants and project machine-pool grants, and stops processes that depended on those grants. Deleting a cluster-managed machine pool is rejected with 409 Conflict; there are no other dependency blockers.

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": {
      "orgID": "<orgID>",
      "poolID": "<poolID>"
    },
    "name": "pools_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
poolIDYesMachine pool ID (mpo_...).

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 / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / poolID / description
      Added value: +"Machine pool ID (mpo_...)."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Well beyond the destructiveHint/idempotentHint annotations, it enumerates exactly what is destroyed (pooled machines, generated machine grants, project machine-pool grants) and the side effect of stopping processes that depended on those grants. The 409 conflict condition is disclosed rather than left to be discovered, though permission/auth requirements for a destructive operation are not mentioned.

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?

Two sentences, both front-loaded with the most consequential facts (the cascade, then the only blocker). Every clause adds information; none restates the name or title.

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?

With annotations covering the safety profile and an output schema covering return values, the remaining burden is behavioral disclosure, which the description fully meets: cascade contents, side effects on dependent processes, and the single error condition. Nothing material for a correct invocation is missing.

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 description coverage is 100% and both parameters carry pattern and format documentation, so the schema already carries full meaning. The description adds nothing parameter-specific, which is the expected baseline here.

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 ("Deletes the machine pool") and immediately scopes the blast radius to pooled machines and grants, which separates it from machines_delete and grant_pools_delete without opening either schema. The denial rule for cluster-managed pools adds further precision about what this tool does and does not touch.

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 description gives a clear when-not condition (cluster-managed pools are rejected with 409 Conflict) and explicitly clears other dependency blockers, but it never names an alternative or prerequisite flow, such as inspecting the pool with pools_get first or using grant_pools_delete to remove grants without deleting the pool. Usage is implied rather than directed.

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