Skip to main content
Glama
vcf-lifecycle

vcf-lifecycle

by warroyo

Avi Wait

avi_wait

Polls an Avi precheck or upgrade until it finishes and returns SUCCEEDED, WARNING, FAILED, or UNKNOWN while tolerating controller restarts and ignoring stale results before the since timestamp.

Instructions

Poll an Avi precheck or upgrade until it ends; return SUCCEEDED, WARNING, FAILED or UNKNOWN. Use the arguments avi_precheck or avi_upgrade returned.

Controller restarts are tolerated for about an hour. Results older than since are ignored. An upgrade succeeds only when everything in scope reports the image's 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": {
      "operation": "<operation>",
      "image_name": "<image_name>",
      "since": "<since>"
    },
    "name": "avi_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNosystem
sinceYes
operationYes
image_nameYes
se_group_uuidsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real behavior: controller restarts are tolerated for about an hour, results older than `since` are ignored, and upgrade success requires every in-scope component to report the image version. It still omits polling cadence, whether the call blocks or returns immediately, and what to do on FAILED or UNKNOWN.

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?

Three short, front-loaded sentences: purpose and return states first, then the argument-provenance hint, then behavioral caveats. Dense but every sentence carries information; only the terminal status list duplicates the output schema.

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

Completeness4/5

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

For a 5-parameter polling tool with no annotations and an existing output schema, the description covers the essential behavior and success semantics, and return values need not be spelled out. Missing only polling/timeout guidance and the role of se_group_uuids.

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 0%, so the description must compensate; it explains `since` (older results ignored) and hints at `scope`/`image_name` via the success criterion, but leaves `se_group_uuids` and the precise meaning of each scope enum value undocumented.

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?

States a specific verb ('poll'), names the exact resources it watches (Avi precheck or upgrade), and distinguishes itself from the sibling tools that launch those operations by saying to use the arguments they returned.

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

Usage Guidelines4/5

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

Explicitly routes the agent here after avi_precheck or avi_upgrade by telling it to pass the arguments those tools returned, which is the key when-to-use signal. It stops short of stating when not to call it (e.g., before an operation has been started) or how often to poll.

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