Skip to main content
Glama

Change VPS Firewall IP Set

mutate_vserver_firewall_ipset
Destructive

Create or delete a VPS firewall IP set, or add/remove an address (cidr). Rules reference a set as +name. 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>",
      "action": "<action>",
      "name": "<name>"
    },
    "name": "mutate_vserver_firewall_ipset"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidrNoadd_entry/remove_entry: IP address or CIDR, e.g. 203.0.113.7 or 198.51.100.0/24.
nameYesIP set name (letters, digits, - and _). Use it in rules as +name.
actionYes
commentNoadd_entry: free text comment.
confirmNo
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.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds genuinely new context: the confirm=true gate, the ZapX Pass entitlement requirement, and the +name reference convention. It stops short of saying what happens to rules that reference a set when the set is deleted.

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?

Two dense sentences, front-loaded with the operation set, followed by the reference convention and the two hard prerequisites. No filler or restatement of the title.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with no output schema, the definition covers auth and confirmation but omits consequences: whether deleting a set breaks rules referencing it, whether delete requires an empty set, and what the call returns. These are material gaps for a destructive tool.

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 67%, and the description compensates by explaining the action semantics (create/delete/add_entry/remove_entry) and the +name usage of the name parameter. It does not clarify when cidr or comment are required versus ignored per action, leaving some per-action coupling implicit.

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 set and resource: create/delete an IP set or add/remove an address. The clause 'Rules reference a set as +name' distinguishes it from the sibling mutate_vserver_firewall_rule, which operates on rules rather than sets.

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?

Gives prerequisites (confirm=true, active ZapX Pass) but never states when to choose this over mutate_vserver_firewall_rule or get_vserver_firewall. The action enum implies the four use cases, but no explicit when/when-not guidance or alternative routing is provided.

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