Skip to main content
Glama

OpenFactory

inspect_installed_disk

Read the disk a test run installed, while its VM is shut off.

Use it when a run reports that the installed disk did not boot or that its guest agent never connected: the disk shows whether the installer wrote a bootable system (and whether that system then booted) or whether the fault is the platform's. It is read-only and never changes a verdict.

Operations: summary (filesystems, what inspection mounted, /etc/os-release, /boot/efi/EFI, /boot/loader/entries); ls and cat of a path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d (cat returns at most the last 64 KiB); journal (the installed system's last 400 journal entries). A running VM, or one the run no longer retains, is answered with a sentence. If a finished failed run's VM is still running, set quiesce_failed=True to stop that disposable test VM before inspection. Active tests are refused.

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": {
      "run_id": "<run_id>"
    },
    "name": "inspect_installed_disk"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFor ls/cat: an absolute path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d
vm_idNoLogical VM of the run; defaults to primary
run_idYesTest run whose installed disk to read
api_keyNo
operationNosummary, ls, cat or journalsummary
session_tokenNo
quiesce_failedNoStop a still-running VM only after its test finished failed/error, then inspect its disk read-only. Active tests and passing VMs are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it declares read-only semantics and that it 'never changes a verdict', enumerates the four operations and what each returns, caps cat at 64 KiB and journal at 400 entries, and explains refusal behavior for active tests and unretained VMs. It also discloses that quiesce_failed actually stops a disposable VM — a real side effect an agent must know about before setting it.

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?

Front-loaded with the one-line purpose, then when-to-use, then a compact semicolon-delimited operations list, then refusal/side-effect notes. No sentence is filler and the operation details are scannable.

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

Completeness5/5

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

For a 7-parameter tool with no output schema and no annotations, the description covers what it reads, what each operation returns, size limits, refusal conditions, and the one parameter with a side effect. An agent has everything needed to call it correctly without guessing.

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

Parameters4/5

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

Schema coverage is 71%, and the description adds genuine meaning: it spells out what summary surfaces (filesystems, mounted paths, /etc/os-release, EFI entries), the path prefixes legal for ls/cat, and the precise precondition for quiesce_failed (finished failed/error, refused otherwise). It adds little for run_id and vm_id beyond the schema, which keeps it short of a 5.

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 first sentence states a specific verb and resource with a scope constraint ('Read the disk a test run installed, while its VM is shut off'), which an agent can act on immediately. It distinguishes itself from a generic VM-inspection tool by tying the read to an installed disk, though it never names a sibling such as inspect_boot_sequence to contrast with.

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?

It gives explicit triggering conditions ('when a run reports that the installed disk did not boot or that its guest agent never connected') plus the failure modes it discriminates between (installer fault vs. platform fault). It also states when-not: active tests are refused, running VMs get a sentence, and quiesce_failed is the escape hatch for finished failed runs. It does not name any alternative tool to prefer over this one.

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.