Skip to main content
Glama

Top nodes

k8s_top_nodes

Retrieve resource usage statistics for Kubernetes nodes via the metrics server. Check CPU and memory consumption across cluster nodes to assess capacity.

Instructions

Get resource usage for nodes using metrics server.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "k8s_top_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.2/5.0
Behavior2/5

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

The description reads as a pure read ('Get resource usage'), yet annotations declare readOnlyHint=false, which conflicts with that framing (possibly a default-value artifact). Beyond the metrics-server mention, the description adds nothing about behavior: no note on failure when metrics are missing, no permissions detail, no indication of whether output is a ranked list or aggregated usage.

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 short sentence, front-loaded with the action and resource, with zero filler. It is efficient but so terse that it omits any routing or dependency detail that would have earned a 5.

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 optional-parameter read tool with no output schema, the definition is minimally adequate. The main gaps are the missing distinction from the duplicate top-nodes sibling and the unexplained readOnlyHint=false, which an agent could misread as a mutating operation.

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 coverage is 100% and the single 'context' parameter is fully documented in the schema, including a cross-reference to cm_multi_context list_contexts. The description adds no meaning beyond that, so the baseline of 3 applies — the schema does all the work.

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 and resource: 'Get resource usage for nodes', plus the data source ('metrics server'). That is clear enough for an agent to know what it does, but it offers no differentiation from the near-identical sibling 'k8s_get_top_nodes', leaving the agent to guess which of the two top-nodes variants to pick.

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: referencing 'metrics server' signals the dependency that must exist for this call to return data, which is useful context. However, there is no explicit statement of when to use this versus k8s_get_top_nodes, k8s_list_nodes, or k8s_top_pods, and no guidance on what to do when metrics-server is unavailable.

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