Skip to main content
Glama

cci__replaceCoreV1NamespacedConfigMap

Replace an existing Kubernetes ConfigMap in a specified CCI namespace to update configuration data, with optional dry-run validation and field manager tracking.

Instructions

[CCI] 替换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__replaceCoreV1NamespacedConfigMap"
  }
}

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.5/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 disclosure burden and delivers almost nothing: it never states that replacement overwrites the whole object (fields omitted from the body are removed), that a namespace and object name are required, or what permissions are needed. Only the bare fact that this is a mutation ('替换') is conveyed.

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 padding, so nothing is wasted, but it is under-specified rather than genuinely concise. The bracket prefix '[CCI]' adds no actionable information.

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 destructive-style replacement operation with zero annotations and no output schema, the definition leaves out everything an agent would need: replacement semantics, required identifiers, and error behavior. The complete schema coverage on the two query parameters does not offset that gap.

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 about them. Baseline 3 applies, though it is worth noting the description does not compensate for the schema's missing path parameters (name/namespace), which the tool surely needs.

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?

The description gives a verb plus a resource ('替换ConfigMap' – replace ConfigMap), but it is essentially a translation of the tool name and drops the namespace/version scoping the name encodes. It does not distinguish replace from the sibling patchCoreV1NamespacedConfigMap or createCoreV1NamespacedConfigMap, so an agent still cannot tell which mutating operation to pick.

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?

It contains no when-to-use guidance at all: no statement that this is a full PUT-style replacement versus a partial patch, and no mention of alternatives. The only signal is the word 'replace', which is already in 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