Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

hosting_startNode_jsBuildV1

Start a Node.js build from an archive already on the server, using stored files to compile and deploy the app. Note: this overwrites existing website content.

Instructions

Start a Node.js build process using files already present on the website's file storage.

WARNING: on success this overwrites the website's existing contents and cannot be undone — verify this is intended before calling this endpoint.

The source_type must be archive and source_options.archive_path must point to an existing archive file on the server (relative to the website document root). Use the Generate Upload URL endpoint to obtain credentials and upload the archive first.

To auto-detect build settings from an archive before starting, first call the Get Node.js Build Settings from Archive endpoint.

The returned build uuid can be used to poll progress and retrieve logs via the Get Node.js Build Logs endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
app_typeYesNode.js application type
usernameYesusername parameter
entry_fileNoThe main entry point file for the application
source_typeYesThe source type of the files
build_scriptYesBuild script that will be ran to build the application
node_versionYesNode.js version
root_directoryYesApplication root directory (where package.json is located) relative to public_html
source_optionsYesSource-specific options
package_managerNoPackage manager
output_directoryYesBuild output directory relative to the root directory
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it prominently warns that success overwrites existing website contents and cannot be undone, and it indicates asynchronous behavior by mentioning the returned build uuid for polling. It does not cover permissions or rate limits, but the destructive warning is the most critical disclosure.

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?

The description is well-structured and front-loaded: purpose, destructive warning, required parameter constraints, prerequisite workflow, and follow-up polling are each covered in concise, purposeful sentences. No filler or redundant restatement of the schema.

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 complex 11-parameter, no-output-schema tool with no annotations, the description covers the key operational context: prerequisites, required source configuration, destructive consequences, and how to use the returned uuid. It could add error-case or permission context, but the essential calling workflow is complete.

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 100%, so the baseline is 3. The description adds meaningful constraints beyond the schema by stating that source_type must be 'archive' and that source_options.archive_path must point to an existing archive relative to the document root, which is essential for correct invocation.

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?

The description clearly states a specific action — 'Start a Node.js build process' — and scopes it to files already present on the website's file storage. It also distinguishes this from related endpoints by referencing the separate settings-detection and log-retrieval tools.

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 description gives explicit workflow guidance: use the Generate Upload URL endpoint first, require source_type=archive, point archive_path to an existing file, and optionally call the settings-detection endpoint beforehand. It does not explicitly state when not to use this tool or name alternative deploy/build tools, so it stops short of a 5.

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