Skip to main content
Glama

cci__listNetworkingCciIoV1beta1NamespacedNetwork

Retrieves all Network objects in a specified CCI namespace, supporting label and field selectors, pagination, and watch streams.

Instructions

[CCI] 查询指定namespace下的所有Network对象。

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

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.8/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden, but it only says it lists objects. It omits that the call is a non-mutating read, that results are paginated via limit/continue with 410 ResourceExpired expiry, and crucially that setting watch=true converts the call into a long-lived streaming response rather than a one-shot list.

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?

It is a single short sentence with no wasted words and the resource/scope are front-loaded. However, brevity here is under-specification rather than disciplined conciseness, given the nine-parameter Kubernetes list surface it fronts.

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 nine-optional-parameter list call with no annotations and no output schema, the description should at minimum frame pagination and watch behavior and clarify that a list is returned. It instead provides only the namespace-scoped listing intent, leaving the agent to discover streaming and paging semantics entirely from the schema.

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 all nine parameters are documented in-schema, so the baseline of 3 applies. The description adds no meaning beyond the schema — nothing about how to combine labelSelector with continue, or the interaction between limit and watch.

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 gives a specific verb (查询/query) and resource (Network objects) plus scope (指定namespace), so the agent knows exactly what it retrieves. It does not name or distinguish itself from the sibling readNetworkingCciIoV1beta1NamespacedNetwork, which fetches a single object, so it falls just short of 5.

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 when-to-use or when-not-to-use guidance: no statement that this is the collection-level read versus the single-object read sibling, and no hint about when to filter with labelSelector/fieldSelector versus listing everything. Usage is only inferable from the tool name and the word 'all'.

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