Skip to main content
Glama

vcf_validate

Read-onlyIdempotent

Validate a VCF API operation before execution by testing it against the matching /validations endpoint, returning pass/fail and detailed error messages per failed check.

Instructions

Test a spec against VCF's validation endpoint WITHOUT executing it.

SDDC Manager and the Installer pair most mutating endpoints with a validation twin that takes the same request body and checks it end to end -- POST /v1/clusters/validations for POST /v1/clusters, and so on. This is the safe way to iterate on a spec before committing it.

Give the real path (e.g. "/v1/hosts") or the validation path directly; the twin is resolved automatically, run, and polled to completion. Returns validated true/false plus each failed check with its error.

Targets without the /validations convention (vCenter uses ?action=check operations) get a list of the nearest check-style operations instead.

Args: target: Appliance name from vcf_targets (sddc and installer have the richest validation surface). path: The operation you intend to run, or its /validations path. body: The same JSON body you would give the real operation. wait_seconds: How long to poll for the validation verdict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
pathYes
targetYes
wait_secondsNo
Behavior5/5

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

Even though annotations already flag readOnlyHint, openWorldHint, idempotentHint, and non-destructive, the description adds substantial behavioral context: it does not execute, it polls to completion, it resolves the validation twin automatically, and it returns validated true/false plus each failed check. It also covers the edge case for non-conforming targets, which is not derivable from annotations.

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 description is detailed but every sentence earns its place. It front-loads the most critical fact ('WITHOUT executing it'), then explains the validation-twin pattern, the return format, the edge case, and finally parameter details in a structured list. It is neither bloated nor under-specified.

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

Completeness5/5

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

Despite having no output schema, the description discloses the return shape (validated true/false plus failed checks) and clarifies the polling behavior. It covers the main usage flow, the automatic twin resolution, and the fallback for targets without /validations. For a tool of this complexity, the description is complete.

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

Parameters5/5

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

The input schema has zero description coverage for all four parameters, yet the description's Args section clearly explains each: target (appliance name, with guidance on which have the richest surface), path (the actual operation or its /validations path), body (same JSON body as the real operation), and wait_seconds (poll duration). This fully compensates for the schema gap.

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 opens with a specific verb and resource: 'Test a spec against VCF's validation endpoint WITHOUT executing it.' This immediately distinguishes it from execution-oriented siblings like vcf_call. The explanation of validation twins further clarifies the purpose and the relationship to mutating endpoints.

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

Usage Guidelines5/5

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

It explicitly frames usage as 'the safe way to iterate on a spec before committing it,' signaling when to use it instead of actual execution. It also describes behavior for targets lacking the standard convention (fallback to listing check-style operations), giving practical guidance. The mention that sddc and installer have the richest validation surface adds targeting advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NiranEC77/vcf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server