Skip to main content
Glama

Track resource version

k8s_track_resource_version

Track a Kubernetes resource's version by resource type and name to detect changes and verify current state across contexts or namespaces.

Instructions

Track resource version for a resource.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource_type": "<resource_type>",
      "name": "<name>"
    },
    "name": "k8s_track_resource_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
namespaceNo
resource_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, but the description adds no behavioral context beyond them: it does not say whether tracking blocks or polls, how long it runs, whether it mutates cluster state, or what happens on timeout. The word "track" also sits in mild tension with readOnlyHint=false, since tracking sounds observational; the description does nothing to resolve that.

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?

The single sentence is front-loaded and free of padding, so there is no wasted wording. However, the brevity here reflects under-specification rather than discipline, since the sentence carries almost no information an agent could act on.

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 4-parameter tool with 25% schema coverage, no output schema, and annotations that only cover the safety profile, the description should explain the tracking semantics and the return/observation behavior. It provides none of that, leaving an agent unable to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% — only the context parameter is documented in the schema, while resource_type, name, and namespace are bare. The description names none of them and gives no format guidance (e.g., kind vs. plural, namespaced vs. cluster-scoped), so it fails to compensate for the coverage gap.

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?

The description reads as a near-restatement of the title: "Track resource version for a resource" adds only the phrase "for a resource" beyond the name/title. An agent cannot tell from this how tracking differs from k8s_watch_resource, k8s_wait_for_resource_version, or k8s_get_resource, all of which live in the same catalog.

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 when-to-use guidance is given, and no alternative is named or excluded. The nearest siblings (k8s_wait_for_resource_version, k8s_watch_resource) imply a meaningfully different behavior, but the description never states the selection condition between them.

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