Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

create_push_import

Creates a draft push import from OneSignal, Braze, Customer.io, or CSV, returning warnings so you can validate the source before any devices are read.

Instructions

Create a draft push import and return its warnings; nothing is read until start_push_import. Requirements by source: onesignal needs apiKey (App API key) and onesignalAppId; braze needs apiKey (REST key with users.export.segment), brazeRestEndpoint and brazeSegmentId; customer_io needs apiKey (App API key), customerIoSegmentId and optionally customerIoRegion; csv takes the file as csv (token and platform columns, plus external_id or email; at most 5 MB, send more with add_push_import_rows and set csvParts to the total part count so a partial upload can never start). Opted-in devices are linked to contacts by external ID or email (unmatched devices get a new contact, quietly: no lists, no sequences; push-only with no email or phone when the device has only an external ID); opted-out devices are kept as unsubscribed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source": "<source>"
    },
    "name": "create_push_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNocsv source only: the CSV text (or its first part).
apiKeyNoSource API key (not for csv). Stored encrypted and never returned; deleted once devices are read or the import is canceled (a failed import keeps it for resume).
appIdsNoOnly import devices of these source apps (Braze app name, Customer.io app_identifier, CSV app_id).
sourceYesWhere the devices come from.
csvPartsNocsv source only: how many parts you will send, including this first one. When set, start_push_import is refused until every part has been added, so an interrupted upload is never imported partially. Recommended whenever you send more than one part.
companyIdNoCompany ID. If not provided, uses the currently selected company.
platformsNoPlatforms to import (default both). Web push cannot be imported: browsers tie those subscriptions to the previous provider's VAPID keys.
brazeSegmentIdNoAPI identifier of a Braze segment with the users to import. Required for braze.
onesignalAppIdNoOneSignal App ID (UUID). Required for onesignal.
customerIoRegionNoCustomer.io account region (default us).
importAttributesNoCopy source tags/attributes onto contacts, only for keys a contact lacks (default true).
brazeRestEndpointNoBraze REST endpoint such as rest.iad-01.braze.com. Required for braze.
customerIoSegmentIdNoID of a Customer.io segment with the people to import. Required for customer_io.

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
valueNoFallback object wrapper used only when a tool returns a non-object value.
importNoThe push import (draft, with warnings) record returned by Sequenzy.
messageNoWhat to do next.
successNoWhether the Sequenzy operation succeeded.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well past the annotations (readOnly=false, destructive=false, idempotent=false): it discloses that no source data is read at creation time, that the apiKey is stored encrypted, never returned, and deleted on completion/cancel but retained for resume after failure, and that a partial upload is blocked from starting. It also describes downstream side effects on contacts (new contact created quietly, no lists/sequences, push-only when only an external ID, opted-out kept as unsubscribed).

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

Conciseness4/5

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

The critical constraint (draft, nothing read until start_push_import) is front-loaded and no sentence is filler. It is a dense semicolon-chained paragraph, though, which makes the CSV and contact-matching clauses harder to scan than a short bulleted structure would.

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?

For a 13-parameter, four-source import with an output schema present, the description covers prerequisites, size/partitioning limits, credential lifecycle and contact-matching/opt-out semantics. Nothing material needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema coverage is 100%, the description adds cross-parameter meaning the schema cannot express: which fields are required per source, the CSV column contract (token/platform plus external_id or email), the 5 MB limit, and the csvParts invariant that start_push_import is refused until all parts arrive.

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?

States a specific verb and resource ("Create a draft push import") plus the immediate consequence ("return its warnings"), and explicitly scopes the boundary with start_push_import. An agent can distinguish it from start_push_import, add_push_import_rows and get_push_import without opening any schema.

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?

Gives explicit when-to-use routing: call this first, nothing is read until start_push_import, and send more than 5 MB via add_push_import_rows with csvParts set. It also names per-source prerequisites (onesignal/braze/customer_io/csv) so the agent knows which branch applies before calling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools