Skip to main content
Glama

k8s_triage

Identify cluster health issues by scanning for problem pods, warning events, unhealthy nodes, and stale deployments. Use as starting point for Kubernetes diagnostics.

Instructions

⭐ Start here for cluster diagnostics. Single call returns: problem pods, recent warning events, unhealthy nodes, and stale deployments.

Read-only: fans out several kubectl get calls only — never mutates the cluster, idempotent. Requires read access cluster-wide (or to the given namespace); individual sub-queries that are Forbidden/absent are skipped rather than aborting. Use this as the FIRST tool for broad questions like "what's wrong with this cluster", "anything broken", or "give me a health summary", then dig deeper with k8s_describe / k8s_logs / k8s_events.

Args: namespace: Limit scope to a single namespace; omit for cluster-wide. since: Event recency window (default "1h"). Format: "Ns", "Nm", "Nh", "Nd". context: kubeconfig context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoWarning-event recency window, format ^\d+[smhd]$ (e.g. "1h", "30m", "1d"). Default "1h".1h
contextNokubeconfig context name; omit to use the current context.
namespaceNoLimit the scan to one namespace; omit for cluster-wide triage.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses read-only nature ('fans out several kubectl get calls only — never mutates the cluster, idempotent'), permission requirements, and error behavior ('Forbidden/absent are skipped rather than aborting'). No annotations provided, but description carries full burden effectively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise and well-structured: star emoji + bold header, bullet list of returns, behavioral paragraph, usage guidance, and parameter details. Every sentence adds value; no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 optional parameters and no output schema, description adequately explains what the tool returns (four categories) and how to use it. All necessary context (permissions, idempotency, error handling) is included.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 3 parameters with descriptions (100% coverage). Description's Args section adds default values, format constraints (e.g., '1h', '30m'), and clarifies namespace scoping. Adds value beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description starts with 'Start here for cluster diagnostics' and lists specific outputs (problem pods, warning events, unhealthy nodes, stale deployments). It distinguishes itself from siblings by stating it's the first tool for broad questions, then deeper with k8s_describe/k8s_logs/k8s_events.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance: 'Use this as the FIRST tool for broad questions... then dig deeper with k8s_describe / k8s_logs / k8s_events.' Also states read-only and cluster-wide read access needed, with graceful handling of forbidden sub-queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/kaka-milan-22/kops'

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