Skip to main content
Glama

List ingress classes

k8s_list_ingress_classes
Read-onlyIdempotent

List Kubernetes IngressClasses for a chosen context so agents can inspect available ingress controllers and verify routing setup.

Instructions

List IngressClasses.

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_list_ingress_classes"
  }
}

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

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered elsewhere. The description adds nothing beyond them: no mention of cluster-scoped results, pagination, or whether the multi-context parameter affects the returned set.

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

Conciseness2/5

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

The single sentence is front-loaded but is pure under-specification rather than effective conciseness; it duplicates the title and contributes no information an agent can act on.

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 simple read-only list tool with full annotation coverage, full schema coverage, and no output schema, the definition is minimally viable, though it leaves open whether results are cluster-wide and how the context parameter scopes them.

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?

There is a single optional parameter whose schema description is fully covered (100%), including a pointer to cm_multi_context list_contexts and the default-if-omitted behavior. With schema coverage this high, the baseline of 3 applies and the description adds nothing further, but nothing is missing either.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'List IngressClasses.' restates the tool name and title verbatim, adding no scope, no resource detail, and no differentiation from siblings such as k8s_list_priority_classes or k8s_list_storage_classes. An agent knows only that a list of IngressClass objects is returned, which it could already infer from the identifier.

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?

No when-to-use guidance, no alternatives named (e.g. k8s_describe_ingress_class vs k8s_list_ingress for ingress resources), and no preconditions stated. The agent must infer usage purely from the name.

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