Skip to content

Resources And Prompts

The server exposes MCP resources for documentation, artifact patterns, and live object lookup. It also provides prompts that guide agents through discovery-first workflows.

Resources

Resource URIPurpose
vcfa://docs/readmeREADME content for tool usage and configuration.
vcfa://docs/artifact-authoringvRO artifact authoring and import/export guide.
vcfa://schemas/workflow-scaffoldStructured contract and validation notes for scaffold-workflow-file.
vcfa://patterns/workflows/basic-scriptable-taskGuidance for linear scriptable-task workflows.
vcfa://patterns/workflows/action-wrapperGuidance for wrapping a verified vRO action in a workflow.
vcfa://patterns/templates/conventionsBlueprint template metadata/content conventions and authoring rules.
vcfa://patterns/templates/small-vmGuidance for minimal small VM blueprint templates.
vcfa://patterns/templates/catalog-readyGuidance for catalog-facing templates and deployment workflow alignment.
vcfa://context/latestManifest for the most recent persisted context snapshot pair, including file paths, counts, warnings count, and snapshot resource URIs.
vcfa://context/snapshots/{fileName}Persisted context snapshot file content for a generated .json or .md snapshot under the effective context directory.
vcfa://workflows/{id}Workflow metadata as JSON.
vcfa://actions/{id}Action metadata and script details as JSON.
vcfa://deployments/{id}Deployment details as JSON.
vcfa://configurations/{id}Configuration element details as JSON.
vcfa://resource-elements/{id}Resource element metadata as JSON.
vcfa://subscriptions/{id}Extensibility subscription details as JSON.
vcfa://packages/{name}vRO package metadata as JSON.
vcfa://patterns/subscriptions/event-drivenDiscovery-first guidance for creating extensibility subscriptions wired to vRO workflows.

Prompts

Use prompts when you want the client assistant to follow one of the server's discovery-first playbooks. Prompts are most useful at the start of a task, before tool calls or artifact edits, because they tell the assistant which read-only discovery calls, resources, preflight checks, confirmation points, and verification steps belong in the workflow.

Use vcfa-discover-capabilities for exploratory conversational discovery. Use vcfa-collect-context-snapshot when that discovery should be persisted as reusable Markdown and JSON inventory for future agents.

vcfa-author-workflow

Guide workflow authoring, scaffolding, preflight, and import. This prompt plans, scaffolds, preflights, and safely imports a vRO workflow artifact.

Parameters
ParameterTypeRequiredDefaultDescription
goalstringYes-Workflow goal or requirements.
categoryHintstringNo-Optional workflow category name or path hint.

vcfa-review-artifact-import

Review a local workflow, action, configuration, or package artifact before import.

Parameters
ParameterTypeRequiredDefaultDescription
artifactKindenumYes-Artifact kind to review: workflow, action, configuration, or package.
fileNamestringYes-Local artifact file name to review.

vcfa-troubleshoot-deployment

Inspect a deployment and guide safe troubleshooting or remediation.

Parameters
ParameterTypeRequiredDefaultDescription
deploymentIdstringYes-Deployment ID to troubleshoot.
goalHintstringNo-Optional troubleshooting focus or symptom description.

vcfa-troubleshoot-workflow-execution

Diagnose a failed or problematic workflow execution using logs, stack, and workflow source.

Parameters
ParameterTypeRequiredDefaultDescription
workflowHintstringYes-Workflow ID, name, or search hint.
executionIdstringNo-Optional execution ID to inspect directly.

vcfa-discover-capabilities

Discover reusable plugins, categories, actions, workflows, catalog items, and templates. Use this for exploratory conversational discovery before creating or importing anything.

Parameters
ParameterTypeRequiredDefaultDescription
goalstringNogeneral discoveryOptional automation or troubleshooting goal to focus the discovery.

vcfa-collect-context-snapshot

Persist reusable Markdown and JSON VCFA/vRO context for future agents.

When the MCP client exposes workspace roots and VCFA_CONTEXT_DIR is not set, generated files are saved under the current workspace's artifacts/context/ directory. The vcfaBuiltIns profile focuses on Library workflows and VMware built-in actions; action details are resolved from the opaque action IDs returned by vRO so list-level module path quirks do not cause false 404 warnings.

Parameters
ParameterTypeRequiredDefaultDescription
goalstringNoreusable VCFA/vRO contextOptional project or implementation goal for the snapshot.
includeOptionalDomainsbooleanNofalseWhether to include templates, catalog items, event topics, subscriptions, packages, and plugins in addition to the core context domains.
profileenumNodefaultUse vcfaBuiltIns when the snapshot should focus on workflows in subfolders below Library and actions in com.vmware modules.

vcfa-build-workflow-from-action

Discover an existing action and scaffold a workflow wrapper around its verified contract.

Parameters
ParameterTypeRequiredDefaultDescription
actionHintstringYes-Action name, module, ID, or fully qualified name hint.
workflowGoalstringYes-Desired workflow name or public behavior.
categoryHintstringNo-Optional workflow category name or path hint.

vcfa-refactor-workflow

Inspect, export, preflight, and safely plan workflow refactors.

Parameters
ParameterTypeRequiredDefaultDescription
workflowHintstringYes-Workflow ID, name, or search hint for the workflow to refactor.
refactorGoalstringYes-Desired refactor outcome.

vcfa-create-template

Discover existing Cloud Assembly templates and draft a new blueprint template safely.

Parameters
ParameterTypeRequiredDefaultDescription
templateGoalstringYes-Template purpose or desired workload.
projectHintstringNo-Optional project name or ID hint.

vcfa-review-template

Inspect an existing blueprint template for correctness, reuse, and catalog readiness.

Parameters
ParameterTypeRequiredDefaultDescription
templateIdstringYes-Template ID to review.
reviewGoalstringNo-Optional review focus, such as catalog readiness or small VM shape.

vcfa-integrate-workflow-template-subscription

Plan integration between workflows, templates, catalog items, deployments, and extensibility subscriptions.

Parameters
ParameterTypeRequiredDefaultDescription
integrationGoalstringYes-Integration goal or lifecycle event.
workflowHintstringNo-Optional workflow name, ID, or search hint.
templateHintstringNo-Optional template name or ID hint.

vcfa-discovery-first-implementation-plan

Produce a concrete implementation plan that starts with verified read-only VCFA/vRO discovery.

Parameters
ParameterTypeRequiredDefaultDescription
goalstringYes-Implementation goal.
artifactKindsstringNo-Optional artifact focus, such as workflows, actions, templates, or subscriptions.

Prompt Examples

Initial environment discovery:

text
Use prompt vcfa-discover-capabilities with:
goal: "Map reusable VM provisioning workflows, actions, templates, catalog items, and subscriptions."

Persist reusable context:

text
Use prompt vcfa-collect-context-snapshot with:
goal: "Persist reusable VM provisioning context before implementation work."
includeOptionalDomains: true

Persist VMware baseline Library/com.vmware context:

text
Use prompt vcfa-collect-context-snapshot with:
goal: "Persist VMware built-in workflow and action baseline context."
profile: vcfaBuiltIns

For large environments where the default 100-item-per-domain limit causes skipped items, call the tool directly with a higher limit:

text
Use collect-context-snapshot with:
fileBaseName: vcfa-context-full
includeOptionalDomains: true
maxItemsPerDomain: 600
overwrite: true

Discovery-first implementation planning:

text
Use prompt vcfa-discovery-first-implementation-plan with:
goal: "Create a workflow that lists VMs by project name."
artifactKinds: "workflows and actions"

Author a new workflow:

text
Use prompt vcfa-author-workflow with:
goal: "Build a workflow that accepts a project name and returns matching VM names."
categoryHint: "VCFA"

Wrap an existing action:

text
Use prompt vcfa-build-workflow-from-action with:
actionHint: "getAllMachines"
workflowGoal: "Expose machine inventory lookup as a workflow."
categoryHint: "VCFA"

Review before import:

text
Use prompt vcfa-review-artifact-import with:
artifactKind: "workflow"
fileName: "list-vms-by-project.workflow"

Template work:

text
Use prompt vcfa-create-template with:
templateGoal: "Small Ubuntu VM blueprint aligned with existing catalog conventions."
projectHint: "Development"

Subscription or integration planning:

text
Use prompt vcfa-integrate-workflow-template-subscription with:
integrationGoal: "Run a tagging workflow after deployment creation."
workflowHint: "Tag VM"
templateHint: "Ubuntu"

Troubleshoot a failed workflow execution:

text
Use prompt vcfa-troubleshoot-workflow-execution with:
workflowHint: "Provision VM"
executionId: "abc12345-def6-7890-abcd-ef1234567890"

Discovery Guardrail

Workflow and template implementation prompts tell agents to stop when required environment details are missing. Agents should report missing workflows, actions, categories, projects, parameters, return types, IDs, or blueprint schema details instead of inventing plausible values. When action discovery is required, list-actions must produce an exact candidate and get-action must verify the contract; no match, partial data, or ambiguous action data means the agent should stop and ask for the missing details instead of inventing parameter names or return types.