Skip to main content
Glama

vs_toggle

Destructive

Enable or disable a Virtual Service to manage traffic. Use confirmation for disabling to avoid unintended downtime; enabling always applies.

Instructions

[WRITE] Enable or disable a Virtual Service. Disabling stops all traffic to it.

Returns a one-line result. Use vs_status first to check current state.

SAFETY: disabling requires confirmed=True; without it you get a preview only. Enabling is always safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact Virtual Service name.
enableYestrue to enable, false to disable.
confirmedNoGates the disable only. With enable=false, the default false returns a preview naming the VS that would stop serving traffic and changes nothing; true performs the disable. Ignored when enable=true — enabling always executes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv1.8.14
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / confirmed / description
      Added value: +"Gates the disable only. With enable=false, the default false returns a preview naming the VS that would stop serving traffic and changes nothing; true performs the disable. Ignored when enable=true — enabling always executes."
    • addedInput schema / properties / enable / description
      Added value: +"true to enable, false to disable."
    • addedInput schema / properties / name / description
      Added value: +"Exact Virtual Service name."
  2. Addedv1.5.29
  3. Removedv1.5.28
  4. First observedv1.5.22

TDQS

A4.5/5.0
Behavior5/5

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

The description adds safety-critical behavior beyond the destructiveHint annotation: disabling stops all traffic, an unconfirmed disable is preview-only and changes nothing, confirmed=True is required to actually disable, and enabling always executes. It also discloses the one-line result format.

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 compact and front-loaded: purpose, then result, then prerequisite, then safety. Every sentence contributes essential selection or invocation guidance without filler.

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?

For a destructive, non-idempotent tool, the description covers purpose, effect, prerequisite check, result shape, and the critical confirmation gate. Combined with the fully-documented schema and output schema, an agent has enough to invoke it correctly and safely.

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?

The input schema already provides 100% coverage for all three parameters, including the confirmed flag semantics. The description reinforces that confirmed gates only disable and is ignored for enable, but does not add substantial new meaning beyond the schema.

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 states the specific action ('Enable or disable a Virtual Service') and the concrete effect ('Disabling stops all traffic to it'). This clearly distinguishes vs_toggle from read-only siblings like vs_status and vs_list.

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?

It explicitly directs the agent to use vs_status first to check current state, and it explains the preview-vs-execute behavior for disabling based on the confirmed flag. It does not explicitly enumerate when-not-to-use conditions, but the context is clear enough for correct selection.

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

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/vmware-skills/VMware-AVI'

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