Skip to main content
Glama
raviraj-ntp

Dynatrace MCP

by raviraj-ntp

List Kubernetes Clusters

dynatrace_list_clusters

Fetch Kubernetes clusters known to a Dynatrace tenant before filtering pods; returns k8s.cluster.name values for scoped pod queries.

Instructions

List Kubernetes clusters known to this Dynatrace tenant (k8s.cluster.name). Call this before filtering pods.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd: now or ISO-8601
fromNoStart: now-30m or ISO-8601
aroundNoPivot timestamp for a window
windowNoHalf-window around pivot, e.g. 2m
endDateNoCalendar end YYYY-MM-DD (UTC day)
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

A3.5/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and it does not meet it. It never discloses that the listing is time-scoped, despite six window parameters (from/to/around/window/startDate/endDate) and allowLongRange, nor does it mention auth/connection selection behavior, result shape, or ordering.

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?

Two short sentences with the resource and the sequencing instruction front-loaded; every clause carries information and nothing is padded.

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 read-only listing with a fully documented schema and no output schema, the description covers purpose and sequencing adequately. The gap is that it omits any explanation of the time-range parameters' role in a 'list clusters' call, which an agent may find counterintuitive.

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 eight parameters are already documented in the schema, establishing the baseline of 3. The description adds only the k8s.cluster.name field reference and no additional parameter semantics such as default window behavior.

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 verb and resource ('List Kubernetes clusters') and pins the domain attribute it enumerates (k8s.cluster.name), so it reads clearly against sibling list tools like list_pods/list_nodes. It does not explicitly contrast itself with those siblings, but the cluster-level scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Call this before filtering pods' gives an explicit sequencing rule and makes the parent-child relationship with the pod tools clear. There is no statement of when not to use it or of alternative paths, but the guidance is concrete rather than implied.

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