Skip to main content
Glama
rsp2k
by rsp2k

k8s_get_kubernetes_cluster_resources

Get resource usage metrics for a Kubernetes cluster. Supply a cluster label or UUID to receive CPU, memory, and storage usage.

Instructions

Get resource usage information for a Kubernetes cluster. Smart identifier resolution: use cluster label or UUID.

Args: cluster_identifier: The cluster label or ID

Returns: Cluster resource usage including CPU, memory, and storage

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It adds a valuable detail about 'smart identifier resolution' (accepts label or UUID), which is a behavioral trait. However, it does not disclose error behavior, authentication needs, or any side effects (though it's a read operation). It also doesn't mention if the cluster must be running or accessible.

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 concise, uses a clear structure with Args and Returns, and front-loads the purpose. It avoids unnecessary detail while covering the essential points. The only minor issue is repeating 'cluster_identifier' in Args, but that's standard.

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?

The description covers the core purpose, parameter meaning, and return contents. However, it does not specify output format details (though an output schema exists), error conditions, or prerequisites. Given it's a simple read tool with one parameter, it's adequate but could benefit from noting that the cluster must exist or be accessible.

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?

The schema has 0% description coverage, so the description must compensate. It explicitly defines cluster_identifier as 'The cluster label or ID' and notes 'smart identifier resolution: use cluster label or UUID'. This adds meaning beyond the bare 'string' type and tells the agent exactly what to pass.

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 clearly states 'Get resource usage information for a Kubernetes cluster' and specifies the returned data (CPU, memory, storage). It distinguishes from sibling k8s tools by focusing on resource usage rather than cluster configuration or status, though it doesn't explicitly name alternatives.

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?

No explicit when-to-use guidance or alternatives are mentioned. The purpose implies usage for resource monitoring, but there is no exclusion of other tools or statement of preferred contexts. Sibling tools like k8s_get_kubernetes_cluster_status could overlap, but the description doesn't clarify when this one is appropriate.

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

Deploy Server

Other Tools