Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Clear Node.js runtime logs

hosting_clearNode_jsRuntimeLogsV1
DestructiveIdempotent

Clear the Node.js runtime log to remove old entries, ensuring the next log retrieval returns only fresh entries. Use before reproducing a problem.

Instructions

Empties the Node.js application's runtime log file. This cannot be undone, so confirm with the user before calling it. Returns success even when no log file exists yet.

Use it before reproducing a problem so the next Get Node.js runtime logs call returns only fresh entries; start that call with period again instead of reusing a from_line from before the clear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.5/5.0
Behavior5/5

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

Beyond the annotations, the description adds crucial behavioral details: the operation cannot be undone, it returns success even when no log file exists, and it advises restarting the follow-up log call with `period` rather than reusing a `from_line`. This meaningfully enriches the agent's understanding of side effects and workflow.

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 and every sentence carries value: what it does, the irreversible warning, the no-op success behavior, and the recommended usage pattern. The actionable guidance is front-loaded and the follow-up instruction is directly relevant.

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 simple two-parameter tool with no output schema, the description covers the action, side effects, edge case behavior, and the correct post-call workflow. Nothing essential for an agent to use it correctly is missing.

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% for both parameters (`domain` and `username`), so the schema already provides adequate meaning. The description does not add parameter-level detail, which is acceptable given the high coverage.

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 ('Empties') and resource ('Node.js application's runtime log file'), making the tool's purpose immediately clear. It is also naturally distinguished from the sibling `hosting_getNode_jsRuntimeLogsV1` by describing the clearing action versus reading logs.

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 clear context for when to use the tool: before reproducing a problem, so the next log retrieval returns only fresh entries. It also instructs the user to confirm before calling due to destructiveness. It does not explicitly list when-not-to-use scenarios or alternatives, but the primary use case is well communicated.

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