Skip to main content
Glama

Resume machine

resume_machine
Idempotent

Resume a paused cloud sandbox machine to restore exec, read_file and write_file access. Pass the machine_id from create_machine or list_machines to reconnect and continue your workflow.

Instructions

Resume a paused machine so exec, read_file and write_file work again.

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": "resume_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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered structurally. The description adds real behavioral value by naming the capabilities that become available after resume, though it does not say what happens when the machine is not paused or does not 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?

One short sentence, front-loaded with the action and closed with the payoff. There is no filler and nothing extraneous for a single-parameter tool.

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 state-change tool with full schema coverage and existing annotations, the definition gives everything needed to select and invoke it. The only omission is failure/edge-case behavior, which is minor at this complexity.

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 machine_id parameter is already documented in the schema, including where the id comes from. The description adds no further parameter meaning, 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?

Specific verb (resume) plus resource (a paused machine), and it names the concrete downstream effect: exec, read_file and write_file work again. That effect clause makes it unmistakable against siblings like pause_machine, which does the reverse.

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 phrase 'so exec, read_file and write_file work again' implies the trigger condition (a paused machine blocking those tools), which is genuine usage context. It stops short of stating when not to call it or pointing to alternatives such as create_from_snapshot if the machine cannot be resumed.

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