Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Get NodeJS build logs

hosting_getNodeJSBuildLogsV1
Read-only

Fetch logs from a Node.js build, optionally starting from a specific line to stream live output during the build process.

Instructions

Retrieve logs from a specific Node.js build process.

To stream live output while a build is running, poll this endpoint repeatedly while the build state is running, passing the previously returned lines count as from_line to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesBuild UUID
domainYesDomain name
usernameYesusername parameter
from_lineNoLine from which to start retrieving logs
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark the tool as read-only and non-destructive, and the description adds meaningful behavior beyond that: polling semantics tied to build state, incremental fetching via 'from_line', and the ANSI escape sequence caveat. This is useful operational context an agent would not otherwise know.

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 compact, well-structured, and front-loaded with the core purpose. Every sentence adds useful information: the retrieval action, the polling pattern, and the ANSI warning. No filler or redundant restatement of the title or 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 read-only log retrieval tool with annotations already covering safety, the description covers the key operational needs: how to stream logs incrementally, when to poll, and what content to expect. The absence of an output schema is partially mitigated by the mention of a returned 'lines' count, though exact response fields are not described.

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 real value by explaining the intended use of 'from_line' as incremental polling using the previously returned line count, which is more meaningful than the schema's 'Line from which to start retrieving logs'. Other parameters are adequately covered by the schema.

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 states a specific action ('Retrieve logs') and resource ('a specific Node.js build process'), which distinguishes it from list-type siblings like hosting_listNodeJSBuildsV1. It does not explicitly name alternatives, so it stops short of a 5, but the purpose is unambiguous.

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 concrete guidance on when and how to use the tool: poll repeatedly while the build state is 'running', and pass the previously returned 'lines' count as 'from_line' to fetch only new output. It does not mention exclusions or alternatives, but the contextual usage is clear and practical.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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