Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_restartNode_jsApplicationV1

Restart the Node.js server process for a website to apply environment or configuration changes, or recover a hung application. Works with server-side apps like Express, Next.js, NestJS.

Instructions

Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application.

Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
usernameYesusername parameter
Behavior4/5

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

With no annotations, the description carries full burden for behavioral disclosure. It states the tool restarts without rebuilding/redeploying, applies only to server-side Node.js apps, and returns success even without a server process. However, it does not specify if the restart is immediate or causes temporary downtime, or if it is a graceful restart. Minor gap, but still transparent.

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 highly concise and well-structured. First sentence states the action, second clarifies exclusions, then provides use cases, applicability constraints, and a behavioral note. Every sentence earns its place with no redundancy. Information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (2 params, no output schema), the description is complete. It covers purpose, when to use, when not to use, limitations, and return behavior. With no annotations or output schema, the description provides all necessary context for an AI agent to correctly invoke this tool among a large set of siblings.

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%, so baseline is 3. The description does not add any additional meaning beyond the schema's parameter descriptions ('Domain name', 'username parameter'). No examples, formats, or constraints are provided. The description meets the minimum by not contradicting the schema but adds no extra semantic value.

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 the tool restarts the Node.js server process for a website and explicitly distinguishes it from rebuild/redeploy operations. It uses a specific verb ('restarts') and resource ('Node.js server process'), making the purpose unambiguous and differentiating it from sibling tools like hosting_deployJsApplication or hosting_listJsDeployments.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit 'when to use' scenarios (applying environment/config changes, recovering a hung app) and clear 'when not to use' guidance (static front-ends, non-server-side apps). It also notes that the tool returns success even when no server process exists, setting correct expectations. This level of detail fully addresses usage context.

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