Skip to main content
Glama

Pause machine

pause_machine
Idempotent

Stops a running machine from consuming compute credits while preserving its state; resume it later to continue where it left off.

Instructions

Pause a running machine: it stops using credits for compute and keeps its state; resume_machine continues it.

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": {
      "machine_id": "<machine_id>"
    },
    "name": "pause_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
machine_idYesMachine id (machine_id from create_machine or list_machines).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, closed-world behavior, so the bar is lower; the description still adds real value by stating that compute credits stop accruing and state is retained. It leaves out what happens to in-flight work or open ports on the paused machine, which keeps it from a 5.

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?

A single sentence that front-loads the verb and resource, then attaches the two facts that matter (credits, state) and the counterpart tool. Nothing is repeated 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 one-parameter lifecycle tool with rich annotations and no output schema, the definition covers purpose, effect, and the inverse operation. A brief note on the paused state's limits (e.g. whether processes keep running) would make it fully self-contained.

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% and the single parameter is documented in the schema itself, including where machine_id comes from. The description adds no formatting or sourcing detail beyond that, so the baseline of 3 applies.

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?

"Pause a running machine" gives a specific verb plus resource, and the clause about credits and preserved state pins down the exact semantics of the operation. Naming resume_machine as the inverse lets an agent place this tool precisely among its siblings.

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 establishes the condition for use (the machine must be running) and points to resume_machine as the way to continue, which is a clear routing signal. It stops short of stating exclusions, such as what to do for a permanent stop or whether snapshots are needed first.

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