Skip to main content
Glama

cci__listCoreV1NamespacedConfigMap

List and inspect all ConfigMaps in a specified CCI namespace to retrieve configuration details, with filtering, pagination, and watch support for monitoring changes.

Instructions

[CCI] 查询Namespace下所有ConfigMap的详细信息。

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

Input Schema

NameRequiredDescriptionDefault
limitNolimit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.
watchNoWatch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
continueNoThe continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key".
fieldSelectorNoA selector to restrict the list of returned objects by their fields. Defaults to everything.
labelSelectorNoA selector to restrict the list of returned objects by their labels. Defaults to everything.
timeoutSecondsNoTimeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
resourceVersionNoresourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.
allowWatchBookmarksNoallowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
resourceVersionMatchNoresourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire disclosure load and falls well short. It never states that the operation is read-only, that results are paginated via the continue token, or that setting watch turns the call into a long-lived streaming subscription — all behaviors declared only inside the schema prose.

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 short sentence with no filler, and the resource and scope are front-loaded. It is efficient, though it is arguably under-sized for a tool exposing nine list/watch knobs.

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 9-parameter collection endpoint with no annotations and no output schema, this description is too thin. An agent gets no signal about read-only safety, pagination semantics, or the streaming behavior of watch, all of which materially change how the call should be made.

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 100% and each of the 9 query parameters carries a detailed Kubernetes-style explanation, so the baseline of 3 applies. The description itself adds no parameter meaning and does not reconcile its claim of returning 所有 ConfigMaps with the limit/selector parameters that can shrink 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?

The description pairs a clear verb (查询/query) with a specific resource (ConfigMap) and scope (Namespace 下 all), which distinguishes it from the create/delete/patch/replace siblings at a glance. It does not, however, distinguish itself from cci__readCoreV1NamespacedConfigMap, which retrieves a single ConfigMap rather than the collection.

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 call this rather than readCoreV1NamespacedConfigMap for one object, and no mention of the fieldSelector/labelSelector you would need to narrow results. The word 所有 ("all") implies an unfiltered sweep but never says so as a usage rule or points at alternatives.

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