Skip to main content
Glama

get_events

Read-only

Retrieve recent Kubernetes Warning events, deduplicated and sorted by recency, with reason, message, and count. Filter by namespace, resource kind, or name to diagnose scheduling, image pulling, restarts, and controller errors.

Instructions

Use for recent Kubernetes Warning events after an overview points at a namespace or resource, or when the symptom is scheduling, pulling images, restarts, failed mounts, readiness, or controller errors. Events are deduplicated and sorted by recency with reason, message, and count. For a ranked issue list that includes problems/conditions, use issues first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNofilter to a specific namespace
limitNomax 100, default 20
kindNofilter to events involving this resource kind (e.g. Pod, Deployment)
nameNofilter to events involving this resource name
Behavior4/5

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

Annotations already indicate read-only behavior. The description adds that events are deduplicated, sorted by recency, and include reason, message, and count. This provides useful behavioral context beyond the schema and annotations.

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?

The description is two sentences long, front-loads the purpose and usage scenarios, and efficiently covers what the tool returns and when to use alternatives. No superfluous text.

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

Completeness4/5

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

For a simple event-listing tool, the description covers the key aspects: what it returns (deduplicated events with reason, message, count), when to use it, and how it differs from 'issues'. It lacks an explicit time range for 'recent', but the limit parameter addresses pagination. Overall sufficient.

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

Parameters3/5

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

Schema coverage is 100% with clear descriptions for all parameters. The description does not add new semantic details about parameters but does provide usage context (e.g., 'after an overview points at a namespace'). This is adequate but not exceptional.

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?

The tool's purpose is clearly stated: to retrieve recent Kubernetes Warning events for troubleshooting specific symptoms. It distinguishes itself from the sibling tool 'issues' by noting that 'issues' provides a ranked list of problems, whereas this tool returns raw 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?

Explicitly states when to use this tool: after an overview points at a namespace/resource or when symptoms like scheduling errors occur. Also advises to use 'issues' first for a ranked issue list, providing clear differentiation.

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

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