@dynamoi/mcp 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.2] - 2026-05-12
11
+
12
+ ### Added
13
+
14
+ - Added a public package README so npm users can see the hosted MCP endpoint, assistant capabilities, safety model, and package usage examples directly on npmjs.com.
15
+
16
+ ### Changed
17
+
18
+ - Included `README.md` in the published package file list so the npm package page renders the public overview with each release.
19
+
10
20
  ## [0.6.1] - 2026-05-07
11
21
 
12
22
  ### Added
@@ -19,11 +29,11 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
19
29
  - Smart Link tool metadata, instructions, resources, and docs now distinguish single-release creation from full artist catalog/hub creation.
20
30
  - Consolidated the public tool surface: campaign analytics/deployment now live behind `dynamoi_get_campaign` include flags, campaign mutations use `dynamoi_update_campaign`, and Smart Link analytics/settings/publish controls are folded into `dynamoi_get_smart_link` and `dynamoi_update_smart_link`.
21
31
  - `dynamoi_list_artists` now accepts `artistId` for one artist's full profile/readiness details, replacing the separate one-artist read tool in the advertised connector surface.
22
- - Billing guidance now reflects managed-advertising activation in the Dynamoi dashboard instead of the former subscription model.
32
+ - Billing guidance now routes managed-advertising payment setup through the Dynamoi dashboard instead of direct ChatGPT checkout.
23
33
 
24
34
  ### Removed
25
35
 
26
- - Removed `dynamoi_start_subscription_checkout` from the public connector surface so the ChatGPT app does not expose direct paid activation checkout. Assistants should use `dynamoi_get_billing` for status and direct users to complete activation in Dynamoi.
36
+ - Removed `dynamoi_start_subscription_checkout` from the public connector surface so the ChatGPT app does not expose direct paid checkout. Assistants should use `dynamoi_get_billing` for status and direct users to complete billing setup in Dynamoi.
27
37
 
28
38
  ## [0.6.0] - 2026-05-02
29
39
 
package/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # Dynamoi MCP
2
+
3
+ Music promotion tools for AI assistants.
4
+
5
+ Dynamoi lets ChatGPT, Claude, Gemini, and other MCP clients work with an artist's
6
+ real promotion workspace: Smart Links, artist hubs, campaign readiness, platform
7
+ connections, YouTube growth, Meta campaigns, billing status, and launch workflows.
8
+
9
+ The normal way to use it is the hosted remote MCP server:
10
+
11
+ ```txt
12
+ https://dynamoi.com/mcp
13
+ ```
14
+
15
+ This npm package is the public contract behind that server: tool schemas, resource
16
+ metadata, transport helpers, and TypeScript types for the hosted implementation.
17
+
18
+ ## What It Does
19
+
20
+ | Area | Assistant can help with |
21
+ | --- | --- |
22
+ | Free Smart Links | Create Spotify release links, import artist catalogs, return public URLs, inspect analytics, update themes, and publish or unpublish links. |
23
+ | Artist workspace | List artists, search records, summarize account state, and explain the best next action for a brand-new or returning user. |
24
+ | Campaign planning | Check launch readiness, country availability, billing state, platform connections, and media assets before anything is created. |
25
+ | Managed campaigns | Launch, pause, resume, and update Dynamoi campaign workflows after clear user confirmation. |
26
+ | YouTube growth | Start YouTube channel linking and inspect campaign/account readiness for creator growth workflows. |
27
+ | OpenAI connectors | Expose `search` and `fetch` for ChatGPT Deep Research style retrieval. |
28
+
29
+ ## Connect
30
+
31
+ Use Dynamoi from the ChatGPT app directory, or add the remote server URL to any MCP
32
+ client that supports Streamable HTTP remote servers.
33
+
34
+ ```json
35
+ {
36
+ "mcpServers": {
37
+ "dynamoi": {
38
+ "url": "https://dynamoi.com/mcp"
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ Authentication is handled through Dynamoi OAuth. Users sign in with their Dynamoi
45
+ account, and the assistant only receives the scopes needed for the tools it calls.
46
+
47
+ ## Why Artists Use It
48
+
49
+ Most music tools stop at a dashboard. Dynamoi is built for the moment after the
50
+ dashboard exists, when an artist asks:
51
+
52
+ - "Make me a link for this release."
53
+ - "What is blocking my campaign?"
54
+ - "Which countries can I launch in?"
55
+ - "Connect my YouTube channel."
56
+ - "Get my Smart Link ready, then help me promote it."
57
+
58
+ The assistant can move through those steps with the user instead of sending them
59
+ back and forth between tabs.
60
+
61
+ ## Tool Surface
62
+
63
+ The public server includes tools for:
64
+
65
+ - account overview and routing
66
+ - artist and campaign search
67
+ - artist analytics
68
+ - campaign lists, details, readiness, deployment status, and updates
69
+ - billing and platform status checks
70
+ - Meta and YouTube connection starts
71
+ - media asset selection
72
+ - managed campaign launch workflows
73
+ - Smart Link creation, listing, details, analytics, settings, and publishing
74
+ - OpenAI `search` and `fetch`
75
+
76
+ The server also publishes prompts and resources that teach assistants how to answer
77
+ Dynamoi-specific questions without over-calling tools or creating paid workflows
78
+ when the user only asked for a free Smart Link.
79
+
80
+ ## Package Usage
81
+
82
+ Most users do not need to install this package. Install it when you are working on
83
+ the Dynamoi MCP server implementation, testing the public contract, or consuming
84
+ the exported schemas and types.
85
+
86
+ ```bash
87
+ npm install @dynamoi/mcp
88
+ ```
89
+
90
+ ```ts
91
+ import {
92
+ buildProtectedResourceMetadata,
93
+ createDynamoiMcpServer,
94
+ handleMcpHttpRequest,
95
+ } from "@dynamoi/mcp";
96
+ ```
97
+
98
+ The server factory expects an adapter that connects the public MCP contract to
99
+ Dynamoi's private application services:
100
+
101
+ ```ts
102
+ const server = createDynamoiMcpServer({
103
+ adapter,
104
+ websiteUrl: "https://dynamoi.com",
105
+ });
106
+ ```
107
+
108
+ `handleMcpHttpRequest` provides Streamable HTTP request handling with session
109
+ binding so an MCP session cannot drift across authenticated users.
110
+
111
+ ## Safety Model
112
+
113
+ - Read tools are annotated as read-only.
114
+ - Mutating tools describe the external action they may take.
115
+ - Launch and campaign-update workflows require explicit user intent.
116
+ - Direct paid checkout is not exposed through the ChatGPT-visible tool surface.
117
+ - Smart Link creation is separate from managed advertising launch.
118
+
119
+ ## Links
120
+
121
+ - Website: <https://dynamoi.com>
122
+ - Hosted MCP endpoint: <https://dynamoi.com/mcp>
123
+ - Package: <https://www.npmjs.com/package/@dynamoi/mcp>
124
+ - Repository: <https://github.com/getDynamoi/mcp>
125
+ - Changelog: [CHANGELOG.md](./CHANGELOG.md)
@@ -5,7 +5,7 @@ type ProtectedResourceMetadata = {
5
5
  resource_documentation?: string;
6
6
  scopes_supported: string[];
7
7
  };
8
- declare const DYNAMOI_MCP_SCOPES: readonly ["email", "profile"];
8
+ declare const DYNAMOI_MCP_SCOPES: readonly ["email", "profile", "dynamoi:read", "dynamoi:billing.read", "dynamoi:platform.read", "dynamoi:platform.write", "dynamoi:campaign.write", "dynamoi:campaign.launch", "dynamoi:smart_links.write"];
9
9
  declare function buildProtectedResourceMetadata(options: {
10
10
  resource: string;
11
11
  authorizationServers: string[];
@@ -2,7 +2,7 @@ import {
2
2
  DYNAMOI_MCP_SCOPES,
3
3
  buildProtectedResourceMetadata,
4
4
  buildWwwAuthenticateHeader
5
- } from "../chunk-6SBJ7DZU.js";
5
+ } from "../chunk-53YNLVA3.js";
6
6
  export {
7
7
  DYNAMOI_MCP_SCOPES,
8
8
  buildProtectedResourceMetadata,
@@ -1,5 +1,15 @@
1
1
  // src/auth/protected-resource.ts
2
- var DYNAMOI_MCP_SCOPES = ["email", "profile"];
2
+ var DYNAMOI_MCP_SCOPES = [
3
+ "email",
4
+ "profile",
5
+ "dynamoi:read",
6
+ "dynamoi:billing.read",
7
+ "dynamoi:platform.read",
8
+ "dynamoi:platform.write",
9
+ "dynamoi:campaign.write",
10
+ "dynamoi:campaign.launch",
11
+ "dynamoi:smart_links.write"
12
+ ];
3
13
  function buildProtectedResourceMetadata(options) {
4
14
  return {
5
15
  authorization_servers: options.authorizationServers,
@@ -22,4 +32,4 @@ export {
22
32
  buildProtectedResourceMetadata,
23
33
  buildWwwAuthenticateHeader
24
34
  };
25
- //# sourceMappingURL=chunk-6SBJ7DZU.js.map
35
+ //# sourceMappingURL=chunk-53YNLVA3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/auth/protected-resource.ts"],"sourcesContent":["type ProtectedResourceMetadata = {\n\tauthorization_servers: string[];\n\tbearer_methods_supported: [\"header\"];\n\tresource: string;\n\tresource_documentation?: string;\n\tscopes_supported: string[];\n};\n\nexport const DYNAMOI_MCP_SCOPES = [\n\t\"email\",\n\t\"profile\",\n\t\"dynamoi:read\",\n\t\"dynamoi:billing.read\",\n\t\"dynamoi:platform.read\",\n\t\"dynamoi:platform.write\",\n\t\"dynamoi:campaign.write\",\n\t\"dynamoi:campaign.launch\",\n\t\"dynamoi:smart_links.write\",\n] as const;\n\nexport function buildProtectedResourceMetadata(options: {\n\tresource: string;\n\tauthorizationServers: string[];\n\tresourceDocumentation?: string;\n\tscopesSupported?: string[];\n}): ProtectedResourceMetadata {\n\treturn {\n\t\tauthorization_servers: options.authorizationServers,\n\t\tbearer_methods_supported: [\"header\"],\n\t\tresource: options.resource,\n\t\t...(options.resourceDocumentation\n\t\t\t? { resource_documentation: options.resourceDocumentation }\n\t\t\t: {}),\n\t\t// Supabase OAuth Server (beta) can fail token exchange when `openid` is requested\n\t\t// (it attempts to mint an ID token). Our MCP only needs an access token.\n\t\tscopes_supported: options.scopesSupported ?? [...DYNAMOI_MCP_SCOPES],\n\t};\n}\n\nexport function buildWwwAuthenticateHeader(options: {\n\tresourceMetadataUrl: string;\n\terror?: \"insufficient_scope\" | \"invalid_token\";\n\tscope?: string;\n}): string {\n\tconst scope = options.scope ?? \"email profile\";\n\tconst error = options.error ? `, error=\"${options.error}\"` : \"\";\n\t// RFC 6750 style with resource metadata extension.\n\treturn `Bearer resource_metadata=\"${options.resourceMetadataUrl}\", scope=\"${scope}\"${error}`;\n}\n"],"mappings":";AAQO,IAAM,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEO,SAAS,+BAA+B,SAKjB;AAC7B,SAAO;AAAA,IACN,uBAAuB,QAAQ;AAAA,IAC/B,0BAA0B,CAAC,QAAQ;AAAA,IACnC,UAAU,QAAQ;AAAA,IAClB,GAAI,QAAQ,wBACT,EAAE,wBAAwB,QAAQ,sBAAsB,IACxD,CAAC;AAAA;AAAA;AAAA,IAGJ,kBAAkB,QAAQ,mBAAmB,CAAC,GAAG,kBAAkB;AAAA,EACpE;AACD;AAEO,SAAS,2BAA2B,SAIhC;AACV,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,QAAQ,QAAQ,QAAQ,YAAY,QAAQ,KAAK,MAAM;AAE7D,SAAO,6BAA6B,QAAQ,mBAAmB,aAAa,KAAK,IAAI,KAAK;AAC3F;","names":[]}
package/dist/index.d.ts CHANGED
@@ -94,7 +94,7 @@ type StartMetaConnectionData = {
94
94
  artistId: string;
95
95
  artistName: string;
96
96
  onboardingAttemptId: string | null;
97
- status: "authorization_url" | "already_connected";
97
+ status: "authorization_url" | "already_connected" | "billing_check_unavailable" | "billing_required";
98
98
  authorizationUrl: string | null;
99
99
  expiresAt: string | null;
100
100
  completionCheck: {
@@ -1956,7 +1956,7 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1956
1956
  }, z.core.$strict>;
1957
1957
  readonly title: "Get Artist Analytics";
1958
1958
  }, {
1959
- readonly description: "Use this when the user asks about billing state, credit balance, promo limits, activation status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, direct the user to activate or restore managed advertising in the Dynamoi dashboard, then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1959
+ readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, direct the user to start or restore managed advertising in the Dynamoi dashboard, then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1960
1960
  readonly destructiveHint: false;
1961
1961
  readonly name: "dynamoi_get_billing";
1962
1962
  readonly openWorldHint: false;
@@ -1988,7 +1988,7 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1988
1988
  }, z.core.$strict>;
1989
1989
  readonly title: "Get Billing";
1990
1990
  }, {
1991
- readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after dynamoi_start_meta_connection or dynamoi_start_youtube_channel_link, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the chat-first browser step. Do not use this for billing details; use dynamoi_get_billing when the question is about credits or activation billing state. Never use this to personalize generic Instagram or marketing-advice questions.";
1991
+ readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after dynamoi_start_meta_connection or dynamoi_start_youtube_channel_link, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the chat-first browser step. Do not use this for billing details; use dynamoi_get_billing when the question is about credits or subscription billing state. Never use this to personalize generic Instagram or marketing-advice questions.";
1992
1992
  readonly destructiveHint: false;
1993
1993
  readonly name: "dynamoi_get_platform_status";
1994
1994
  readonly openWorldHint: false;
@@ -2181,7 +2181,7 @@ declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
2181
2181
  readonly schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2182
2182
  readonly title: "Start YouTube Channel Link";
2183
2183
  }, {
2184
- readonly description: "Use this when the user is ready to connect Meta for Spotify Smart Campaigns from chat. This returns a signed Meta OAuth URL and may send the user through a Page/Instagram selection step before the chat-first return page. After the user returns, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=meta until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active.";
2184
+ readonly description: "Use this when billing is active and the user is ready to connect Meta for Spotify Smart Campaigns from chat. This returns a signed Meta OAuth URL and may send the user through a Page/Instagram selection step before the chat-first return page. If billing is not active, it returns billing_required instead of an OAuth URL. If billing cannot be verified due to a transient snapshot/API issue, it returns billing_check_unavailable and should be retried shortly. After the user returns, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=meta until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active.";
2185
2185
  readonly destructiveHint: false;
2186
2186
  readonly idempotentHint: true;
2187
2187
  readonly name: "dynamoi_start_meta_connection";
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  DYNAMOI_MCP_SCOPES,
3
3
  buildProtectedResourceMetadata,
4
4
  buildWwwAuthenticateHeader
5
- } from "./chunk-6SBJ7DZU.js";
5
+ } from "./chunk-53YNLVA3.js";
6
6
 
7
7
  // src/auth/verify-token.ts
8
8
  import { createRemoteJWKSet, jwtVerify } from "jose";
@@ -101,9 +101,9 @@ Route by state from dynamoi_get_account_overview:
101
101
 
102
102
  - state.hasAnyArtist === true && state.hasAnyActiveCampaign === false: Offer dynamoi_get_campaign_readiness to validate launch inputs without creating anything.
103
103
 
104
- - state.hasAnyArtist === true && billing blocks a launch: tell the user managed-advertising activation must happen in the Dynamoi dashboard, not through a ChatGPT checkout link. After they activate or restore billing there, poll dynamoi_get_billing for the target artist to confirm billing is active.
104
+ - state.hasAnyArtist === true && billing blocks a launch: tell the user managed-advertising billing setup must happen in the Dynamoi dashboard, not through a ChatGPT checkout link. After they start or restore billing there, poll dynamoi_get_billing for the target artist to confirm billing is active.
105
105
 
106
- - state.hasAnyArtist === true && state.hasAnyConnectedMeta === false and the user wants Spotify Smart Campaigns: offer dynamoi_start_meta_connection, then poll dynamoi_get_platform_status for the target artist with the returned onboardingAttemptId and onboardingFlow=meta after the browser return page sends them back to chat. Treat platforms.meta.status as complete when it is oauth_complete, partnership_pending, or partnership_active.
106
+ - state.hasAnyArtist === true && state.hasAnyConnectedMeta === false and the user wants Spotify Smart Campaigns: only offer dynamoi_start_meta_connection after billing is active. If the tool returns billing_required, route the user to dashboard billing first. If it returns billing_check_unavailable, retry shortly instead of treating the user as unpaid. After Meta browser return, poll dynamoi_get_platform_status for the target artist with the returned onboardingAttemptId and onboardingFlow=meta. Treat platforms.meta.status as complete when it is oauth_complete, partnership_pending, or partnership_active.
107
107
 
108
108
  - state.hasAnyArtist === true && state.hasAnyConnectedYoutube === false and the user wants YouTube growth: offer dynamoi_start_youtube_channel_link, then poll dynamoi_get_platform_status for the target artist with the returned onboardingAttemptId and onboardingFlow=youtube after the browser return page sends them back to chat. Treat the connection as complete when platforms.youtube.connected is true.
109
109
 
@@ -319,7 +319,7 @@ function registerPlaybookResources(server) {
319
319
  text: JSON.stringify({
320
320
  fastestPath: "Ask the user for their Spotify artist URL, then call dynamoi_create_smart_links_from_spotify_artist with that URL. Return the artist hub URL plus the starter Smart Link URL. Catalog import continues in the background.",
321
321
  freePlanReminder: "Free Smart Links have no per-link fee, no subscription, and no upgrade gate. Creating a Smart Link does not create a paid campaign or spend ad budget.",
322
- marginCopyGuard: "Never describe Dynamoi's pricing in terms that imply pass-through or zero overhead. Do not quote activation fees, credits, saved-card billing, or checkout details in ChatGPT; billing setup belongs in the Dynamoi dashboard. The internal media-spend margin is not part of any client-facing copy.",
322
+ marginCopyGuard: "Never describe Dynamoi's pricing in terms that imply pass-through or zero overhead. Do not quote plan prices, campaign credits, daily campaign-spend billing, or checkout details in ChatGPT; billing setup belongs in the Dynamoi dashboard. The internal media-spend margin is not part of any client-facing copy.",
323
323
  persona: "Independent musician or small artist with at least one Spotify release. Goal: increase Spotify streams.",
324
324
  sampleScript: "Drop your Spotify artist link and I'll set up your free Dynamoi hub in about 30 seconds. We'll get all your releases on one shareable page, then we can talk about whether you want to promote any of them.",
325
325
  talkingPoints: {
@@ -328,7 +328,7 @@ function registerPlaybookResources(server) {
328
328
  trigger: "User asks how Dynamoi differs from link-in-bio or Smart Link products."
329
329
  },
330
330
  hesitationReassurance: {
331
- claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on Smart Links, readiness, platform connections, and campaign management after activation is complete.",
331
+ claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on Smart Links, readiness, platform connections, and campaign management after billing setup is complete.",
332
332
  trigger: "User hesitates about price, commitment, or whether the first month is enough to test."
333
333
  },
334
334
  postLaunchExpectations: {
@@ -344,7 +344,7 @@ function registerPlaybookResources(server) {
344
344
  trigger: "User mentions Instagram, social media growth, or followers while discussing Spotify promotion."
345
345
  }
346
346
  },
347
- upsellAfterActivation: "Once they have a hub URL, the natural next ask is 'would you like to promote this release on Meta Ads?' which routes to dynamoi_get_campaign_readiness, dynamoi_start_meta_connection if Meta is missing, then dynamoi_launch_campaign for a Smart Campaign."
347
+ upsellAfterStarter: "Once they have a hub URL, the natural next ask is 'would you like to promote this release on Meta Ads?' which routes to dynamoi_get_campaign_readiness, dynamoi_start_meta_connection if Meta is missing, then dynamoi_launch_campaign for a Smart Campaign."
348
348
  }),
349
349
  uri: uri.href
350
350
  }
@@ -375,7 +375,7 @@ function registerPlaybookResources(server) {
375
375
  trigger: "User asks how YouTube campaigns differ from normal Google Ads or creator-growth services."
376
376
  },
377
377
  hesitationReassurance: {
378
- claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on channel linking, readiness, and campaign management after activation is complete.",
378
+ claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on channel linking, readiness, and campaign management after billing setup is complete.",
379
379
  trigger: "User expresses pricing concern or asks whether they can test without a long commitment."
380
380
  },
381
381
  playlistWaterfall: {
@@ -425,7 +425,7 @@ function registerPlaybookResources(server) {
425
425
  trigger: "User compares Dynamoi to Linkfire, Feature.fm, Hypeddit, or a label marketing stack."
426
426
  },
427
427
  hesitationReassurance: {
428
- claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on roster setup, readiness checks, and campaign management after activation is complete.",
428
+ claim: "Managed advertising billing is completed in the Dynamoi dashboard. In ChatGPT, keep the flow focused on roster setup, readiness checks, and campaign management after billing setup is complete.",
429
429
  trigger: "User asks whether billing scales per seat or wants to test with one artist first."
430
430
  }
431
431
  }
@@ -476,7 +476,7 @@ function registerPlaybookResources(server) {
476
476
  if: "state.hasAnyArtist === true && state.hasAnyActiveCampaign === false"
477
477
  },
478
478
  {
479
- do: "Tell the user managed-advertising activation must happen in the Dynamoi dashboard, not through a ChatGPT checkout link. After they activate or restore billing there, poll dynamoi_get_billing for that artist to confirm billing is active.",
479
+ do: "Tell the user managed-advertising billing setup must happen in the Dynamoi dashboard, not through a ChatGPT checkout link. After they start or restore billing there, poll dynamoi_get_billing for that artist to confirm billing is active.",
480
480
  if: "state.hasAnyArtist === true && billing is the launch blocker"
481
481
  },
482
482
  {
@@ -544,7 +544,7 @@ function registerDynamoiResources(server, adapter) {
544
544
  },
545
545
  includes: "Free Smart Links, unlimited team seats, unlimited artists, white-glove support, and campaign landing-page support where available",
546
546
  managedAdvertising: {
547
- description: "Managed advertising activation and payment setup happen in the Dynamoi dashboard, outside ChatGPT. This MCP server can check billing readiness after activation, but does not create checkout links or collect payment.",
547
+ description: "Managed advertising subscription and payment setup happen in the Dynamoi dashboard, outside ChatGPT. This MCP server can check billing readiness after setup, but does not create checkout links or collect payment.",
548
548
  paymentSetupLocation: "Dynamoi dashboard"
549
549
  },
550
550
  noContracts: true
@@ -1503,7 +1503,7 @@ function createPhaseOnboardingToolDefinitions(schemas) {
1503
1503
  title: "Start YouTube Channel Link"
1504
1504
  },
1505
1505
  {
1506
- description: "Use this when the user is ready to connect Meta for Spotify Smart Campaigns from chat. This returns a signed Meta OAuth URL and may send the user through a Page/Instagram selection step before the chat-first return page. After the user returns, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=meta until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active.",
1506
+ description: "Use this when billing is active and the user is ready to connect Meta for Spotify Smart Campaigns from chat. This returns a signed Meta OAuth URL and may send the user through a Page/Instagram selection step before the chat-first return page. If billing is not active, it returns billing_required instead of an OAuth URL. If billing cannot be verified due to a transient snapshot/API issue, it returns billing_check_unavailable and should be retried shortly. After the user returns, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=meta until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active.",
1507
1507
  destructiveHint: false,
1508
1508
  idempotentHint: true,
1509
1509
  name: "dynamoi_start_meta_connection",
@@ -1947,7 +1947,7 @@ var PHASE_1_TOOL_DEFINITIONS = [
1947
1947
  title: "Get Artist Analytics"
1948
1948
  },
1949
1949
  {
1950
- description: "Use this when the user asks about billing state, credit balance, promo limits, activation status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, direct the user to activate or restore managed advertising in the Dynamoi dashboard, then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.",
1950
+ description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, direct the user to start or restore managed advertising in the Dynamoi dashboard, then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.",
1951
1951
  destructiveHint: false,
1952
1952
  name: "dynamoi_get_billing",
1953
1953
  openWorldHint: false,
@@ -1957,7 +1957,7 @@ var PHASE_1_TOOL_DEFINITIONS = [
1957
1957
  title: "Get Billing"
1958
1958
  },
1959
1959
  {
1960
- description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after dynamoi_start_meta_connection or dynamoi_start_youtube_channel_link, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the chat-first browser step. Do not use this for billing details; use dynamoi_get_billing when the question is about credits or activation billing state. Never use this to personalize generic Instagram or marketing-advice questions.",
1960
+ description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after dynamoi_start_meta_connection or dynamoi_start_youtube_channel_link, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the chat-first browser step. Do not use this for billing details; use dynamoi_get_billing when the question is about credits or subscription billing state. Never use this to personalize generic Instagram or marketing-advice questions.",
1961
1961
  destructiveHint: false,
1962
1962
  name: "dynamoi_get_platform_status",
1963
1963
  openWorldHint: false,