Skip to main content
Glama

k8s_get_events

List Kubernetes cluster events, optionally filtered by field selector, to quickly troubleshoot issues and reduce dashboard checks.

Instructions

List cluster events, optionally filtered by field selector.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "k8s_get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceNodefault
field_selectorNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does little: it implies a read-only listing but never states the event retention window, result limits, or whether results are namespace-scoped. Notably it says 'cluster events' while the schema defaults to a single namespace ('default'), a scoping ambiguity the description never resolves.

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

Conciseness3/5

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

A single well-formed sentence with no filler, but it is under-specified rather than concise — the brevity comes at the cost of the scoping and filter details an agent needs.

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

Completeness2/5

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

An output schema exists, so return values need not be described, and the tool is simple with only two optional parameters. However, with zero annotation coverage and zero schema descriptions, the description should at minimum clarify namespace scoping and field-selector syntax, and it does neither.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, yet it only alludes to field_selector and never gives its syntax (e.g. 'reason=FailedScheduling') or explains that namespace defaults to 'default'. Half the parameters remain undocumented in both schema and description.

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

Purpose4/5

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

The description gives a specific verb and resource ('List cluster events') plus its optional filter, which is clearly distinguishable from sibling tools like k8s_get_failing_pods or k8s_describe_pod. It stops short of stating how it differs from other diagnostic tools, but the operation itself is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this tool versus alternatives such as k8s_describe_pod or k8s_pod_logs, nor any mention of prerequisites like needing a namespace or RBAC access. Usage is only implied by the word 'events'.

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