Skip to main content
Glama

Host Os Info

host_os_info

Retrieve operating system and kernel details from a Linux host to identify platform, version, and kernel for diagnostics and compatibility checks.

Instructions

Return operating system and kernel information.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "host_os_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nodeYes
distroNo
kernelNo
systemYes
machineYes
releaseYes
versionYes
processorYes
python_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it only implies read-only behavior through the word 'Return'. It does not mention privilege requirements, platform coverage (e.g. Linux-only /proc sources), or failure modes, though an output schema exists so return-shape disclosure is not required. For a zero-parameter read tool the residual risk is low, so this is adequate rather than rich.

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?

A single front-loaded sentence with no filler, hedging, or redundant restatement of the title. Nothing could be removed without losing meaning.

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 tool with a full output schema, the description supplies enough to select and call it correctly. The only genuine gap is the absence of any note about environment or privilege constraints on gathering kernel data.

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 no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter schema applies. No misleading parameter hints are given.

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 a specific verb ('Return') and specific resources ('operating system and kernel information'), which is enough to separate it from siblings such as host_cpu_memory, host_disk_usage, and host_network_interfaces. It does not explicitly state exclusions, but the resource scope is unambiguous.

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 only implied: an agent can infer this is the tool for identifying OS distribution and kernel version when diagnosing host-level issues. There is no explicit when-to-use framing, no mention of when another host_* tool would be more appropriate, and no stated prerequisites.

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