Skip to main content
Glama
JackXuyi

Current operating environment

getGraphicsInfo

Retrieve detailed graphics card specifications from the current device to identify hardware capabilities and troubleshoot display issues.

Instructions

获取当前设备的显卡信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'getGraphicsInfo' tool. It uses the 'systeminformation' library (si.graphics()) to fetch graphics card information and returns it as a JSON-formatted text response.
    case "getGraphicsInfo": { const graphicsInfo = await si.graphics(); return { content: [{ type: "text", text: JSON.stringify(graphicsInfo, null, 2) }] }; }
  • src/index.ts:199-207 (registration)
    The registration of the 'getGraphicsInfo' tool in the list of available tools returned by handleRequest. Includes name, description, and input schema (empty object).
    { name: "getGraphicsInfo", description: "获取当前设备的显卡信息", inputSchema: { type: "object", properties: {}, required: [] } },
  • The input schema for the 'getGraphicsInfo' tool, which requires no parameters (empty object). Part of the tool registration.
    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