Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Set nameservers

VPS_setNameserversV1
DestructiveIdempotent

Configure custom DNS nameservers for a virtual machine by providing its ID and at least one nameserver, with optional additional entries to ensure proper domain name resolution.

Instructions

Set nameservers for a specified virtual machine.

Be aware, that improper nameserver configuration can lead to the virtual machine being unable to resolve domain names.

Use this endpoint to configure custom DNS resolvers for VPS instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ns1Yesns1 parameter
ns2Nons2 parameter
ns3Nons3 parameter
virtualMachineIdYesVirtual Machine ID

Schema Changelog

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

  1. Addedv0.2.2
  2. Removedv0.2.1
  3. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already signal mutation, idempotency, and destructiveness. The description adds value by warning that improper nameserver configuration can break domain name resolution on the VM, which is a meaningful behavioral risk beyond the structured hints. This is consistent with the destructiveHint flag rather than contradicting it.

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 description is short and front-loads the core action. The warning sentence earns its place because it conveys important risk. Minor awkward phrasing ('Be aware, that') does not hurt clarity.

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 4-parameter mutation tool with no output schema, the description covers the basic purpose and a key risk but omits what response to expect, whether the operation replaces or merges existing nameservers, and how missing optional parameters behave. It is adequate but leaves meaningful gaps for an agent deciding whether to call it.

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%, so the schema carries most parameter documentation. The description adds no detail about how ns1, ns2, and ns3 are used, their format, or the fact that only ns1 is required. It does not improve on the schema's weak per-parameter descriptions like 'ns1 parameter'.

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 clearly identifies the operation: setting nameservers for a specified virtual machine. It names the resource (virtual machine/VPS) and the action, which is enough to distinguish it from domain nameserver tools like domains_updateDomainNameserversV1, though it does not explicitly reference a sibling.

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 the endpoint configures custom DNS resolvers for VPS instances, giving a clear purpose. However, it lacks explicit guidance on when to use it instead of related DNS or domain nameserver tools, and it does not mention any prerequisites or conditions that would make this tool the correct choice.

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