Skip to main content
Glama

cci__patchAppsV1NamespacedDeploymentScale

Partially update the scale of a specified deployment in Huawei Cloud CCI to adjust replica counts without replacing the full resource.

Instructions

[CCI] This API is used to partially update 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__patchAppsV1NamespacedDeploymentScale"
  }
}

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/5.0
Behavior2/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, yet it discloses almost nothing. It does not say whether partial patches merge or replace the scale value, what happens to untouched fields, whether permissions/RBAC are needed, or that a path param for namespace/name is implied but absent from the schema.

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, so it is not bloated, but 'partially update scale of the specified Scale' wastes words on redundancy instead of front-loading useful detail. The brevity comes at the cost of information rather than being tight and informative.

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 no annotations and no output schema, the description is far too thin: it omits what field is being scaled, expected patch semantics, and the target identification. An agent cannot safely invoke this correctly based on the description alone.

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 force, dryRun, and fieldManager are each well documented in the schema. The description adds no meaning beyond that, so baseline 3 applies; notably it also fails to explain where the target Deployment and namespace come from given only query parameters are defined.

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 names a verb (partially update) and a resource (Scale), so the general intent is discernible. However, 'partially update scale of the specified Scale' is circular phrasing that never explains what 'scale' means (e.g., spec.replicas) and does not distinguish this patch operation from the sibling read/replace Scale tools.

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 choose patch over replaceAppsV1NamespacedDeploymentScale or readAppsV1NamespacedDeploymentScale, and no prerequisites or context are stated. The agent must infer usage purely from the tool name.

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