Skip to main content
Glama

Update VPS Firewall Options

update_vserver_firewall_options
DestructiveIdempotent

Turn the VPS firewall on or off and set the default in/out policies. A DROP policy without allow rules locks out SSH. Requires confirm=true. Requires an active ZapX Pass (see server instructions).

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": {
      "serviceId": "<serviceId>",
      "enable": "<enable>",
      "policyIn": "<policyIn>",
      "policyOut": "<policyOut>"
    },
    "name": "update_vserver_firewall_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
enableYesFirewall on (true) or off (false).
confirmNo
policyInYesDefault policy for incoming traffic no rule matches.
policyOutYesDefault policy for outgoing traffic no rule matches.
serviceIdYesID of the VPS: the "id" field from list_account_services or list_vservers (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the SSH lockout risk, the confirm=true requirement, and the ZapX Pass prerequisite, none of which appear in the structured fields. It stops short of explaining what happens to existing rules when the firewall is toggled off or how policy changes take effect.

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, then the risk warning, then the prerequisites — every sentence carries operational weight with no filler.

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?

Destructive mutation with no output schema; the description covers the danger profile, confirmation requirement, and authorization prerequisite, which is nearly everything an agent needs. Only the post-change state and effect on existing rules are left unstated.

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 80% and two params carry enums, so baseline is 3; the description adds real value by explaining the undocumented confirm parameter and framing the DROP-policy consequence of policyIn/policyOut choices rather than just listing them.

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?

States a specific verb and resource ('Turn the VPS firewall on or off and set the default in/out policies'), which is clearly the options-level toggle rather than rule or ipset mutation, separating it from get_vserver_firewall and mutate_vserver_firewall_rule siblings.

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?

Usage is implied by the described capability (enable/disable and default policies) and includes an important caution about DROP policies without allow rules locking out SSH, but it never explicitly routes the agent to alternatives such as mutate_vserver_firewall_rule for per-rule changes or get_vserver_firewall for reads.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources