Skip to main content
Glama

sysknife_get_host_state

Read-onlyIdempotent

Retrieves read-only host identity details such as OS release, kernel, architecture, and virtualization type, helping admins inspect Ubuntu or Debian systems without running shell commands.

Instructions

Read-only SysKnife action GetHostState. what this host is: OS release, kernel, architecture, virtualization, machine identity (hostnamectl) — Ubuntu/Debian counterpart to GetSystemState, which reports deployments an apt host does not have

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the 'Read-only' restatement earns nothing. What does add value is the disclosure of the actual returned content (hostnamectl identity fields), which compensates for the absence of an output schema. No mention of privilege requirements or fallback behavior if hostnamectl is unavailable.

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?

Two compact sentences with no filler, and the returned-field list is front-loaded after the action name. The phrasing is grammatically awkward ('what this host is:') and a fragment, but it doesn't cost comprehension or length.

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 zero-parameter, read-only, annotation-covered tool with no output schema, the description supplies enough: it says what data comes back and how it differs from the system-state read. The only gap is the missing sibling-relative guidance, which is minor at this complexity.

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?

The tool takes zero parameters, so there is nothing to mis-specify and the baseline of 4 applies. The description correctly implies a no-argument, whole-host read.

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 description names the resource precisely and enumerates what it returns (OS release, kernel, architecture, virtualization, machine identity via hostnamectl), which is far more informative than the bare action name `GetHostState`. It also distinguishes itself from GetSystemState, though that tool is not among the siblings, so the differentiation against actual siblings in this set is weaker.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the 'what this host is' framing and by the contrast with GetSystemState ('reports deployments an apt host does not have'), which tells the agent this is the host-identity read for apt hosts. However, no explicit when-to-use/when-not guidance is given relative to the surrounding status tools, and the named alternative isn't in the sibling set.

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