Skip to main content
Glama

kd_exec

Execute kernel debugger commands in a VMware Windows guest via KDNET or serial, running single or multiple commands in sequence and returning each output with configurable timeouts and output limits.

Instructions

Run one or more debugger commands at the kd> prompt and return each command's output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vmYesVM name as registered in vms.yaml
cmdNoOne debugger command
cmdsNoSeveral commands, run in order
timeoutNoSeconds per command
max_bytesNoCap on each command's output

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description bears the full burden of behavioral disclosurecars. It states that output is returned, but it does not disclose that debugger commands can mutate kernel/VM state, that commands may depend on an attached debugger session, or that timeout/size caps affect behavior. This is a meaningful gap for a generic command-execution tool.

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?

The description is a single front-loaded sentence with no filler. It states the action, the target environment, and the expected result immediately, earning every word.

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

Completeness3/5

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

The schema is rich and covers all parameters, and the description supplies the essential execution context. However, with no annotations and no output schema, the definition is incomplete for safe invocation: it omits side-effect warnings, prerequisites like an active attach, and any guidance about choosing kd_exec over shell execution. It is minimally viable for basic use but not fully robust.

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 baseline is 3. The description adds only the relationship between one or more commands and per-command output, which the schema's cmd/cmds descriptions already convey. No novel parameter-level meaning is added.

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 names a specific verb ('Run'), a specific resource ('debugger commands at the kd> prompt'), and a clear result ('return each command's output'). It also distinguishes kd_exec from the specialized kd_* siblings by positioning it as the generic command execution entry point.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as kd_break, kd_go, or term_exec. The reader must infer that this tool is for arbitrary debugger commands rather than shell commands, and the description never directs the agent toward or away from sibling tools.

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