Skip to main content
Glama
raviraj-ntp

Dynatrace MCP

by raviraj-ntp

Pod Utilization

dynatrace_pod_utilization

Report Kubernetes pod CPU and memory quota usage, throttling, requests, limits, and unused capacity, filtered by cluster, namespace, workload, or pod to diagnose resource pressure.

Instructions

Kubernetes Explorer CPU and Memory quota: usage, throttled, requests, limits, % of request/limit, unused. Filter by cluster/namespace/workload/pod. Same report as dynatrace_pod_quota.

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.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 burden. It does not disclose default time ranges, pagination/limit behavior, auth or connection requirements, or whether results are cost-limited, leaving the behavioral profile of a 13-parameter query largely unspecified.

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 sentences, metrics front-loaded, no filler. Structure is efficient and scannable, though the final 'Same report as...' clause is redundant rather than informative.

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, no-annotation, no-output-schema tool the description is thin: it names the metrics returned but omits default time behavior, connection handling, and result-shape expectations. Adequate to identify the tool, not to call it confidently.

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 92%, so the schema already documents nearly every parameter including time, pod matching, cluster, workload, and namespace. The description's filter list adds little beyond what the schema states, so 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?

States a specific resource and metrics set: CPU and Memory quota usage, throttled, requests, limits, % of request/limit, unused. Distinguishes scope (Kubernetes Explorer pod quota metrics), though the closing note 'Same report as dynatrace_pod_quota' blurs rather than sharpens sibling differentiation.

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?

Gives filter dimensions (cluster/namespace/workload/pod) but no when-to-use guidance, no prerequisites, and no condition for choosing it over dynatrace_pod_quota despite explicitly stating the two return the same report.

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