Skip to main content
Glama

Update a VM

vm_update

Update a VM. Renames the VM, changes its auto-sleep or who can open its services. Every field is optional.

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": {
      "vmId": "<vmId>"
    },
    "name": "vm_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
vmIdYes
shareLevelsNo
sleepAfterMinutesNo
keepServicesRunningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare not-read-only, not-destructive, not-open-world, so the safety profile is covered. The description adds genuine behavioral context in stating the operation is a partial update where every field is optional, but says nothing about permissions required, what happens to omitted fields, or why the update is flagged non-idempotent.

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?

Three short sentences, front-loaded with the action and the changed fields before the partial-update caveat. Minimal waste, though the final sentence restates a fact already visible in the schema's required list.

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 mutation with five parameters, a nested object, no output schema, and 0% schema coverage, the definition is thin: nothing on required vs. optional field interactions, what an update returns, or the semantics of keepServicesRunning being nullable. The annotations are present but only signal safety, so the description needed to do more work than it does.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden. It glosses name, sleepAfterMinutes and shareLevels in prose, but leaves keepServicesRunning completely unexplained and never clarifies the nested shareLevels shape (a map of numeric service IDs to public/authenticated/owner), which is the hardest part of the call to get right.

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?

"Update a VM" gives a specific verb plus resource, and the second sentence enumerates the mutable surface: name, auto-sleep, and service access levels. That is enough to distinguish it from vm_create/vm_delete/vm_exec without opening the schema, though it never names a sibling explicitly.

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?

No when-to-use or when-not-to-use guidance. There is a real ambiguity the description ignores: sleepAfterMinutes overlaps conceptually with the sibling vm_sleep, and shareLevels touches the same surface as vm_get, yet nothing tells an agent which to reach for. Only the partial-update hint ("Every field is optional") is implied guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.