Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Analyse failed Node.js build

hosting_analyseFailedNode_jsBuildV1
Read-only

Analyze failed Node.js builds to pinpoint the root cause and get an AI-suggested fix using build logs, project files, and package.json.

Instructions

Returns an AI analysis of why a build failed and how to fix it, based on the build logs, the project file list and package.json. Only builds in the failed state can be analysed; any other state returns 422. When no analysis could be produced both analysis and solution are null, in which case read Get NodeJS build logs instead.

Each call runs the analysis again, so call it once per failed build and keep the result. Limited to 5 calls per minute per API client (429 above that).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesBuild UUID
domainYesDomain name
usernameYesusername parameter

Schema Changelog

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

  1. Addedv1.57.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint=true annotation, the description discloses that each call reruns the analysis, that analysis/solution can be null, and that a 429 is returned above the rate limit. It also explains the 422 state constraint. No contradiction with the annotations exists.

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 concise and every sentence earns its place: purpose, state constraint, fallback behavior, and rate-limit guidance. It is front-loaded with the core purpose and avoids fluff or repetition of the title.

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?

For a tool with no output schema, the description adequately explains return values (analysis, solution), null behavior, error cases, and rate limits. It also names the fallback sibling tool. An agent can correctly decide when to call it, what to expect, and how to handle errors.

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 the baseline is 3. The description adds context about what the analysis is based on, but it does not clarify the meaning or format of the parameters beyond the schema. The schema's username description ('username parameter') is tautological, and the description does not resolve that ambiguity, so it stays at the baseline.

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 states a specific verb ('Returns an AI analysis') and a specific resource ('why a build failed and how to fix it'), grounded in concrete inputs (build logs, project file list, package.json). It clearly distinguishes itself from sibling log-fetching tools by emphasizing the AI analysis output and the fallback to 'Get NodeJS build logs'.

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 explicitly states when to use it (failed builds only), what happens otherwise (422), and what to do if the analysis is unavailable (read Get NodeJS build logs instead). It also gives operational guidance: call once per failed build, keep the result, and stay under the 5 calls/minute rate limit.

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