Skip to main content
Glama
raviraj-ntp

Dynatrace MCP

by raviraj-ntp

Pod Issues

dynatrace_pod_issues

Analyze Kubernetes pod restarts and Warning events to diagnose CrashLoopBackOff, OOMKilled, or NotReady states for a pod in a time window.

Instructions

CrashLoop / OOM / not-Ready signals: restarts plus Warning events for a pod.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd: now or ISO-8601
podYesExact pod name (from list_pods or the user)
fromNoStart: now-30m or ISO-8601
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)
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.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the output mixes restart metrics with Warning events, which is useful, but says nothing about read-only semantics, default time window behavior, the range cap implied by 'allowLongRange', or result volume. For a read tool with zero annotation coverage this is thin.

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 compact clause that front-loads the signal categories an agent triages on. It is efficient with no filler, though it omits a real verb and reads as a fragment rather than a complete directive.

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?

With 11 parameters, no annotations, and no output schema, the description does partially compensate by naming the return contents (restarts plus Warning events). However it omits time-window semantics, the default cap behind allowLongRange, and any differentiation from the pod/k8s event siblings, leaving meaningful gaps for an 11-parameter tool.

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 description coverage is 100%, so all 11 parameters (pod, from/to, around/window, cluster, namespace, connection, allowLongRange, etc.) are already documented in the schema. The description adds no parameter-level detail beyond 'for a pod', so the baseline 3 applies.

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 names a specific resource (a pod) and the exact signals returned: CrashLoop/OOM/not-Ready indicators, restart counts, and Warning events. That is far more informative than the bare title 'Pod Issues'. It stops short of distinguishing this from siblings like dynatrace_pod_events, dynatrace_k8s_issue_events, or dynatrace_get_pod, which an agent would need in order to choose correctly.

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 when-to-use guidance, no stated prerequisites (e.g. that pod name must come from dynatrace_list_pods), and no named alternative. In a toolkit containing dynatrace_pod_events, dynatrace_k8s_issue_events, and dynatrace_get_pod, the lack of routing information is a real gap.

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