Skip to main content
Glama
safe-ssh-mcp

safe-ssh-mcp

by Areso

get_cpu_info

Read-only

Retrieve remote CPU model, core count, caches, NUMA topology, hypervisor status, and vulnerability mitigations over SSH for read-only diagnostics.

Instructions

CPU model, cores, caches, NUMA, hypervisor and vulnerability mitigations (lscpu).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "host": "<host>",
      "user": "<user>"
    },
    "name": "get_cpu_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
userYes
timeoutNo
key_pathNo
password_envNo
include_flagsNo
accept_new_hostkeyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • removedInput schema / properties / password
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • addedInput schema / properties / password_env
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed1 schema field changedv0.3.3
    • changedInput schema / properties / timeout / default
      Previous value: -20New value: +60
  3. Addedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, and the `(lscpu)` reference usefully signals the data source and output shape, so an agent knows results mirror lscpu output. However, nothing discloses that this requires remote access over SSH (host/user/key_path in the schema), nor whether caching, timeouts, or permission failures are relevant.

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?

A single telegraphic sentence with no filler, and the key payload (the returned CPU facts) is front-loaded. It is efficient, though the fragment style leaves no room for the guidance that is missing.

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?

An output schema exists, so return values need not be described, and the annotation covers read-only safety. What remains missing is any explanation of the SSH connection parameters (8 params, 0% documented coverage), which is material for correct invocation.

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

Parameters1/5

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

Schema description coverage is 0% across 8 parameters, and the description adds nothing about host, port, user, timeout, key_path, password_env, include_flags, or accept_new_hostkey. Ambiguous parameters such as include_flags and password_env are completely unexplained in both structured and prose fields, leaving the description failing to compensate for the coverage gap.

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 enumerates exactly what the tool returns (CPU model, cores, caches, NUMA, hypervisor, vulnerability mitigations) and anchors it to `lscpu`, which distinguishes it from siblings like get_free_memory or get_host_overview. It lacks an explicit verb/action phrase, but the resource and data source are unambiguous.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as get_host_overview for a broader system summary. The `(lscpu)` parenthetical implies local/remote command execution but does not tell the agent when this tool is the right choice.

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