Skip to main content
Glama

List external secrets

k8s_list_external_secrets
Read-onlyIdempotent

List Kubernetes ExternalSecrets with their sync condition and last refresh time to quickly identify stale or failing secret synchronization.

Instructions

List ExternalSecrets with their sync condition and last refresh time.

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

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
all_namespacesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds genuine value by disclosing the returned fields (sync condition, last refresh time), but says nothing about scoping behavior when namespace is omitted or all_namespaces is set.

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

Conciseness5/5

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

A single front-loaded sentence with zero waste that conveys the resource and the salient returned fields immediately.

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?

Without an output schema, the description usefully sketches the return values, but for a three-parameter list tool where the namespace scoping semantics are undocumented, an agent cannot tell from the definition whether it gets one namespace or the whole cluster by default.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: only the context parameter is documented, while namespace and all_namespaces have no descriptions in the schema. The description does not mention either parameter, so it fails to compensate for the coverage gap on the two parameters that actually control the result set.

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 ExternalSecrets") and names distinguishing output content (sync condition, last refresh time), which separates it from a plain secret listing. It does not explicitly name sibling tools like k8s_list_secrets, so the differentiation is implicit 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the verb: this is the read path for inspecting ExternalSecret sync status, and the sibling k8s_force_sync_external_secret covers mutation. However, the description never says when to prefer this over alternatives, nor when to use it versus force-sync.

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