Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Update firewall rule

VPS_updateFirewallRuleV1
DestructiveIdempotent

Update a specific firewall rule on a Hostinger VPS by firewall ID, rule ID, protocol, port, and source. Modify IP/CIDR or any source; VMs using this firewall must be manually resynced afterward.

Instructions

Update a specific firewall rule from a specified firewall.

Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually.

Use this endpoint to modify existing firewall rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYesPort or port range, ex: 1024:2048
ruleIdYesFirewall Rule ID
sourceYessource parameter
protocolYesprotocol parameter
firewallIdYesFirewall ID
source_detailYesIP range, CIDR, single IP or `any`

Schema Changelog

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

  1. Addedv1.5.0
  2. Removedv1.2.1
  3. Addedv0.2.2
  4. Removedv0.2.1
  5. First observedv1.0.0

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses a critical side effect: any virtual machine with this firewall activated will lose sync and must be manually synced again. This is valuable behavioral context that annotations alone do not provide and directly affects whether an agent should proceed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the core purpose, followed by an important warning. However, the final sentence 'Use this endpoint to modify existing firewall rules' largely repeats the first sentence and does not earn its place.

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?

For a mutating firewall rule operation with six fully documented parameters and annotations indicating destructive behavior, the description covers the essential purpose and the key side effect. It is complete enough for an agent to decide whether to call this tool, even without an output schema.

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 description coverage is 100%, and every parameter already has a meaningful description. The tool description adds no additional parameter-level detail, so the baseline score of 3 is appropriate since the schema carries the semantic weight.

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 first sentence clearly states the action (update), the resource (firewall rule), and the scope (a specific rule from a specified firewall). It does not explicitly distinguish itself from sibling tools like create or delete, but 'modify existing firewall rules' conveys the intended operation well.

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?

The description states this is for modifying existing firewall rules, which implies when to use it versus creating new rules. However, it does not explicitly mention alternatives like VPS_createFirewallRuleV1 or VPS_deleteFirewallRuleV1, nor does it provide clear when-not-to-use 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/hostinger/api-mcp-server'

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