Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

list_hpas

List HorizontalPodAutoscalers and their min, max, current, and desired replicas along with metrics for a given cluster or namespace.

Instructions

List HorizontalPodAutoscalers with min/max/current/desired replicas and metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterNo
namespaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

C2.9/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 burden of behavioral disclosure. It implies a read-only list operation and states what information is returned, which is useful, but it does not clarify default scope, whether cluster or namespace are required filters, or any pagination or side-effect behavior beyond the word 'List'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single focused sentence with the action and key output details front-loaded. Every word contributes information, and there is no filler, repetition, or unnecessary structure.

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 tool is simple and has an output schema, so the return shape is covered elsewhere. However, the optional cluster and namespace parameters are left semantically unexplained, and there is no statement about default scope or filtering behavior, making the definition only minimally complete for correct invocation.

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

Parameters1/5

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

The schema has 0% description coverage for both parameters, and the description does not add any meaning to cluster or namespace. An agent cannot determine whether these are optional filters, what an empty default means, or what combinations are valid.

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 names the resource (HorizontalPodAutoscalers), the action (List), and previews key returned fields (min/max/current/desired replicas and metrics). It is specific and understandable, though it does not explicitly distinguish itself from related sibling tools such as list_vpas or get_cluster_autoscaler.

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 gives no guidance about when to use this tool versus alternatives, nor does it mention exclusions or prerequisites. The name implies a read-only listing, but there is no explicit direction about choosing list_hpas over related autoscaler or scaling tools.

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