Skip to main content
Glama

cci__deleteCoreV1NamespacedSecret

Deletes a Kubernetes Secret from a specified CCI namespace, supporting dry-run validation, grace-period, and propagation-policy options for dependent resources.

Instructions

[CCI] 删除Secret。

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

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
orphanDependentsNoDeprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
propagationPolicyNoWhether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
gracePeriodSecondsNoThe duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

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 full behavioral burden, yet it says nothing about the fact that Secret deletion is irreversible, whether it blocks if the Secret is mounted/in use, or how cascade/dry-run behavior interacts with the query parameters. The only information conveyed — that this deletes — is already fully present in the tool name. For a destructive mutation with zero annotation coverage this is a severe gap.

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 text is short but vacuous — a single bracketed tag plus a restatement of the name. This is under-specification rather than effective conciseness, since nothing front-loaded here helps the agent decide or invoke correctly.

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?

For a destructive, four-parameter deletion tool with no annotations and no output schema, the description should at minimum state irreversibility, required object identity, and how the garbage-collection/dry-run parameters affect the outcome. It provides none of this, and the schema's omission of name/namespace parameters makes the identification gap even more consequential.

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%: all four query parameters (dryRun, orphanDependents, propagationPolicy, gracePeriodSeconds) are documented in detail within the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies. Notably it does not clarify that the schema lists no name/namespace properties, leaving object identification unexplained.

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] 删除Secret。" only restates the verb and resource already encoded in the tool name (deleteCoreV1NamespacedSecret). It conveys no scope, no namespace identity requirement, and gives no basis for distinguishing this from the sibling cci__deleteCoreV1CollectionNamespacedSecret (single object vs. collection). This is a tautology of the name rather than an independent statement of purpose.

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, no prerequisite (e.g. namespace/name must be supplied via path), and no mention of the collection-delete alternative. The agent must infer entirely from the name that this removes one Secret object rather than many.

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