Skip to main content
Glama

Wait for resource version

k8s_wait_for_resource_version

Waits for a Kubernetes resource to reach a specified version, enabling workflows to synchronize with version changes before proceeding.

Instructions

Wait for resource to reach a specific version.

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>",
      "namespace": "<namespace>",
      "target_version": "<target_version>"
    },
    "name": "k8s_wait_for_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.
timeoutNo
namespaceYes
resource_typeYes
target_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.7/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is partly covered, but the description adds nothing beyond that. It never says the call blocks/polls, that the timeout parameter (default 60) bounds the wait, or what happens when the version is never reached. No contradiction with annotations, but very thin disclosure.

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

Conciseness4/5

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

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient rather than padded, though the same brevity leaves the substantive gaps noted elsewhere.

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 6-parameter, 4-required blocking operation with no output schema and near-zero schema coverage, the description should explain timeout semantics and the success/failure outcome. It supplies none of this, leaving an agent unable to predict behavior on timeout or on an unreachable version.

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

Parameters2/5

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

Schema description coverage is only 17% — only 'context' is documented. The description gives no meaning for resource_type, name, namespace, target_version format, or timeout units/behavior, so the four required parameters remain undocumented in both places.

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?

The description names a specific verb ('Wait') plus the resource and the condition (reaching a specific version), which is far more than a tautology. It does not, however, distinguish this tool from close siblings such as k8s_track_resource_version or k8s_watch_resource, so an agent must infer the difference.

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 this blocking wait over the track/watch siblings, nor any prerequisite or exclusion. The only usage-relevant fact an agent gets is implied by the verb 'Wait' itself.

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