Skip to main content
Glama
JackXuyi

Current operating environment

getHardwareInfo

Retrieve hardware information for the current device, including manufacturing date, to analyze system specifications and configuration details.

Instructions

获取当前设备的硬件信息,包括生产日期等

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler case for getHardwareInfo tool that fetches system hardware information using systeminformation library (si.system()) and returns it as JSON text content.
    case "getHardwareInfo": { const hardwareInfo = await si.system(); return { content: [{ type: "text", text: JSON.stringify(hardwareInfo, null, 2) }] }; }
  • src/index.ts:127-134 (registration)
    Registration of the getHardwareInfo tool in the listTools handler, including name, description, and empty input schema.
    { name: "getHardwareInfo", description: "获取当前设备的硬件信息,包括生产日期等", inputSchema: { type: "object", properties: {}, required: [] }
  • Input schema for getHardwareInfo tool, which takes no parameters.
    inputSchema: { type: "object", properties: {}, required: [] }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JackXuyi/env-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server