Skip to main content
Glama

aws_list_eks_clusters

List EKS clusters in a specific AWS region and optionally update local kubeconfig so you can connect to discovered clusters.

Instructions

List EKS clusters in a specific AWS region and optionally configure local ~/.kube/config.

Args: region: AWS region (e.g. 'us-east-1', 'us-west-2') profile_name: AWS profile name to use (defaults to the selected or active profile). update_kubeconfig: If True, automatically configures kubeconfig for found clusters

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": "aws_list_eks_clusters"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo
profile_nameNo
update_kubeconfigNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.5
    • addedInput schema / properties / profile_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / profile_name / default
      Previous value: -"default"New value: +null
    • removedInput schema / properties / profile_name / type
      Removed value: -"string"
    • addedInput schema / properties / region / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / region / default
      Previous value: -"us-east-1"New value: +null
    • removedInput schema / properties / region / type
      Removed value: -"string"
  2. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the meaningful side effect of writing to the local ~/.kube/config, but says nothing about whether existing kubeconfig entries are overwritten, what credentials or permissions are needed, or what happens when no clusters are found.

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 one-line purpose is front-loaded and followed by a compact Args list, with no filler. The Args block duplicates schema titles somewhat, but the added explanation justifies it.

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?

An output schema exists, so return values need not be explained. Still, for a tool with a local-filesystem side effect and no annotations, missing detail on region-null behavior, credential prerequisites, and overwrite semantics leaves the definition only adequate.

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 description coverage is 0%, so the Args block is the only source of parameter meaning, and it does explain all three: region with examples, profile fallback, and the update_kubeconfig toggle. However, region defaults to null and the description never says what happens when it is omitted, leaving a real gap for a required-in-practice argument.

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 first sentence names a specific verb and resource ('List EKS clusters') plus scope ('in a specific AWS region') and a secondary effect. It is clear without opening the schema, but it does not distinguish itself from the sibling aws_update_kubeconfig, which the optional kubeconfig configuration clearly overlaps with.

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 implied by the phrase 'optionally configure local ~/.kube/config', so an agent can infer the two modes. There is no explicit when-to-use versus aws_update_kubeconfig or aws_switch_profile, and no statement of prerequisites such as valid credentials.

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