Skip to main content
Glama

cci__replaceAppsV1NamespacedDeploymentScale

Replace the scale of a specified deployment in a namespace to update replica counts, with optional dry-run validation before persisting changes.

Instructions

[CCI] This API is used to replace scale of the specified Scale.

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

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.1/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 behavioral burden, and it discloses essentially nothing. It does not say that this is a mutating write, that the supplied scale fully overwrites the existing replica count, whether it requires a body/payload, what permissions are needed, or how dryRun persistence works beyond what the schema already states.

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?

One short sentence with no filler, so it is not bloated. However, its brevity comes from under-specification rather than efficiency: the single clause conveys almost no information the tool name did not already convey.

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?

This is a mutating Kubernetes subresource-replace operation with no annotations, no output schema, and path/body parameters absent from the schema entirely. Given that complexity, the description should explain the required resource identity, the body semantics, and the replace-vs-patch contract; it covers none of these.

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 query parameters (dryRun, fieldManager) are fully documented in the schema, so the baseline is 3. The description adds no parameter meaning of its own, but nothing is lost either.

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?

"This API is used to replace scale of the specified Scale" largely restates the tool name back to the reader, and its key noun ("Scale") is circular. It does hint that the target is the scale subresource rather than the Deployment itself, but it never names the actual resource (a Deployment scale) or the namespace/name the operation applies to.

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?

No guidance on when to use this instead of the obvious sibling alternatives: cci__patchAppsV1NamespacedDeploymentScale (partial update) or cci__readAppsV1NamespacedDeploymentScale (read). The replace-vs-patch distinction is exactly the decision an agent must make here, and it is left entirely to inference.

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