Skip to main content
Glama
raviraj-ntp

Dynatrace MCP

by raviraj-ntp

Pod CPU/Memory Quota

dynatrace_pod_quota

Explore Kubernetes namespace CPU and memory quotas: usage, throttling, requests, limits, percentages, and unused capacity. Discover cluster and namespace first.

Instructions

Kubernetes Explorer quota tables for any namespace: CPU (mcore usage, throttled, requests, limits, %, unused) and Memory (usage, requests, limits, %, unused). Discover cluster/namespace first; do not assume names.

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
sortNoWhich table is listed first (default cpu)
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

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It implies a read-only table query by naming 'quota tables', and the allowLongRange parameter hints at a range cap, but it never states permissions, whether a cap is being hit, or what the defaults are. Useful but incomplete for a 14-parameter tool.

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 sentences, front-loaded with the data provided and ending with the prerequisite. No filler, though the parenthetical column list is dense.

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 14-param tool with no output schema and no annotations, the description partially compensates by listing the returned columns. It still omits default time-range behavior, how the sort parameter shapes the two tables, and any output shape detail beyond the column names.

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 93%, so the schema already documents nearly all parameters (including cluster/namespace discovery hints). The description adds value only by naming the output columns, not by clarifying parameter behavior, so baseline 3 is appropriate.

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 (Kubernetes quota tables) and enumerates the columns returned for CPU and Memory, so the agent knows exactly what data this produces. It does not, however, distinguish itself from the sibling dynatrace_pod_utilization, which plausibly overlaps.

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?

Gives one concrete prerequisite ('Discover cluster/namespace first; do not assume names'), which is genuinely useful routing guidance. It never says when to prefer this over dynatrace_pod_utilization or the other pod_* siblings, so the alternative-selection guidance is only implied.

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