Skip to main content
Glama
ruegreen

Cisco MCP Pods Server

by ruegreen

update_pod

Modify pod configurations including status, credentials, and test information in Cisco API Gateway pod collections to maintain current operational settings.

Instructions

Update an existing pod in a collection. Can update status, credentials, test information, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionYesCollection name
numberYesPod number to update
updatesYesFields to update

Implementation Reference

  • Defines the input schema and metadata for the 'update_pod' tool, specifying required parameters: collection, number, and updates object.
    {
      name: 'update_pod',
      description: 'Update an existing pod in a collection. Can update status, credentials, test information, etc.',
      inputSchema: {
        type: 'object',
        properties: {
          collection: {
            type: 'string',
            description: 'Collection name',
          },
          number: {
            type: 'number',
            description: 'Pod number to update',
          },
          updates: {
            type: 'object',
            description: 'Fields to update',
            properties: {
              Status: { type: 'string' },
              "Test Date": { type: 'string' },
              "Test Status": { type: 'string' },
              Password: { type: 'string' },
              CRMPassword: { type: 'string' },
            },
          },
        },
        required: ['collection', 'number', 'updates'],
      },
    },
  • The MCP tool handler for 'update_pod' that extracts arguments and delegates to podsClient.updatePod, then formats the response as MCP content.
    case 'update_pod': {
      const result = await podsClient.updatePod(args.collection, args.number, args.updates);
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • Core implementation of pod update: constructs API URL and sends PATCH request with updates payload using the configured auth headers.
    async updatePod(collection, number, updates) {
      const url = `${this.baseUrl}/api/v2/pods/${collection}/${number}`;
      return this.makeRequest(url, {
        method: 'PATCH',
        body: JSON.stringify(updates),
      });
    }

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