Skip to main content
Glama

cci__replaceRbacAuthorizationV1NamespacedRoleBinding

Replaces a specified RBAC RoleBinding in a CCI namespace, with optional dry-run and field manager controls for validating or applying the change.

Instructions

[CCI] This API is used to replace the specified RoleBinding

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

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.8/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 does not meet it. It omits that this is a destructive full-object replacement that discards fields not present in the submitted body, that resourceVersion/concurrency semantics apply, and that dryRun support exists. For a mutation tool with zero annotation coverage this is a substantial gap.

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?

A single short sentence with no filler and front-loaded purpose, but for a write operation it is under-specified rather than efficient. Nothing is wasted, but nothing beyond the bare minimum is delivered.

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?

No annotations and no output schema mean the description must cover behavior, and it does not. Most critically, the input schema exposes only dryRun and fieldManager with no body/payload field, and the description never clarifies how the replacement RoleBinding is supplied, leaving an agent unable to call this correctly from the definition 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%, so the schema already documents dryRun and fieldManager in detail; the baseline of 3 applies. The description adds nothing about these parameters and notably does not mention that the replacement RoleBinding body is supplied in the request.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (replace) and resource (RoleBinding) scoped to a namespace, so the agent knows this overwrites an existing RBAC binding rather than creating one. It gives no differentiation from the sibling patchRbacAuthorizationV1NamespacedRoleBinding, leaving the replace-vs-patch distinction to the agent's Kubernetes knowledge.

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?

The description offers no when-to-use guidance, no prerequisites (the target RoleBinding must already exist), and never names patchRbacAuthorizationV1NamespacedRoleBinding or createRbacAuthorizationV1NamespacedRoleBinding as alternatives. An agent must infer the usage context entirely 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