Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Sync firewall

VPS_syncFirewallV1

Apply updated firewall rules to a VPS by syncing the firewall with the virtual machine. Use this when firewall changes have caused sync to drift.

Instructions

Deprecated: use POST /api/vps/v1/firewall/{firewallId}/sync instead, which syncs the firewall to all virtual machines assigned to it.

Sync a firewall for a specified virtual machine.

Firewall can lose sync with virtual machine if the firewall has new rules added, removed or updated.

Use this endpoint to apply updated firewall rules to VPS instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firewallIdYesFirewall ID
virtualMachineIdYesVirtual Machine ID

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.6/5.0
Behavior3/5

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

Annotations already flag readOnlyHint=false and destructiveHint=false, so the description's job is to add context. It does add the useful behavioral detail that firewalls lose sync when rules are added/removed/updated, and that the endpoint 'applies updated firewall rules.' However, it doesn't disclose whether the sync is synchronous or asynchronous, whether it executes immediately, or what happens to an already-synced firewall; annotations still carry the safety profile.

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

Conciseness4/5

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

The four sentences are compact and helpful, with the most decision-relevant content (deprecation warning) front-loaded. There is minor redundancy between 'Sync a firewall for a specified virtual machine' and 'Use this endpoint to apply updated firewall rules,' but no padding or fluff beyond that. Earns a near-top score rather than a 5 due to that repetition.

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 mutating tool with no output schema and no rich annotations, the description gives the essential trigger conditions and deprecation strategy, which is a solid middle effort. However, it never covers expected result shape, whether the operation is asynchronous, or failure modes (e.g., firing VM not found, firewall already in sync), leaving the agent to guess at completion semantics.

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 100% — both `firewallId` and `virtualMachineId` have inline descriptions — so the baseline applies. The description implicitly ties `virtualMachineId` to the single-VM sync scope, but adds no additional format or behavioral detail beyond what the input schema already encodes. Adequate without being additive.

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: syncing a firewall for a specified virtual machine. It also adds deprecation context, pointing to the replacement endpoint that syncs to all assigned VMs, which helps distinguish it from `VPS_syncFirewallToAllAssignedVMsV1`. A dedicated sentence could remove the slight ambiguity around per-VM vs all-VM sync, but the intent is clear.

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?

The deprecation notice gives explicit guidance to use the successor endpoint instead, which is strong when-to-use direction. It also explains the trigger condition (firewall rules added, removed, or updated causing loss of sync) so the agent knows when this operation is appropriate. It stops short of explicitly naming alternatives or stating when to prefer `VPS_syncFirewallToAllAssignedVMsV1`, but the deprecation note largely covers it.

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