Skip to main content
Glama

vcf_call

Destructive

Execute authenticated VMware Cloud Foundation API operations, from safe reads to estate-changing writes, with query parameters, JSON bodies, and async task tracking.

Instructions

Call a VCF API operation. Authentication is handled for you.

This performs real operations against real infrastructure. Reads are safe; POST/PATCH/PUT/DELETE change the estate, and some are irreversible (decommissioning a host, deleting a workload domain). Every mutating call is recorded to the audit log. Check vcf_describe_api first when writing.

Long-running operations return HTTP 202 and a task id -- follow it with vcf_task rather than assuming success.

Args: target: Appliance name from vcf_targets. method: GET, POST, PATCH, PUT or DELETE. path: Full request path including any base prefix, exactly as vcf_search_api reports it (e.g. "/v1/hosts", "/policy/api/v1/infra/segments/web-seg"). Substitute real ids for {placeholders}. query: Query parameters as an object. body: JSON request body. timeout: Seconds to wait (VCF operations can be slow; default 300). max_response_chars: Shrink oversized responses to fit (default 20000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
pathYes
queryNo
methodYes
targetYes
timeoutNo
max_response_charsNo
Behavior5/5

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

It goes far beyond annotations by noting authentication is handled, mutating operations change the estate and some are irreversible, every mutation is audit-logged, and long-running calls return HTTP 202 + task id. This is exactly the type of behavioral context raw API callers need.

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 structured as a summary line, safety/async warnings, then a concise Args list. Each sentence adds unique value, and the high-risk nature of the tool justifies the length.

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?

The description covers dangerous side effects, auth, async task handling, path construction, and response-size truncation. However, it does not describe the general response envelope (status/body) or error behavior beyond 202, leaving some ambiguity for a raw API caller without an output schema.

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?

With 0% schema coverage, the description fully compensates by explaining the role of each of the 7 parameters, including exact path format with examples, query/body types, timeout default, and max_response_chars. Every parameter is given operational meaning.

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 'Call a VCF API operation,' a specific verb+resource statement, and distinguishes itself from siblings by explaining how target/path come from vcf_targets/vcf_search_api and how vcf_task handles long-running results. It is unambiguous that this is the raw arbitrary API execution tool.

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 instructs to check vcf_describe_api first when writing, and to follow HTTP 202 responses with vcf_task rather than assuming success. It also situates the tool among siblings by sourcing target from vcf_targets and path from vcf_search_api, giving clear when/how guidance.

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