Skip to main content
Glama

cci__replaceBatchVolcanoShV1alpha1NamespacedJob

Replace a namespaced Volcano Job in Huawei Cloud CCI to update its job specification, tasks, volumes, and scheduling policies through the batch API.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
kindNoKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
specNoSpecification of the desired behavior of a cron job, including the minAvailable
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
statusNoCurrent status of Job
metadataNoStandard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
apiVersionNoAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
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

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the entire burden of behavioral disclosure, and it discloses nothing. It does not state that replace overwrites the whole object and drops unspecified fields, that it typically requires resourceVersion for optimistic concurrency, that it is a mutating and destructive operation, or how the dryRun query parameter behaves. An agent could easily mistake this for a safe partial update.

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 single fragment is short and front-loaded, but brevity here comes from omission rather than efficiency. For a tool with a deeply nested Kubernetes object schema and no annotations, one translated sentence does not earn its place as the entire definition; it wastes the only free-text channel available.

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?

The tool takes a complex nested Volcano Job object with no required fields, no annotations, and no output schema. Against that complexity a five-word restatement leaves the agent without the mutation semantics, failure modes, or naming/namespace requirements it needs to invoke the tool 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% across the seven top-level parameters (kind, spec, status, metadata, apiVersion, dryRun, fieldManager), so the schema already documents each parameter in detail. The description adds no meaning beyond that, which lands at the baseline of 3 rather than lower.

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?

"[CCI] 替换Volcano Job。" restates the tool name in Chinese: the bracketed prefix is a service tag and "替换 Volcano Job" is a translation of replaceBatchVolcanoShV1alpha1NamespacedJob. It does not say what is being replaced in what sense, whether this is a full PUT-style resource replacement versus a partial update, or how it differs from cci__patchBatchVolcanoShV1alpha1NamespacedJob or cci__replaceBatchV1NamespacedJob beyond the resource kind already encoded in the name.

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 rather than the sibling patch, create, or replaceBatchV1 variants. An agent has to infer from the name alone that "replace" means a full-object PUT and that the Volcano CRD group is the intended target; the description provides no preconditions, no prerequisite (for example, that the resource must already exist), and no exclusions.

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