Skip to main content
Glama
Hardware Inventory MCP

Hardware Inventory MCP

by Ahmad-1276

get_cpu_hardware

Retrieves CPU model, socket count, cores, threads, frequency, and cache details to support hardware inventory and system diagnostics.

Instructions

Return CPU model, sockets, cores, threads, frequency, and cache.

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": "get_cpu_hardware"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a passive read ("Return") and the enumerations describe the payload, but it never states that the call is read-only, non-destructive, locally scoped, or whether it reports per-host aggregate data — modest gaps for a zero-risk query tool.

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 tight sentence with the verb and resource front-loaded and a comma-delimited field list that scans quickly. Nothing is wasted, though the field enumeration slightly duplicates what the output schema already declares.

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?

With zero parameters and an output schema present, the description does not need to explain return structure, and it doesn't need to — the field list is a helpful preview rather than a required one. The only missing element is any note on scope or read-only safety, which is minor for a simple hardware query.

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, which is the baseline-4 case; there is nothing for the description to disambiguate. The listed fields describe output rather than input, so they add no parameter meaning, but no parameter meaning is needed.

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 pairs a specific verb ("Return") with a specific resource (CPU hardware) and enumerates the returned attributes — model, sockets, cores, threads, frequency, cache — which unambiguously separates it from siblings like get_memory_hardware or get_motherboard_info. It stops short of explicitly naming those siblings as alternatives, so it earns a 4 rather than a 5.

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?

There is no explicit when-to-use or when-not-to-use statement, no prerequisites, and no routing to alternatives. Usage is only implied by the CPU-specific framing, which is adequate for a zero-parameter read but leaves the agent to infer that it complements rather than replaces get_hardware_summary.

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