Skip to main content
Glama
mrafay7655

kubernetes-observability-mcp-server

get_namespace_health

Assess health for a Kubernetes namespace by rolling up pod counts, warnings, and overall status into a single score.

Instructions

Health score rollup for a namespace — pod counts, warnings, overall status

Input Schema

NameRequiredDescriptionDefault
namespaceNoNamespace (default: "default")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/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 disclose the return shape (pod counts, warnings, overall status) and the read-only nature is implied by 'get', but nothing is said about how the 'health score' is computed, what counts as a warning, or whether this is a live query versus a cached rollup.

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?

One tightly packed sentence with the resource and result contents front-loaded and zero filler. It is arguably too terse rather than padded, so it scores well on economy but leaves gaps elsewhere.

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 single-parameter read tool with no output schema, the description should explain what the returned health score and warnings mean. It lists the components but not their semantics or scale, so an agent knows roughly what comes back but not how to interpret it.

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?

There is a single optional parameter with 100% schema coverage, including the default of "default". The description adds nothing beyond the schema, which is acceptable at this coverage level but earns no bonus.

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 gives a specific verb+resource ('health score rollup for a namespace') and says what the result contains (pod counts, warnings, overall status). It clearly differs in kind from sibling list/describe tools by virtue of being an aggregate, though it never names a sibling explicitly.

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 only implied: an agent can infer this is the at-a-glance check for a namespace. There is no explicit when-to-use, no when-not-to-use, and no routing versus close siblings like get_namespace_events, get_entity_health, or list_pods.

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