Skip to main content
Glama

List endpointslices

k8s_list_endpointslices
Read-onlyIdempotent

List Kubernetes EndpointSlices in a namespace to inspect service endpoint routing, with an optional named context for multi-cluster queries.

Instructions

List EndpointSlices 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_endpointslices"
  }
}

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

C2.9/5.0
Behavior2/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, open-world listing operation. The description adds only 'in a namespace,' which is already reflected in the parameter schema, and gives no additional behavioral context such as pagination, error handling, or what the listing includes.

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 description is a single front-loaded sentence with no wasted wording. Its brevity is efficient, though the same brevity leaves important usage and behavioral information unstated.

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?

This is a simple two-parameter list tool with complete annotations and no output schema, so the description need not explain return values. However, it omits guidance on multi-context selection and does not differentiate the tool from overlapping list siblings, leaving meaningful gaps for an agent choosing among many k8s list operations.

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 50%: the context parameter is documented in the schema, while the namespace parameter is not. The description partially compensates by indicating that results are scoped to a namespace, but it says nothing about the multi-context pool selection semantics of the context parameter.

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 states a specific verb and resource: listing EndpointSlices. It does not distinguish this tool from nearby list siblings such as k8s_list_endpoints or k8s_list_dns_endpoints, so an agent cannot tell from the definition alone why it would choose this over those alternatives.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The namespace mention implies a scoped listing operation, but the definition provides no routing guidance against the many sibling list 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