Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Update PHP options

hosting_updatePHPOptionsV1
DestructiveIdempotent

Change PHP settings for a website (e.g., memory_limit, max_execution_time, upload_max_filesize). Only specify values to update; account plan limits may cap the applied result.

Instructions

Updates PHP options for the website (e.g. memory_limit, max_execution_time, upload_max_filesize). Only provide the options you want to change, inside the options object.

Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
optionsYesMap of PHP options to update, keyed by option name. Only include options you want to change.
usernameYesusername parameter

Schema Changelog

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

  1. Addedv1.5.0

TDQS

A3.6/5.0
Behavior4/5

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

The description discloses a non-obvious behavior: values above the account plan limit are silently capped, so a successful request may apply a smaller value. It also advises reading the applied value via the Get PHP details endpoint, which compensates for the lack of output schema. This meaningfully extends the annotations without contradicting them.

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 well-structured: the first sentence states the purpose, the second gives the key usage instruction, and the third provides the critical cap warning and follow-up. Every sentence earns its place with no filler.

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?

Despite having no output schema, the description tells the caller exactly how to verify the applied value, addressing the most important ambiguity. It does not document option value types or valid option keys, but the examples and schema coverage are sufficient for typical usage.

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?

The input schema already documents all three parameters with 100% coverage. The description adds useful examples of PHP option names and reinforces the partial-update behavior, but it does not define the value types or valid option keys inside the nested options object, leaving some ambiguity.

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?

Description states a specific verb and resource: 'Updates PHP options for the website' with concrete examples like `memory_limit`, `max_execution_time`, and `upload_max_filesize`. It also clarifies a partial-update semantic ('Only provide the options you want to change'), but it does not explicitly distinguish itself from similarly named siblings such as agency-hosting_replaceWebsitePHPOptionsV1.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool instead of alternative PHP-related tools like hosting_updatePHPExtensionsV1, hosting_updatePHPVersionV1, or agency-hosting_replaceWebsitePHPOptionsV1. The only usage context is about which options to include and a recommendation to call the Get PHP details endpoint afterwards.

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