Skip to main content
Glama
ogbm77

Cisco CX Cloud MCP Server

by ogbm77

get_hardware_inventory

Retrieve detailed hardware asset information for a specific customer account in Cisco CX Cloud to manage inventory and track equipment.

Instructions

Get hardware inventory for a specific customer. Returns details about all hardware assets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdYesThe customer ID (get from get_customer_accounts first)

Implementation Reference

  • Handler for the get_hardware_inventory tool. Extracts customerId from arguments, validates it, calls the makeApiCall helper to fetch data from /inventory/hardware endpoint, and returns the JSON-formatted response.
    case "get_hardware_inventory": { const customerId = args?.customerId as string; if (!customerId) { throw new Error("customerId is required"); } const data = await makeApiCall("/inventory/hardware", customerId); return { content: [ { type: "text", text: JSON.stringify(data, null, 2), }, ], }; }
  • src/index.ts:94-107 (registration)
    Tool registration in the tools array, including name, description, and input schema. Used by the ListTools handler to advertise the tool's availability and parameters.
    { name: "get_hardware_inventory", description: "Get hardware inventory for a specific customer. Returns details about all hardware assets.", inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID (get from get_customer_accounts first)", }, }, required: ["customerId"], }, },
  • Input schema definition for the get_hardware_inventory tool, specifying that a customerId string is required.
    inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID (get from get_customer_accounts first)", }, }, required: ["customerId"], },

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/ogbm77/cisco-cx-cloud-mcp'

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