Skip to main content
Glama
DustinTrap

kvm-pilot

by DustinTrap

logs

Read-onlyIdempotent

Retrieve read-only device/host event history as text to diagnose video, streamer, encoder, or power faults that screenshots miss. Set seek to seconds of lookback; 0 returns the whole buffer.

Instructions

Return the device/host event log as text (read-only).

seek is seconds of lookback (0 = the whole buffer). This is the go-to diagnostic when video/streamer/encoder or power behaviour looks wrong: the text log names a fault (e.g. a stuck encoder behind a snapshot 503) that a screenshot cannot. Tail-follow is intentionally not exposed — it blocks over the server's synchronous transport.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seekNoSeconds of lookback; 0 returns the whole buffer.
profileNoProfile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.0
    • addedInput schema / properties / profile / description
      Added value: +"Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE)."
    • addedInput schema / properties / seek / description
      Added value: +"Seconds of lookback; 0 returns the whole buffer."
    • addedInput schema / properties / seek / minimum
      Added value: +0
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds real context beyond that: the seek lookback semantics, the diagnostic rationale, and the deliberate omission of tail-follow because it would block the synchronous transport.

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?

The core purpose is front-loaded in the first clause, and the diagnostic framing follows. The tail-follow note is arguably tangential but it explains a real design constraint, so it earns its place; overall tight with no filler.

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?

With full annotation coverage, 100% schema description coverage, and no output schema required (the description states the return is text), an agent has what it needs. The only mild gap is that the profile parameter's effect on target selection is left entirely to the schema.

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 both parameters in full. The description restates the seek semantics ('seconds of lookback (0 = the whole buffer)') without adding anything new, and never mentions the profile parameter, so this is baseline-level value.

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?

The description opens with a specific verb and resource ('Return the device/host event log as text') and immediately marks it read-only. It also implicitly separates itself from siblings like snapshot by noting the log names a fault a screenshot cannot, so an agent can tell it apart without opening a schema.

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 a concrete when-to-use trigger: 'go-to diagnostic when video/streamer/encoder or power behaviour looks wrong', with a supporting example (stuck encoder behind a snapshot 503). It lacks an explicit when-not or a named alternative tool (e.g. events) for the case where a structured log is preferred.

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