Skip to main content
Glama

List ingress

k8s_list_ingress
Read-onlyIdempotent

Lists Kubernetes Ingress resources in a namespace so you can inspect exposed routes and troubleshoot traffic routing configuration.

Instructions

List Ingress resources in a namespace.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.4/5.0
Behavior3/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 carried by structured data. The description adds only the namespace scoping; it does not disclose whether omitting namespace lists across all namespaces, how large result sets are handled, or what the response shape is, which matters for an open-world cluster query.

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?

A single front-loaded sentence with zero filler. It is efficient, though slightly under-specified rather than trimmed of value.

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 two-parameter read-only list tool with no output schema, the definition is minimally adequate: an agent knows what it lists and where. It omits the namespace-omitted behavior and any sense of returned content, which the absence of an output schema pushes back onto the description.

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 50%: the context parameter is documented in-schema, but namespace has only a null default and no description. The description's 'in a namespace' hints at the namespace parameter's role but adds no format, default-behavior, or omission semantics beyond what the schema shows, so the baseline 3 applies.

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 specific verb ('List') and resource ('Ingress resources') plus the scoping dimension (namespace), so the operation is immediately intelligible. It does not differentiate itself from the near-identical sibling k8s_list_ingresses or from k8s_create_ingress/k8s_delete_ingress, leaving ambiguity about which ingress lister to call.

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?

The phrase 'in a namespace' implies the usage context, but there is no explicit when-to-use guidance, no statement about what happens when namespace is omitted, and no pointer to alternatives such as k8s_list_ingresses or k8s_describe_ingress_class.

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