Skip to main content
Glama

vm_operation_read

Query the final status of VM power or snapshot operations; when results are unclear, inspect the VM state before retrying.

Instructions

查询电源或快照操作的最终状态;结果不明时先查虚拟机状态,不要直接重试。

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": {
      "operation_id": "<operation_id>"
    },
    "name": "vm_operation_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does contribute a valuable behavioral warning against blind retries and points to VM state as the fallback verification path, but it omits whether polling is needed, how long operation_id remains valid, and what the response contains.

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 compact sentence with the query purpose front-loaded and the caution appended. Every clause carries information; nothing is redundant.

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 read tool with no annotations or output schema, the description covers what it does and the key safety posture. The remaining gap is the provenance and lifetime of operation_id, which an agent needs to call it reliably.

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 0% for the single required operation_id, so the description must compensate and largely does not. It implies the ID originates from a prior operation submission, but never states that explicitly or says whether it is the same identifier returned by vm_action.

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?

States a specific verb (query) and resource (final status of power or snapshot operations), which separates it from action-triggering siblings such as vm_action or console_action. It never names a sibling outright, so differentiation is inferred from the 'power or snapshot operation' scoping rather than stated.

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?

Gives real usage context: call it to resolve the outcome of a power/snapshot operation, and when the result is ambiguous, check VM state first rather than retrying. It stops short of naming the concrete alternative tool or specifying when this tool is unnecessary (e.g., synchronous operations).

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