Skip to main content
Glama

top_resources

Read-only

Retrieves live CPU/memory usage for Kubernetes pods, workloads, or nodes, ranked by resource consumption to pinpoint high-utilization components causing performance issues.

Instructions

Use when investigating high CPU, memory pressure, OOMKills, slow services, noisy pods, or uneven node load. Returns live metrics ranked like kubectl top pods|nodes | sort, joined with Kubernetes context: pod status, readiness, restarts, owner workload, requests, and limits. kind=pods ranks individual Pods, kind=workloads aggregates Pods to Deployments/StatefulSets/DaemonSets/Jobs, and kind=nodes ranks Nodes. Use before reading logs when the symptom mentions CPU, memory, GC, OOM, latency, or load.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNowhat to rank: pods (default), workloads, or nodes
namespaceNofilter pods/workloads to a namespace. Required for namespace-restricted users unless they have cluster-wide namespace access.
sortNosort by cpu (default) or memory
limitNomax rows returned, default 20, max 100

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/skyhook-io/radar'

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