Skip to main content
Glama
Sequenzy MCP Server

Sequenzy MCP Server

Official
by Sequenzy

sync_integration

Destructive

Queues a manual integration re-sync for payment customers and revenue, Supabase user backfills, or PostHog/Segment history imports so existing data is populated or failed imports can be retried.

Instructions

Queue a manual re-sync for an integration: customers and revenue for a payment provider (Stripe, Polar, Paddle, Dodo, Lemon Squeezy, Creem, Chargebee, Whop), the user backfill for Supabase, or the event-history import for PostHog and Segment. Use this for Supabase before a campaign that depends on names or plan attributes - the live trigger only sends rows that change after it was installed, so existing users have no attributes until a backfill runs. The Supabase sync reads the project, schema, and table already configured for the integration and cannot be pointed at a different table; if none is configured yet it fails saying so. This is also the supported way to retry a failed PostHog or Segment history import: it restarts from the beginning using the stored credentials, and already-imported events dedupe, so a re-run cannot duplicate them. Returns immediately - poll get_integration to watch syncStatus and lastSyncAt, and list_integration_activity for per-row outcomes. Fails with a conflict if a sync is already queued or running; terminal BullMQ failures release history imports for retry. Providers whose backfill is not API-triggerable (Shopify products, Affonso affiliates) return a clear error naming the dashboard. Check availableActions on get_integration to see whether this is supported before calling.

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": {
      "integrationId": "<integrationId>"
    },
    "name": "sync_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany ID. If not provided, uses the currently selected company.
integrationIdYesIntegration ID from list_integrations.

Output Schema

NameRequiredDescriptionDefault
noteNoAdditional context about the result.
itemsNoFallback array wrapper used only when a tool returns a bare array.
jobIdNoBackground job id for the queued sync, when one was created.
valueNoFallback object wrapper used only when a tool returns a non-object value.
messageNoHuman-readable status, confirmation, or next-step message.
successNoWhether the Sequenzy operation succeeded.
providerNoProvider of the synced integration.
warningsNoNon-fatal cautions about content, permissions, or follow-up actions.
syncStatusNoSync status after queueing. Poll get_integration to watch it progress.
syncTargetNoFor Supabase, the project ref, schema, and table the backfill reads. Absent for providers whose sync has no configurable source.
integrationIdNoThe integration being synced.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Substantially exceeds the annotations: it discloses async semantics ("Returns immediately - poll get_integration"), conflict behavior when a sync is already queued/running, credential reuse, dedupe on re-import, the inability to redirect the Supabase sync to another table, and which providers are not API-triggerable. It stops short of stating whether a re-sync overwrites or resets existing synced data, which matters given destructiveHint=true.

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?

Front-loaded with the action, then organized by provider case and failure mode, with no filler sentences. It is dense and longer than typical, but nearly every clause carries operational information; minor tightening (provider list, repeated polling guidance) would help.

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?

Covers the full lifecycle an agent needs: how to invoke, what is required beforehand, immediate return semantics, how to observe progress and per-row outcomes, and how conflicts/terminal failures resolve. With an output schema available, it correctly avoids describing return payloads and instead points at the polling tools.

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 real constraint meaning by explaining that the Supabase sync reads the project/schema/table already bound to the integration and cannot be re-pointed, and that integrationId must be one whose availableActions permit it. It adds nothing about companyId beyond the schema, keeping it at 4.

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?

Opens with a specific verb+resource ("Queue a manual re-sync for an integration") and enumerates exactly which data is synced per provider family (customers/revenue for payment providers, user backfill for Supabase, event history for PostHog/Segment). An agent can tell instantly that this is a write-ish trigger action, distinct from readers like get_integration or list_integration_activity.

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 concrete when-to-use scenarios (Supabase before a campaign needing names/plan attributes, retrying a failed PostHog/Segment import), a prerequisite gate ("Check `availableActions` on get_integration ... before calling"), and exclusions (Shopify products, Affonso affiliates return an error naming the dashboard). It also routes the agent to the correct alternatives for observing results (get_integration, list_integration_activity).

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