Skip to main content
Glama

host_ops

Read-onlyIdempotent

Retrieves host system, environment, hardware, software, time, locale, user, session, service, and log details to diagnose configuration and runtime issues.

Instructions

Host System Context (Info, Env, Help, User).

Operations: get_help, get_system_info, get_environment_info, get_security_info, get_hardware_info, get_software_info, get_time_info, get_locale_info, get_user_info, get_session_info, get_service_status, get_log_info.

Args: See Parameters block.

Return Format

{"success": bool, "action": str, "message": str, "result": {...}}

  • result for get_system_info: {"platform", "python", "machine", "cpu_cores", "memory_total"}

  • result for get_environment_info: {"variables": {...}}

Examples

host_ops(operation="get_help", category="filesystem") host_ops(operation="get_system_info", detailed=True) host_ops(operation="get_environment_info")

Input Schema

NameRequiredDescriptionDefault
levelNobasic
categoryNo
operationNo
tool_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds a return envelope and two result shapes, but the example host_ops(operation="get_system_info", detailed=True) references a parameter absent from the schema, which can mislead invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is sectioned and front-loads the host-context purpose, but the 12-operation list duplicates the enum in the schema, 'Args: See Parameters block' is wasted text, and the invalid example consumes space without helping invocation.

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

Completeness2/5

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

This is a complex 12-operation dispatcher with four undocumented parameters and substantial sibling overlap, so the description needs more parameter and selection context. Output schema exists, so return values need not be fully explained, but the missing per-parameter semantics and alternative guidance leave it incomplete.

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

Parameters2/5

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

Schema description coverage is 0% for four parameters, and the description punts with 'Args: See Parameters block.' It gives one category example for get_help but never defines level, tool_name, or the meaning/range of category, and the detailed=True example is not a valid parameter.

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 host system context and enumerates the specific get_* operations, so the agent can tell it retrieves host information. It does not differentiate these operations from overlapping monitor_* siblings such as monitor_get_system_status and monitor_get_cpu_info.

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?

The description provides no when-to-use or when-not-to-use guidance, and it never mentions the monitor_* alternatives that retrieve similar system data. The examples show invocation syntax for two operations but do not explain selection criteria.

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