Skip to main content
Glama
mrafay7655

kubernetes-observability-mcp-server

correlate_alerts_with_k8s

Correlate Dynatrace alerts with Kubernetes events in a specified time window to identify related cluster activity and support root-cause analysis.

Instructions

Correlate Dynatrace alerts with Kubernetes events in a time window

Input Schema

NameRequiredDescriptionDefault
time_toNoEnd time (default: now)
namespaceNoKubernetes namespace (optional)
time_fromNoStart time (default: now-1h)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 whether the operation is read-only, how the correlation is computed (time proximity? label matching? namespace scoping?), what happens with an empty window, or how costly/heavy the query is across two backends.

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 front-loaded sentence with no filler; the resource pairing and scope come first. It is efficient but so terse that it borders on under-specification rather than true conciseness.

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

Completeness2/5

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

For a cross-system correlation tool with no annotations and no output schema, the definition should explain what the correlated result looks like (paired alerts and events? a timeline? confidence scores?) and how namespace scoping affects matching. None of that is present, leaving an agent unable to predict the return shape.

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 100%, so defaults for time_from (now-1h) and time_to (now) and the optional namespace are already documented. The description's 'in a time window' adds only a light framing and no format or syntax detail beyond the schema, 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?

States a specific verb (correlate) plus two named resources (Dynatrace alerts, Kubernetes events) and a scope (time window). It is clearly distinct from single-source siblings like get_dynatrace_problems or get_namespace_events, though it never names those alternatives.

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 statement of when to use this over the sibling tools it overlaps with (get_dynatrace_problems + get_namespace_events), no prerequisites (does it require both Dynatrace and cluster access?), and no exclusions. Only the phrase 'in a time window' hints at suitable scenarios.

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