Skip to main content
Glama
ogbm77

Cisco CX Cloud MCP Server

by ogbm77

get_covered_assets

Retrieve all assets covered by contracts for a specific customer to manage hardware inventory and service agreements.

Instructions

Get all assets covered by contracts for a specific customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdYesThe customer ID

Implementation Reference

  • Handler implementation for the get_covered_assets tool. Validates the customerId parameter, makes an authenticated API call to the Cisco CX Cloud /contracts/coverage endpoint, and returns the response data as JSON-formatted text content.
    case "get_covered_assets": {
      const customerId = args?.customerId as string;
      if (!customerId) {
        throw new Error("customerId is required");
      }
      const data = await makeApiCall("/contracts/coverage", customerId);
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(data, null, 2),
          },
        ],
      };
    }
  • src/index.ts:136-150 (registration)
    Registration of the get_covered_assets tool in the tools list, including name, description, and input schema. This is returned by the ListTools handler.
    {
      name: "get_covered_assets",
      description: "Get all assets covered by contracts for a specific customer.",
      inputSchema: {
        type: "object",
        properties: {
          customerId: {
            type: "string",
            description: "The customer ID",
          },
        },
        required: ["customerId"],
      },
    },
    {
  • Input schema definition for the get_covered_assets tool, specifying an object with a required 'customerId' string property.
    inputSchema: {
      type: "object",
      properties: {
        customerId: {
          type: "string",
          description: "The customer ID",
        },
      },
      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