Skip to main content
Glama
ruegreen

Cisco MCP Pods Server

by ruegreen

get_all_pods

Retrieve all pods from a specified Cisco collection to manage and access pod information for deployment and configuration tasks.

Instructions

Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionYesCollection name (e.g., ciscolivepods, coelabpods, testpods)

Implementation Reference

  • Core handler function that executes the get_all_pods tool logic by making an authenticated GET request to the Pods API to retrieve all pods from the specified collection.
    async getAllPods(collection) {
      const url = `${this.baseUrl}/api/v2/pods/${collection}`;
      return this.makeRequest(url, { method: 'GET' });
    }
  • MCP CallToolRequestSchema handler case for stdio transport that invokes podsClient.getAllPods and returns the result as formatted JSON text content.
    case 'get_all_pods': {
      const result = await podsClient.getAllPods(args.collection);
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
  • MCP CallToolRequestSchema handler case for HTTP transport that invokes podsClient.getAllPods and returns the result as formatted JSON text content.
    case 'get_all_pods': {
      const result = await podsClient.getAllPods(args.collection);
      return {
        content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
      };
  • Tool schema definition including name, description, and input schema requiring 'collection' parameter (defined in ListToolsRequestSchema handler).
    name: 'get_all_pods',
    description: 'Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.',
    inputSchema: {
      type: 'object',
      properties: {
        collection: {
          type: 'string',
          description: 'Collection name (e.g., ciscolivepods, coelabpods, testpods)',
        },
      },
      required: ['collection'],
    },
  • Tool schema definition including name, description, and input schema requiring 'collection' parameter (defined in ListToolsRequestSchema handler).
    name: 'get_all_pods',
    description: 'Get all pods from a specific collection. Works with any collection name like ciscolivepods, coelabpods, testpods, etc.',
    inputSchema: {
      type: 'object',
      properties: {
        collection: { type: 'string', description: 'Collection name (e.g., ciscolivepods, coelabpods)' },
      },
      required: ['collection'],
    },

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