Skip to main content
Glama

k8s_overview

Summarize Kubernetes YAML manifests from a file or directory by kind and namespace, covering workloads, Services, Ingress routes, and host-network usage before linting.

Instructions

Summarize Kubernetes manifests: every object by kind and namespace, workloads with replicas, images and ports, Services (type, ports, which workloads they select), Ingress routes, and host-network workloads. path is a YAML file (multi-document is fine, helm template output works) or a directory of them. Start here, then lint_manifests.

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. 'Summarize' implies a read-only analysis pass, and the description usefully discloses accepted input shapes (multi-document YAML, helm template output, directories), but says nothing about side effects, failure behavior on malformed YAML, or whether any cluster/auth access is needed.

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?

Front-loaded with the capability, then input semantics, then the next step. The mid-sentence enumeration is long but each item maps to a distinct thing the agent gets back, so it earns its space; only slight tightening would improve it.

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

Completeness4/5

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

An output schema exists, so return values needn't be spelled out, and the description lists enough content to make selection easy while covering the one ambiguous input. Remaining gap is behavioral: no note on invalid/non-Kubernetes YAML or on scope limits of the summary.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter has no description, so the description is the only source of meaning. It specifies that `path` accepts a YAML file, a multi-document file, helm template output, or a directory of files — meaningful detail the bare string schema does not convey.

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?

States a specific verb (Summarize) and resource (Kubernetes manifests), then enumerates exactly what the summary covers: objects by kind/namespace, workloads with replicas/images/ports, Services with selectors, Ingress routes, host-network workloads. The closing 'Start here, then lint_manifests' positions it against the closest sibling.

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?

Gives an explicit workflow position ('Start here') and names the follow-up tool (lint_manifests), which is genuine when-to-use guidance. It does not state when to skip this tool or jump straight to check_references/rbac_review, so it stops short of full routing guidance.

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