Skip to main content
Glama

cci__patchAppsV1NamespacedStatefulSet

Patch a namespaced StatefulSet in CCI to update its configuration, with optional force, dry-run, and field-manager controls for conflict handling and validation.

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

Input Schema

NameRequiredDescriptionDefault
forceNoForce is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.
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. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not the patch strategy (merge/strategic/apply), not that it mutates a live workload, not the conflict semantics of the force flag, not the effect of dryRun, and not permission requirements. For a mutation tool on a stateful workload this is effectively silent.

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 definition is a single short sentence with no wasted words, but it is under-specified rather than concise. Brevity here reflects missing content, not efficient communication.

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?

Given a mutation tool with no annotations, no output schema, and patch semantics that are inherently ambiguous, the description should at minimum clarify the patch type and the mutation/conflict behavior. The schema fully covers the three query parameters but says nothing about the request body, leaving the agent without enough to invoke this confidently.

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 three parameters (force, dryRun, fieldManager) are documented in detail in the schema itself. The description adds no additional meaning, which is acceptable given the schema does the heavy lifting, but nothing compensates for the absence of patch-body semantics.

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

Purpose3/5

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

"[CCI] 更新StatefulSet。" states a verb (update) and a resource (StatefulSet), so the basic operation is identifiable. However, the "[CCI]" prefix is opaque, and nothing distinguishes this patch operation from the sibling cci__replaceAppsV1NamespacedStatefulSet or the create/delete variants on the same resource.

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 patch versus replace, create, or delete, and no mention of prerequisites such as the resource needing to already exist. The agent must infer the appropriate tool purely from the name.

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