Skip to main content
Glama

cci__patchBatchV1NamespacedJob

Patch and update a Kubernetes Job in a specified CCI namespace, including force apply and dry-run options.

Instructions

[CCI] 更新Job。

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

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.4/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 behavioral burden, yet it discloses nothing about mutation effects, required permissions, patch-type support (JSON/merge/strategic/apply), irreversibility, or what the response contains. It only weakly implies a mutation via "更新".

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 phrase with no waste and is trivially front-loaded, but it is under-specified rather than concise. Size alone is not the issue; there is simply too little content to guide an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a Kubernetes-style patch mutation with three parameters, no annotations, and no output schema, the description provides essentially nothing about behavior, preconditions, or results. An agent would have to infer everything from the tool name and schema.

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 force, dryRun, and fieldManager are already fully documented in the input schema. The description adds no additional meaning, but the baseline of 3 applies when the schema does the heavy lifting.

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 and resource ("更新Job" / update Job), but the tool name says patch and the description says update, so the actual semantics (partial/strategic-merge patch vs full replace) are not stated. It also does nothing to distinguish this from replaceBatchV1NamespacedJob or patchBatchVolcanoShV1alpha1NamespacedJob.

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: no indication of when to patch instead of replace, no prerequisites such as namespace/resource existence, and no mention of the alternative sibling tools. The only signal is the tool name itself.

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