Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

ecommerce_createAProductImageUploadURLV1

Generates a signed URL to upload a product image, then attaches it to the specified product via the attach-image endpoint.

Instructions

Returns a signed URL to upload a product image to (multipart/form-data POST). Then call the attach-image endpoint with the returned object_name to scan and attach it to the product.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
store_idYesThe ID of the store the product belongs to.
product_idYesThe ID of the product the image will be attached to.
Behavior4/5

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

With no annotations, the description carries the transparency burden and does well by disclosing the key behaviors: it returns a signed URL, requires a multipart/form-data POST, and requires a second attach step. It does not mention URL expiration or exact response fields, but the core non-obvious workflow is clearly surfaced.

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?

Two sentences, front-loaded with the main purpose, and every clause adds useful workflow detail. There is no repetition of the tool name or schema content, and the formatting is highly scannable.

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?

The tool is simple with only two well-documented parameters and no output schema. The description compensates by explaining the return value, the upload method, and the next required step. Missing details like signed URL expiration or error conditions are minor for this use case.

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%, and the two parameters (store_id, product_id) are already clearly documented in the schema. The description adds no param-specific meaning, but it does not need to since the schema already provides sufficient semantics.

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 returns a signed URL for uploading a product image and specifies the required POST format (multipart/form-data). It also distinguishes the two-step workflow from simpler alternatives by explicitly mentioning the follow-up attach-image call.

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

Usage Guidelines3/5

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

The description implies when to use this tool by describing the upload-plus-attach flow, but it does not explicitly compare itself to the sibling one-step tool ecommerce_uploadAndAttachAProductImageV1. It instructs the caller to use the returned object_name with the attach-image endpoint, but it does not explain when this two-step flow is preferred over a direct upload.

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