Skip to main content
Glama
raviraj-ntp

Dynatrace MCP

by raviraj-ntp

Kubernetes Issue Events

dynatrace_k8s_issue_events

Retrieve Kubernetes issue events such as OOMKilled, CrashLoopBackOff, evictions, probe failures, and warnings, scoped by cluster, namespace, workload, or pod.

Instructions

OOMKilled, CrashLoop/BackOff, Evicted, Failed, Unhealthy, probe failures, Warning events. Scope with cluster/namespace/workload/pod.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd: now or ISO-8601
podNoPod name: exact replica, prefix ending with '-', or glob (my-app-*).
fromNoStart: now-30m or ISO-8601
limitNo
aroundNoPivot timestamp for a window
windowNoHalf-window around pivot, e.g. 2m
clusterNoDynatrace k8s.cluster.name. Discover with dynatrace_list_clusters; do not assume a cluster.
endDateNoCalendar end YYYY-MM-DD (UTC day)
workloadNoWorkload or deployment name (k8s.workload.name / k8s.deployment.name).
namespaceNoKubernetes namespace (k8s.namespace.name). Discover with dynatrace_list_namespaces.
startDateNoCalendar start YYYY-MM-DD (UTC day)
connectionNoNamed connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key)
allowLongRangeNoAllow ranges longer than the default cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only lists event categories. It does not disclose that this is a read-only query, how the default time cap interacts with allowLongRange, what limit defaults to, or how results are shaped or ordered.

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?

Two compact fragments with no filler, and the content enumeration is front-loaded. It is efficient, though the extreme terseness trades away useful context.

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

Completeness3/5

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

For a 13-parameter, zero-annotation, no-output-schema tool, the description supplies useful domain content (which events count as issues) but omits usage routing against close siblings and any behavioral framing. Adequate but with clear gaps.

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 92%, so nearly every parameter is already documented in the schema, including discovery hints for cluster and namespace. The description adds only a shallow note that cluster/namespace/workload/pod are the scoping dimensions, which the schema largely conveys on its own.

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

Purpose3/5

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

The description enumerates the event kinds returned (OOMKilled, CrashLoop/BackOff, Evicted, probe failures, Warning events), so an agent can infer this retrieves Kubernetes issue events, but no explicit verb or resource statement is given. It also fails to distinguish itself from the sibling dynatrace_k8s_events, leaving the boundary between the two ambiguous.

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?

"Scope with cluster/namespace/workload/pod" only restates that scoping parameters exist; it says nothing about when to reach for this tool versus dynatrace_k8s_events, dynatrace_pod_events, or dynatrace_pod_issues. No preconditions or exclusions are offered.

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