Skip to main content
Glama

cci__replaceCoreV1NamespacedSecret

Replace a Kubernetes Secret in a specified CCI namespace, with optional dry-run validation or field manager attribution.

Instructions

[CCI] 替换Secret。

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

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?

No annotations are supplied, so the description carries the full burden and it delivers almost nothing. "Replace" weakly implies a full-object overwrite (fields omitted from the payload may be dropped), but the description never confirms this, never mentions that the operation is destructive to existing Secret data, never notes permission requirements, and never describes the response.

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 single short phrase contains no filler, so nothing is wasted, but it is under-specified rather than concise — there is no front-loaded information beyond the verb and resource. Brevity here reflects missing content, not efficient editing.

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?

This is a destructive Kubernetes replace operation with no annotations, no output schema, and unspecified path parameters, so the description would need to explain replace semantics, idempotency, and required identifiers. Instead it supplies a four-character translation of the tool name, which is inadequate for the complexity involved.

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%, so dryRun and fieldManager are already fully documented in the schema and the description adds nothing on top. Notably the namespace and name path parameters are absent from the schema, and the description does not compensate by explaining how the target Secret is identified — but per the coverage baseline a 3 is the correct floor.

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?

"替换Secret" is a near-literal restatement of the tool name (replace + Secret) and adds no scope, no object fields, and no distinction from sibling write tools such as createCoreV1NamespacedSecret or patchCoreV1NamespacedSecret. The agent learns only that a Secret is involved and that some mutation occurs.

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 guidance at all — nothing says when a full replace is preferred over patch, create, or delete, and nothing states prerequisites such as the object already existing or a resourceVersion being required. Usage must be inferred entirely from the tool 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