Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

reach_updateAProfileSegmentV1

Update a contact segment by renaming it or replacing its matching conditions. Controls which contacts belong to the segment without modifying contact data.

Instructions

Rename a segment and/or replace the conditions that define it.

name is always required. Omit conditions to rename without touching the conditions; supply them and they replace the existing set entirely rather than being merged into it. Contacts are never modified, but which of them match the segment can change immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesname parameter
logicNoHow to combine multiple conditions. Required when conditions are given.
conditionsNoReplaces the existing conditions entirely. Omit to keep the current ones.
profileUuidYesProfile uuid parameter
segmentUuidYesSegment uuid parameter
Behavior5/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explicitly reveals that omitting conditions preserves them, supplying conditions replaces the entire set (not merges), and that contact membership can change immediately. It also clarifies the tool does not modify contacts directly. These are critical side-effect behaviors beyond the schema.

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 front-loaded with the primary purpose. It consists of two short paragraphs, with the first sentence stating the function and the second paragraph providing essential behavioral details. Every sentence contributes value, with no filler or repetition of schema content.

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?

Given the moderate complexity (5 parameters, nested condition objects, no output schema), the description covers the most important contextual aspects: the rename/replace semantics, the side effect on contacts, and the behavior of omitting conditions. It does not explicitly mention the `logic` parameter's requirement when conditions are provided, but that is documented in the schema. Overall, the description is sufficiently complete for an agent to select and invoke the tool 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?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful parameter semantics, particularly for `conditions` and `name`: it explains the 'replace entire set' behavior, the always-required nature of `name`, and the option to omit `conditions` for renaming only. This goes beyond the schema's basic descriptions by clarifying the relationship between parameters.

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 function: 'Rename a segment and/or replace the conditions that define it.' This uses a specific verb ('rename', 'replace') and identifies the resource ('segment'), distinguishing it from sibling tools like create, delete, or get. The scope is unambiguous.

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 provides clear usage context: it explains when to omit conditions (rename-only) versus supplying them (replace entirely). It also clarifies that contacts are never modified, setting expectations. However, it does not explicitly name alternatives or state 'use this instead of create/delete,' though the update semantics are implied.

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