Skip to main content
Glama

OpenFactory

get_vm_hardware

Read an owner VM's memory, CPUs, disk, display, guest-agent state and plan caps.

Read-only. Use it before proposing a hardware change, and to explain to the owner what their VM has and what their plan allows.

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": {
      "vm_name": "<vm_name>"
    },
    "name": "get_vm_hardware"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenFactory MCP API key (optional)
vm_nameYesName of the owner's VM, e.g. of-deploy-…
session_tokenNoSession token from a previous tool response

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 and it does state 'Read-only', which is the critical mutability disclosure for a hardware tool. It also scopes the read to the owner's VM and plan caps, though it does not discuss auth requirements or per-VM permission boundaries beyond what the schema implies.

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?

Two short sentences, front-loaded with the resource list and followed by the usage rule; the one-word 'Read-only.' fragment earns its place as a safety signal. No filler or repetition of the schema.

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?

An output schema exists, so return values need no explanation, and all three parameters are documented. The only shortfall is that 'plan caps' is left unelaborated and no prerequisite or failure mode (e.g. unknown VM name) is mentioned.

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 api_key, vm_name and session_token are already documented in the schema, and this sets the baseline at 3. The description adds only that the VM belongs to the owner and gives an example name pattern context for vm_name, with nothing new about the token parameters.

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?

States a specific verb (Read) and resource (an owner VM's hardware) and enumerates exactly what is returned: memory, CPUs, disk, display, guest-agent state and plan caps. This is distinguishable at a glance from siblings like propose_vm_hardware_change or get_vm_console_url, which cover different concerns.

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 explicit when-to-use guidance: before proposing a hardware change, and to explain to the owner their VM's specs and plan limits. The alternative (propose_vm_hardware_change) is implied by the ordering but never named explicitly, and no when-not-to-use case is stated.

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.