Skip to main content
Glama
ogbm77

Cisco CX Cloud MCP Server

by ogbm77

get_contracts

Retrieve contract details and coverage periods for a specific customer using their customer ID to manage service agreements.

Instructions

Get all contracts for a specific customer. Returns contract details including coverage periods.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdYesThe customer ID

Implementation Reference

  • Handler for the 'get_contracts' tool. Validates customerId input, calls the Cisco CX Cloud API endpoint for contract details, and returns the response as formatted JSON text.
    case "get_contracts": { const customerId = args?.customerId as string; if (!customerId) { throw new Error("customerId is required"); } const data = await makeApiCall("/contracts/contract-details", customerId); return { content: [ { type: "text", text: JSON.stringify(data, null, 2), }, ], }; }
  • src/index.ts:122-135 (registration)
    Registration of the 'get_contracts' tool in the tools list, including name, description, and input schema definition requiring 'customerId'.
    { name: "get_contracts", description: "Get all contracts for a specific customer. Returns contract details including coverage periods.", inputSchema: { type: "object", properties: { customerId: { type: "string", description: "The customer ID", }, }, required: ["customerId"], }, },
  • Input schema for 'get_contracts' tool, defining the required 'customerId' string parameter.
    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