Skip to main content
Glama

cci__patchCoreV1NamespacedPod

Patches a Kubernetes Pod in a Huawei Cloud CCI namespace, enabling controlled updates with dry-run, force, and field manager options.

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

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

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not mention that this is a partial mutation, that it can destructively overwrite fields, what patch content types are supported (JSON Patch, Merge Patch, Strategic Merge, Apply), or that the force/fieldManager semantics apply. For an unannotated mutation tool this is a critical gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single terse clause with no waste but also no information; it is under-specified rather than concise. There is no front-loaded explanation of what patching does or returns, leaving the agent with nothing actionable.

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 zero annotations and no output schema, the description should describe mutation semantics, patch-type expectations, and preconditions. None of that is present, so the definition is incomplete relative to the tool's complexity, even though the parameter schema is fully documented.

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%: force, dryRun, and fieldManager are each documented in the input schema with their constraints and semantics. The description adds no parameter meaning beyond that but does not need to, so the baseline of 3 applies.

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 "[CCI] 更新Pod。" ("Update Pod") essentially restates the tool name patchCoreV1NamespacedPod without adding specificity. It does not state that this is a PATCH operation, nor distinguish it from the sibling replaceCoreV1NamespacedPod, which performs a materially different write. An agent reading this cannot tell patch semantics from replace semantics.

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 or when-not-to-use guidance at all. Nothing indicates when patching is preferable to replaceCoreV1NamespacedPod or createCoreV1NamespacedPod, which are direct alternatives in the sibling set. Only the word "更新" hints at an update scenario.

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