Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_updatePHPExtensionsV1

Enable or disable PHP extensions (modules) for a website. Check current extension states before applying changes.

Instructions

Enables or disables PHP extensions (modules) for the website.

Use the Get PHP details endpoint to check the current extension states before changing them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
enableNoPHP extensions to enable.
disableNoPHP extensions to disable.
usernameYesusername parameter
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It only says enables/disables and advises checking current states. It does not mention if changes take effect immediately, require a restart, or have any side effects, which is insufficient for a mutation tool.

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 two sentences with no redundancy. It front-loads the action and then provides a useful tip. Every sentence adds value.

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

Completeness3/5

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

Given the 4 parameters, no output schema, and missing annotations, the description could be more complete. It mentions checking current states but doesn't cover response format, prerequisites, or error scenarios. Adequate but has gaps.

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%, so parameters are already documented. The description adds minimal context by stating the overall action, but the schema already describes enable/disable as arrays of PHP extensions. Baseline 3 is appropriate.

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's verb and resource: 'Enables or disables PHP extensions (modules) for the website.' This distinguishes it from sibling tools like hosting_getPHPDetailsV1 (read) and hosting_resetPHPExtensionsV1 (reset vs enable/disable).

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 advises using the Get PHP details endpoint to check current states before changing, which provides context. However, it does not explicitly specify when not to use this tool or name alternatives like hosting_resetPHPExtensionsV1, limiting full guidance.

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