Skip to main content
Glama
mmpyro

vcluster-mcp

by mmpyro

namespace_metadata_set

Set or delete a label or annotation on a Kubernetes namespace, allowing updates to metadata without failures even for missing keys.

Instructions

Set or delete one label or annotation on a namespace.

Deleting a key that does not exist succeeds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
kindYes
valueNoThe value to set. Omit or pass null to delete the key instead.
namespaceYes
kubeconfig_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations present, the description must carry behavioral disclosure on its own. It does add one meaningful behavior — deleting a nonexistent key succeeds — but it does not cover other likely behavioral concerns such as permissions, whether setting an existing key overwrites it, or failure behavior for a nonexistent namespace.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is two short sentences with no filler. The primary operation is front-loaded and the deletion edge case is a useful, non-redundant addition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple metadata mutation tool, the description plus schema is largely sufficient: the required parameters are identifiable and the unusual idempotent-delete behavior is stated. Still, no annotations and no output schema mean the definition leaves room for additional context about prerequisites and failures.

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 low (20%), and the description partially compensates by clarifying that 'kind' selects labels vs annotations and that 'key' is the metadata key being deleted. It does not explain namespace or kubeconfig_path, although those are fairly self-explanatory from their names and types, and the value-null semantics are already in the schema.

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

Purpose5/5

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

The description uses a specific verb combination ('Set or delete') with a precise resource ('one label or annotation on a namespace'), which clearly conveys the mutation operation and distinguishes it from the sibling namespace_metadata_get tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The operation is stated clearly, so an agent can infer that this tool is for modifying namespace metadata rather than reading it. However, the description does not explicitly mention when to use it over namespace_metadata_get or provide any exclusion/alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.