Skip to main content
Glama

aws_update_kubeconfig

Configures local kubeconfig to connect to a specific Amazon EKS cluster using a cluster name, AWS region, and profile.

Instructions

Configure local kubeconfig to connect to a specific EKS cluster.

Args: cluster_name: Name of the EKS cluster region: AWS region of the cluster profile_name: AWS profile name to authenticate with

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster_name": "<cluster_name>"
    },
    "name": "aws_update_kubeconfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo
cluster_nameYes
profile_nameNo

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.1/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 burden and omits key behavior: this writes/merges into the local ~/.kube/config file, potentially overwriting an existing context of the same name, and requires working AWS credentials. None of that side-effect or auth context is disclosed.

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 one-sentence purpose followed by a compact Args list; no filler. The Args section is somewhat redundant with schema titles but is justified given zero schema description coverage.

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

Completeness2/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 described, but the definition leaves out the essentials an agent needs before invoking a local-config-mutating tool: overwrite semantics, credential prerequisites, and what state changes as a result.

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 meaning, and it does explain all three parameters adequately (cluster name, cluster region, auth profile). It does not say which parameters are optional or that region falls back to profile/environment defaults when omitted.

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?

States a concrete verb and resource: 'Configure local kubeconfig to connect to a specific EKS cluster.' This clearly separates it from the list/inspect siblings such as aws_list_eks_clusters or aws_get_caller_identity, though it never names an alternative explicitly.

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 rather than stated: the required cluster_name suggests the agent should enumerate clusters first (aws_list_eks_clusters), and profile_name implies aws_list_profiles. There is no explicit when-to-use / when-not-to-use guidance and no prerequisites (valid AWS credentials, AWS CLI availability) are spelled out.

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