Skip to main content
Glama
ranson21

kube-diagnostics-mcp

by ranson21

get_ingress_routes

Map Kubernetes Ingress hosts and paths to Services, verify TLS coverage, and identify dangling backends to diagnose routing issues.

Instructions

Ingress hosts/paths -> Services, TLS coverage, dangling backends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNoKubernetes namespace (required: no default configured; see list_namespaces)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the tool returns TLS coverage and dangling backends, but it does not state whether the operation is read-only, if it could be expensive on large clusters, or if it requires special permissions. The description lacks any explicit behavioral traits beyond the output summary.

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?

The description is a single, terse phrase that conveys the core functionality without waste. It is front-loaded with the primary mapping and adds secondary aspects. It is appropriately concise, though it is a fragment rather than a full sentence, which slightly reduces clarity.

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?

The tool has no output schema, so the description should clarify what the agent can expect as a return value (e.g., a list of routes with fields). It also does not explain terms like 'dangling backends' or the exact scope of TLS coverage. Given the complexity of ingress routing and the presence of many related tools, the description is too minimal for an agent to fully understand its capabilities and limitations.

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?

The tool description itself does not mention parameters, but the schema already documents the namespace parameter with a description (including a note about it being required despite schema not marking it so). Since schema coverage is 100%, the baseline is 3. The description adds no additional parameter semantics, but it does not need to because the schema is adequate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: mapping ingress hosts/paths to services, reporting TLS coverage, and identifying dangling backends. This is specific and distinct from sibling tools like get_tls_status (focused solely on TLS) and get_endpoints (endpoint-level data). The purpose is immediately understandable.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any exclusions, prerequisites, or scenarios where another tool would be more appropriate. The agent must infer usage from the purpose alone, which is insufficient given the large set of networking siblings.

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