Skip to main content
Glama

List events

k8s_list_events
Read-onlyIdempotent

List Kubernetes events newest first for a specific namespace or all namespaces to inspect recent cluster activity.

Instructions

List events newest first, in a namespace or in every namespace.

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_list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
namespaceNo
all_namespacesNo
field_selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile needs no restating. The description adds one genuine behavioral detail — results are ordered newest first — but says nothing about how limit bounds the result set, whether results are truncated, or which context defaults are used. Modest added value beyond the structured fields.

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

Conciseness4/5

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

A single tight sentence with the core action and scope front-loaded and no filler. It is arguably over-compressed for a five-parameter tool, but every word earns its place and nothing is wasted.

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?

For a tool with five parameters, 20% schema coverage and no output schema, there is too little explanatory content: default scoping behavior, the meaning of limit and field_selector, and any result-shape expectations are absent. The annotations cover safety but not the operational details an agent needs to call this correctly.

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 only 20% (just the context parameter), so the description must carry the burden for namespace, all_namespaces, limit and field_selector. It offers only the vague 'in a namespace or in every namespace', leaving the default limit of 500, the semantics of field_selector, and the interaction between namespace and all_namespaces entirely undocumented. This does not compensate for the coverage gap.

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?

States a specific verb and resource ('List events') plus two useful qualifiers: ordering ('newest first') and scope ('in a namespace or in every namespace'). An agent knows immediately what it retrieves. It stops short of distinguishing itself from the nearby k8s_get_resource_events sibling, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

The phrase 'in a namespace or in every namespace' implicitly maps to the namespace vs. all_namespaces parameters, which gives a hint about scoping choices. There is no explicit when-to-use guidance, no statement of what happens when neither is supplied, and no routing to or away from k8s_get_resource_events. Usage is implied rather than prescribed.

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

Deploy Server

Other Tools