Skip to main content
Glama

discard_saved_state

Discards a virtual machine’s saved state, clearing the stored session so the VM can start fresh.

Instructions

Discard a VM's saved state.

Input Schema

NameRequiredDescriptionDefault
vmYesVM name or UUID
approvalIdNoApproval ID issued for a previously requested destructive operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Discard' implies destruction, but the description does not state irreversibility, required approvals, VM power-state constraints, or what happens to the saved state after the call.

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 definition is a single front-loaded sentence with no wasted wording. It is terse but structurally clean and immediately readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive state mutation with no annotations and no output schema, the description is too thin. It omits approval requirements, side effects, error conditions, and confirmation behavior that an agent would need before invoking it.

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%, with both 'vm' and 'approvalId' documented in the input schema. The description adds no additional parameter meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Discard' a VM's 'saved state.' This clearly distinguishes it from save_vm_state by naming the opposite operation, though it does not further differentiate scope or conditions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives such as save_vm_state or start_vm, nor any prerequisites such as whether the VM must be powered off. The presence of an approvalId parameter hints at a gated destructive workflow, but the description itself provides no usage context.

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