Skip to main content
Glama

List native services

k8s_list_native_services
Read-onlyIdempotent

List real Kubernetes core/v1 Services, optionally filtered by namespace or context, to inspect native service resources in a cluster.

Instructions

List real Kubernetes (core/v1) Services.

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

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.8/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 only the 'core/v1 native, not custom resource' scoping nuance; it says nothing about result ordering, pagination, whether all namespaces are returned when namespace is omitted, or cluster/auth requirements for an open-world call.

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

Conciseness3/5

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

A single front-loaded sentence with zero filler, but its brevity comes at the cost of the scoping and parameter information an agent actually needs. Concise without being complete.

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?

For a list tool whose default namespace behavior and cross-namespace scope drive the query semantics, the definition is too thin; there is no output schema to explain the returned shape either. Only the fact that annotations carry the read-only profile keeps this from being fully inadequate.

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?

With only 50% schema coverage, the description should compensate but does not: the 'namespace' parameter has no description in the schema and no explanation here, leaving the critical 'all namespaces vs. current namespace' behavior undefined. The 'context' parameter is documented in the schema (including a pointer to cm_multi_context list_contexts), so 3 is defensible but only thanks to the schema.

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 and resource ('List') plus the exact API group ('Kubernetes (core/v1) Services'), which implicitly separates it from CRD-backed or non-Kubernetes service listings. The word 'native' combined with the group/version is informative, but no sibling (e.g. k8s_list_services or cm_k8s_networking_list_k8s_services) is named, so differentiation is inferred rather than stated.

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 guidance on when to pick this over the numerous sibling list tools, no mention of prerequisites (cluster connectivity, context), and no exclusions. The reader must guess from the name alone whether this returns native Services only and how it differs from k8s_list_services.

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