Skip to main content
Glama
mrafay7655

kubernetes-observability-mcp-server

trace_service_to_pods

Trace a Kubernetes Service through EndpointSlices to Pods and NetworkPolicies to identify connectivity breaks and policy blockers.

Instructions

Trace full path: Service → EndpointSlices → Pods → NetworkPolicies

Input Schema

NameRequiredDescriptionDefault
namespaceNoNamespace (default: "default")
service_nameYesService name to trace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 does not state whether this is read-only, whether it requires permissions, how expensive the trace is, or what the output looks like.

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?

A single front-loaded sentence with zero waste. The path chain is compact and immediately readable.

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?

With no annotations and no output schema, the description should at least explain the return shape or the behavioral profile of the trace. It only states what path is followed, leaving the agent uncertain about output and side effects.

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 both parameters are already documented. The description adds no additional meaning about service_name or namespace beyond what the schema provides, which is the baseline expectation.

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 and resource (trace a Service) and enumerates the exact path traversed: Service → EndpointSlices → Pods → NetworkPolicies. This distinguishes it reasonably well from siblings like check_service_endpoints, though it does not explicitly name an alternative.

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?

Usage is implied by 'Trace full path' and the chain of resources, suggesting debugging connectivity across endpoints, pods, and network policies. However, there is no explicit guidance on when to choose this over check_service_endpoints or analyze_network_policy.

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