Skip to main content
Glama
This connector has been deprecated

Replaced by ZapX by ZAP-Hosting.

Duplicate listing. ZapX by ZAP-Hosting is maintained under ZapX by ZAP-Hosting (same endpoint https://zap-hosting.com/api/mcp, verified owner, test profile). Please use that listing.

Turn Dedicated Server DDoS Protection On or Off

toggle_dedicated_ddos_protection
Destructive

Toggle DDoS protection for a dedicated server. 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>"
    },
    "name": "toggle_dedicated_ddos_protection"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
enabledNoTarget state (true = protected). Without it the current state is flipped.
ipAddressNo
serviceIdYesID of the Dedicated server: the "id" field from list_account_services or list_dedicated_servers (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. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already flag destructiveHint=true and non-idempotency, and the description adds that a confirmation flag and an active subscription are required. It does not explain the consequence of a toggle-off, which is removing mitigation and exposing the host, nor whether the change applies instantly or can be reverted. That missing consequence detail keeps it at 3 for a destructive mutation.

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, purpose first, then prerequisites, with no filler. It is front-loaded with the action and the constraints an agent needs before calling it.

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?

This is a destructive mutation with no output schema, and the definition covers the purpose, confirmation, and entitlement. What is missing is the effect of disabling protection, the permissions required, and any statement about the state after the call or about error behavior when a ZapX Pass is absent.

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?

Schema coverage is 50%. The description adds real value for 'confirm' because it says confirm=true is required even though the schema marks only serviceId as required. It says nothing about 'ipAddress', however, and never clarifies how 'enabled' interacts with that parameter, or whether this is a per-IP or per-server operation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Toggle DDoS protection for a dedicated server.' This clearly separates it from the vserver variant in the sibling list, which applies to a different resource type. It stops short of naming the sibling tool explicitly, so it lands at 4 rather than 5.

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?

It supplies two concrete preconditions: confirm=true and an active ZapX Pass, the latter pointing at server instructions. However, it gives no guidance on when to choose this over toggle_vserver_ddos_protection or the status/bandwidth read tools, and it doesn't say when a caller should prefer setting 'enabled' explicitly versus flipping the current state.

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