Skip to main content
Glama

vm_agentic_workflow

Generate VM configurations, sandbox safety plans, or multi-step orchestration goals for VirtualBox using LLM-assisted agentic workflows.

Instructions

Sampling-backed agentic operations for virtualization.

  • suggest_config: VirtualBox VM settings for a use case via LLM sampling.

  • sandbox_workflow: spin-up → work → snapshot → tear-down safety plan.

  • workflow: autonomous multi-step VM orchestration goal. All actions use ctx.sample() when available, else sensible defaults.

Return Format

Dict with success (bool), human-readable message or error, the action performed, and operation data (suggestion, plan, steps).

Examples

await vm_agentic_workflow(action="suggest_config", use_case="CI runner")
await vm_agentic_workflow(action="sandbox_workflow", goal="test unsigned installer")
await vm_agentic_workflow(action="workflow", goal="clone base, snapshot, update, verify")

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": {
      "action": "<action>"
    },
    "name": "vm_agentic_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoObjective (sandbox_workflow, workflow).
actionYesAgentic operation to perform.
vm_nameNoBase VM (sandbox_workflow).
use_caseNoUse case (suggest_config): CI runner, malware sandbox, dev environment.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

B3.4/5.0
Behavior3/5

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

With zero annotations, the description carries the behavioral burden and does disclose the LLM-sampling dependency and fallback ('use ctx.sample() when available, else sensible defaults'), plus the return shape. What is missing is the risk profile: 'tear-down' and 'autonomous multi-step orchestration' clearly mutate VM state, yet the description never says whether operations are destructive, reversible, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Bulleted action list, a return-format section, and compact examples make it scannable and front-loaded with the action enumeration. The Return Format section is partly redundant given an output schema exists, and the leading sentence ('Sampling-backed agentic operations for virtualization') is vague filler.

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

Completeness3/5

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

The output schema means return values need not be explained, and the three-action decomposition is covered, but for an autonomous orchestration tool with no annotations the definition should address side effects, ordering guarantees, and failure behavior. Those omissions matter more than the missing return-format detail, leaving it only minimally complete for a state-mutating workflow tool.

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%, so the schema already documents action, goal, vm_name, and use_case with their applicable actions. The description adds little beyond that mapping — the examples show sample values but no format or constraint detail the schema lacks. Baseline 3 is appropriate.

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 enumerates the three actions with concrete glosses ('VirtualBox VM settings for a use case via LLM sampling', 'spin-up → work → snapshot → tear-down safety plan', 'autonomous multi-step VM orchestration goal'), so an agent knows the tool dispatches agentic VM operations. The distinction between 'sandbox_workflow' and 'workflow' remains thin — both read as multi-step VM orchestration — and nothing distinguishes this from siblings like vm_management or sandbox_management.

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 three code examples implicitly show when each action applies (config suggestion, sandbox testing, multi-step orchestration), which is usable implied guidance. However, there is no statement of when to prefer this tool over vm_management or snapshot_management, and no exclusions or prerequisites (e.g., that a base VM must exist for sandbox_workflow).

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