Skip to main content
Glama

cci__replaceBatchV1NamespacedJob

Replaces an existing Kubernetes Job in a specified CCI namespace with updated configuration, supporting dry-run validation and field ownership tracking.

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

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.2/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 and fails: "replace" weakly implies a full-object overwrite (as opposed to a partial patch), but nothing states that entire spec is discarded if omitted, whether the operation requires auth/namespace context, or what the response looks like. Only the bare mutation type 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 it is not verbose. However, its brevity comes from omission rather than from front-loaded precision, so it earns a middling score rather than a high one.

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?

This is a complex Kubernetes mutation tool with no annotations, no output schema, and no name/namespace parameters surfaced in the schema, so the description must compensate for a lot. It says nothing about the required object body, target namespace, or overwrite semantics, leaving an agent unable to invoke it correctly.

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%, and both parameters (dryRun, fieldManager) are fully documented in the schema, so the baseline of 3 applies. The description adds nothing about them, but it is not required to when the schema already explains them.

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?

"替换Job" is a restatement of the tool name (replaceBatchV1NamespacedJob) in Chinese; the only added token is the uninformative "[CCI]" prefix. It names a verb and a resource, but gives no scope, no distinction from patchBatchV1NamespacedJob or replaceBatchVolcanoShV1alpha1NamespacedJob, and no indication of what "replace" means here.

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 to replace versus patch, what prerequisites (a full Job spec, namespace context) are needed, or what happens on conflict. The sibling set contains patchBatchV1NamespacedJob and readBatchV1NamespacedJob, yet no routing is offered.

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