Skip to main content
Glama

api-resources

Discover available Kubernetes API resources to manage cluster components through natural language commands.

Instructions

Get available API resources

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'api-resources' tool: executes 'kubectl api-resources' command and returns the output as text content.
    case "api-resources": {
      const cmd = `kubectl api-resources`;
      const { stdout } = await execAsync(cmd);
      return {
        content: [{ type: "text", text: stdout || "No API resources found" }]
      };
    }
  • server.js:620-626 (registration)
    Registration of the 'api-resources' tool in the tools list, including its name, description, and empty input schema. This list is returned by the ListToolsRequestHandler.
      name: "api-resources",
      description: "Get available API resources",
      inputSchema: {
        type: "object",
        properties: {}
      }
    },
  • Input schema for the 'api-resources' tool: an empty object (no parameters required).
    inputSchema: {
      type: "object",
      properties: {}
    }

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/thekaranpargaie/kube-mcp'

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