Skip to main content
Glama

cci__replaceCoreV1NamespacedPod

Replace a specified Pod in a Kubernetes namespace on Huawei Cloud CCI, with dry-run validation and field manager tracking for controlled updates.

Instructions

[CCI] 替换指定Pod。

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

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
Behavior1/5

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

With no annotations, the description must carry the behavioral load, but it discloses nothing about consequences beyond the bare word "replace": it does not say that unspecified fields are dropped in a full replacement, whether the operation requires write permission or triggers pod recreation, or whether it is idempotent. For a destructive mutation this leaves the agent unable to predict the effect.

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?

A single short sentence front-loads the verb and resource with zero padding, so nothing is wasteful. But its brevity reflects under-specification rather than disciplined editing: the tag prefix consumes part of a very short text.

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 mutation tool with no annotations, no output schema, and an input schema that appears to omit the primary replacement payload, the description is far too thin. A caller would not know what must be supplied to perform the replacement or what failure/permission conditions to expect.

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% (dryRun and fieldManager are fully documented in the schema), so the description's silence on those two query parameters is acceptable under the baseline-3 rule. It adds no meaning of its own, and notably does not address the fact that the schema exposes no pod body parameter at all.

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?

"替换指定Pod" names a verb (replace) and a resource (Pod), so the basic action is identifiable. However, it is vague about what is being replaced and with what: no mention of namespace, the pod body, or how "replace" differs from the sibling patchCoreV1NamespacedPod (full overwrite vs. partial merge).

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 patchCoreV1NamespacedPod, createCoreV1NamespacedPod, or the other replace* siblings. No prerequisites (e.g., the Pod must already exist, a full spec must be supplied) and no exclusions are stated.

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