Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

ecommerce_updateAProductV1

Update a product's name, description, or status. Set the status to published, draft, or archived to control visibility and buyability, then get the updated product summary.

Instructions

Update a product's name, description or status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoThe product name.
statusNoSet "published" to make the product buyable, "draft" to hide it, or "archived" to retire it.
store_idYesThe ID of the store that owns the product.
product_idYesThe ID of the product to update.
descriptionNoThe product description.
Behavior4/5

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

With no annotations provided, the description carries the full burden of conveying side effects. It states that the operation returns the updated product summary and clarifies the behavioral implications of setting status. However, it does not mention whether the update is partial or full, nor does it address permission requirements, though these are not critical for a typical update operation.

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 extremely concise, consisting of two clear sentences. It front-loads the main action and includes only essential clarifications (status effects and exclusions), with no redundant or vague wording.

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?

Given the tool's simplicity and the full schema coverage, the description is complete. It covers what the tool does, what it returns (updated product summary), and what it does not handle (variants, prices, inventory). No critical information is missing for an agent to invoke it correctly.

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?

The schema already provides descriptions for all parameters (100% coverage). The tool description adds value by clarifying the semantics of the 'status' enum (published = buyable, draft = hidden, archived = retired) and by explicitly excluding fields like variants, prices, and inventory, which helps disambiguate the purpose of each parameter.

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 verb 'Update' and the target resource 'product', specifying the exact fields (name, description, status). It also distinguishes itself from sibling tools by explicitly noting that variants, prices, and inventory are managed through the variant endpoints, making its purpose unambiguous.

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?

It provides explicit guidance on when to use this tool versus alternatives: 'Variants, prices and inventory are managed through the variant endpoints, not here.' It also explains the effect of each status value, helping the agent decide when to set published, draft, or archived.

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