Skip to main content
Glama
vcf-lifecycle

vcf-lifecycle

by warroyo

Avi Precheck

avi_precheck

Runs upgrade pre-checks for an uploaded Avi image before the associated upgrade, validating the target VCF release and selected scope or service engine groups.

Instructions

Run the Avi upgrade pre-checks for an uploaded image after the user approves. target_version is the VCF release. scope and se_group_uuids are those of the avi_upgrade that follows.

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": {
      "image_uuid": "<image_uuid>",
      "target_version": "<target_version>"
    },
    "name": "avi_precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNosystem
image_uuidYes
se_group_uuidsNo
target_versionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it discloses the approval gate and the coupling to the subsequent avi_upgrade, which is real added value. It does not say whether the precheck is read-only or state-changing, whether it is long-running/blocking, or what happens if checks fail, so significant gaps remain for an unannotated tool.

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?

Three short sentences, front-loaded with the action and the precondition, with no redundant restatement of the tool name or schema. Every clause adds information an agent would otherwise lack.

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?

An output schema exists, so return values need not be explained, and the description covers the action, precondition, and parameter linkage to the next step. Missing are failure semantics and whether the call blocks, which would matter for an unannotated precheck tool.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does for three of four parameters: target_version is the VCF release, and scope and se_group_uuids are explicitly tied to the avi_upgrade that follows. Only image_uuid is left to its self-evident name.

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?

States a specific verb and resource: running Avi upgrade pre-checks for an already-uploaded image. It also names the downstream sibling (avi_upgrade) whose scope and se_group_uuids it inherits, which helps an agent place it in the workflow, though it never contrasts itself with fleet_precheck or sddc_precheck.

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?

Gives an implied sequencing rule (run after the user approves, using the same scope/se_group_uuids as the following avi_upgrade), which is genuinely useful context. However, it never states when not to use it, nor how it relates to the other precheck siblings, leaving the agent to infer the choice.

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