Skip to main content
Glama

get_cluster_audit

Read-only

Evaluate Kubernetes cluster static configuration for compliance with best practices. Returns security, reliability, and efficiency audit findings with remediation steps.

Instructions

Use when the agent's decision is 'is this cluster well-configured / compliant?' — STATIC CONFIG POSTURE, not live operational state. Returns best-practice findings: Security (runAsRoot, privileged containers, dangerous capabilities, hostPath/hostNetwork, secret-in-ConfigMap), Reliability (single replicas, missing PDB, missing TopologySpread, podHARisk, Service/Ingress without matching backends, stuckTerminating, deprecatedAPIVersion), and Efficiency (missing resource requests/limits, orphaned ConfigMaps/Secrets, under/over-utilization). Each finding has remediation guidance. INDEPENDENT of operational health: a healthy pod can have many audit findings (badly configured but working), a crashing pod can have zero (cleanly configured but failing). For 'what's broken right now?' use the issues tool. Respects user's audit settings (ignored namespaces, disabled checks). Filter by namespace, category, or severity. Resources absent from findings should NOT be reported as non-compliant — empty findings for a scope means no violations, not a failed check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNofilter to a specific namespace
categoryNofilter by category: Security, Reliability, or Efficiency
severityNofilter by severity: danger or warning
limitNomax audit violation findings to return (default 30, max 100). This limits findings only; compliant resources are not returned.

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