Skip to main content
Glama

describe-pod

Retrieve detailed information about a specific Kubernetes pod, including its status, configuration, and resource usage, to monitor and troubleshoot containerized applications.

Instructions

Describe details of a Kubernetes pod

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNoThe namespace of the pod (optional, defaults to current context namespace)
podYesThe name of the pod to describe

Implementation Reference

  • Handler for 'describe-pod' tool: runs 'kubectl describe pod' command with optional namespace to retrieve detailed pod information.
    case "describe-pod": { const { pod, namespace } = args; const nsArg = namespace ? `-n ${namespace}` : ""; const cmd = `kubectl describe pod ${pod} ${nsArg}`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "No pod details found" }] }; }
  • Input schema for 'describe-pod' tool defining required 'pod' name and optional 'namespace'.
    name: "describe-pod", description: "Describe details of a Kubernetes pod", inputSchema: { type: "object", properties: { pod: { type: "string", description: "The name of the pod to describe" }, namespace: { type: "string", description: "The namespace of the pod (optional, defaults to current context namespace)" } }, required: ["pod"] } },
  • server.js:1392-1394 (registration)
    Registration of all tools list handler, which includes 'describe-pod' in the tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

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