Skip to main content
Glama
ruegreen

Cisco MCP Pods Server

by ruegreen

delete_pod

Remove a pod from a Cisco API Gateway collection by specifying the collection name and pod number to manage your pod inventory and resources.

Instructions

Delete a pod from a collection by its number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionYesCollection name
numberYesPod number to delete

Implementation Reference

  • Core handler function that executes the delete_pod tool logic by sending a DELETE HTTP request to the Cisco Pods API endpoint.
    async deletePod(collection, number) {
      const url = `${this.baseUrl}/api/v2/pods/${collection}/${number}`;
      return this.makeRequest(url, { method: 'DELETE' });
    }
  • Input schema definition for the delete_pod tool, specifying collection and number parameters.
    inputSchema: {
      type: 'object',
      properties: {
        collection: {
          type: 'string',
          description: 'Collection name',
        },
        number: {
          type: 'number',
          description: 'Pod number to delete',
        },
      },
      required: ['collection', 'number'],
    },
  • src/index.js:181-198 (registration)
    Tool registration in ListToolsRequestSchema handler, including name, description, and schema for delete_pod.
    {
      name: 'delete_pod',
      description: 'Delete a pod from a collection by its number.',
      inputSchema: {
        type: 'object',
        properties: {
          collection: {
            type: 'string',
            description: 'Collection name',
          },
          number: {
            type: 'number',
            description: 'Pod number to delete',
          },
        },
        required: ['collection', 'number'],
      },
    },
  • MCP CallToolRequestSchema handler case for delete_pod, which delegates to podsClient.deletePod and formats response.
    case 'delete_pod': {
      const result = await podsClient.deletePod(args.collection, args.number);
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • MCP CallToolRequestSchema handler case for delete_pod in HTTP server, delegates to podsClient.deletePod.
    case 'delete_pod': {
      const result = await podsClient.deletePod(args.collection, args.number);
      return {
        content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
      };
    }

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/ruegreen/CiscoMCPPods'

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