Skip to main content
Glama

cci__replaceAppsV1NamespacedStatefulSet

Replace a StatefulSet in a CCI namespace, with optional dry-run validation and field manager tracking for controlled updates.

Instructions

[CCI] 替换StatefulSet。

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

Input Schema

NameRequiredDescriptionDefault
dryRunNoWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldManagerNofieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it only implies a mutation through the verb 'replace'. It does not explain that this is a full replacement where unspecified fields may be dropped, what permissions are needed, or how existing resources are affected. This is a significant gap for a mutating tool.

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?

The description is a single short sentence with no wasted words, so it is concise. However, it is under-specified rather than informative, and the one sentence does not earn its place by adding any value beyond the tool name.

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 namespaced StatefulSet replacement operation with no annotations and no output schema, the description is far too sparse. It should clarify that this is a full replacement, note required resource identifiers (namespace and name) that are not present in the input schema, and explain the effect on the existing StatefulSet.

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 coverage is 100% for the two query parameters (dryRun and fieldManager), so the schema already documents them thoroughly. The description adds no parameter-specific meaning beyond the schema, which is acceptable given the high coverage, but it does not compensate for the missing path parameters (namespace/name) that are implied by the tool name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '替换StatefulSet' simply restates the tool name in Chinese. It states a verb and resource, but offers no differentiation from sibling operations like patch, create, or delete. An agent cannot tell from the description alone how this differs from patchAppsV1NamespacedStatefulSet or other replace* tools.

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 use this tool versus alternatives, no preconditions, and no exclusions. The description does not mention that it is a full replacement (PUT) rather than a partial update, nor does it explain when to choose this over patch.

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