Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Create a new contact segment

reach_createANewContactSegmentV1

Create a contact segment to organize contacts by defining criteria such as email, name, and subscription status. Use conditions and logic to filter contacts effectively.

Instructions

Create a new contact segment.

This endpoint allows creating a new contact segment that can be used to organize contacts. The segment can be configured with specific criteria like email, name, subscription status, etc.

Deprecated. This endpoint cannot target a profile, so it always falls back to the client's default profile and cannot create segments in any other profile. Use POST /api/reach/v1/profiles/{profileUuid}/segmentation/segments instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesname parameter
logicYeslogic parameter
conditionsYesconditions parameter

Schema Changelog

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

  1. Changed1 schema field changedv1.33.0
    • changedInput schema / properties / conditions / items / properties / operator / enum
      Previous value: -[
      -  "equals",
      -  "not_equals",
      -  "contains",
      -  "not_contains",
      -  "gte",
      -  "lte",
      -  "exists",
      -  "within_last_days",
      -  "not_within_last_days",
      -  "older_than_days",
      -  "processed",
      -  "not_processed",
      -  "delivered",
      -  "not_delivered",
      -  "dropped",
      -  "not_dropped",
      -  "bounced",
      -  "not_bounced",
      -  "opened",
      -  "not_opened",
      -  "clicked",
      -  "not_clicked",
      -  "unsubscribed",
      -  "not_unsubscribed"
      -]New value: +[
      +  "equals",
      +  "not_equals",
      +  "contains",
      +  "not_contains",
      +  "gte",
      +  "lte",
      +  "exists",
      +  "within_last_days",
      +  "not_within_last_days",
      +  "older_than_days",
      +  "processed",
      +  "not_processed",
      +  "delivered",
      +  "not_delivered",
      +  "dropped",
      +  "not_dropped",
      +  "bounced",
      +  "not_bounced",
      +  "soft_bounced",
      +  "not_soft_bounced",
      +  "opened",
      +  "not_opened",
      +  "clicked",
      +  "not_clicked",
      +  "unsubscribed",
      +  "not_unsubscribed"
      +]
  2. Addedv1.5.0
  3. Removedv1.2.1
  4. Addedv0.2.2
  5. Removedv0.2.1
  6. Addedv0.1.40

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only state readOnlyHint=false and destructiveHint=false, so the description carries the behavioral burden. It discloses deprecation, the default-profile fallback, and the inability to target other profiles—critical behavioral details an agent needs before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence duplicates the tool title, and the second sentence largely restates the first. The deprecation note is valuable and concise, but the early redundancy prevents a higher score.

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 description covers the key operational caveats (deprecation, default profile fallback, recommended alternative) and the schema handles parameter details. It does not describe the response shape, but given full schema coverage and no output schema, the description is sufficiently complete for correct invocation.

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 the schema fully documents all three parameters. The description adds only generic examples of criteria (email, name, subscription status) rather than new parameter-level meaning, so 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 operation: create a new contact segment used to organize contacts, with configurable criteria. It also distinguishes this endpoint from profile-scoped alternatives by explicitly stating it cannot target a profile.

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?

The description gives explicit guidance: the endpoint is deprecated, always falls back to the client's default profile, cannot create segments in other profiles, and the agent should use the alternative endpoint instead. This leaves no ambiguity about when to use or avoid the tool.

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