Skip to main content

MCP tools

The Notifizz MCP server — MCP being the Model Context Protocol, the open standard an AI assistant uses to call outside tools — exposes 33 tools. This page groups them by what you are trying to do, and says when each one is worth calling. This page is for the Dev, and for anyone who wants to know exactly what an AI assistant can and cannot do to a Notifizz organisation. You rarely call these by hand: you describe the outcome, and the assistant chains them.

TL;DR

  • Six intents: set up the data contract · configure the channels · build a campaign · implement it · test and promote it · migrate existing email templates.
  • campaign_get_status is the compass. After any campaign step it reports the phase, what is blocking, which role must act, the open questions, the proposal waiting for approval and the next tool to call. An assistant that reads it never has to guess — and a new conversation resumes from a campaign id alone. It asks the assistant one question, can_edit_code: can it edit your project’s code from where it runs? Only the steps that need code depend on the answer.
  • A failure is reported as a failure. A refused approval or a failed copilot turn comes back as an error, never as a success with a warning inside.
  • One AI run at a time per campaign. A tool that would start a second one while a reply is in progress is refused with run_in_progress — nothing written, no credit spent. The assistant waits, reads the compass, and retries only if it is still needed.
  • One hand per campaign. Writing in a campaign’s conversations — campaign_create, campaign_answer, campaign_approve, campaign_edit_notification — takes its hand for the assistant. While someone else holds it — a person in the dashboard, you included, or another person’s assistant — campaign_answer, campaign_approve and campaign_edit_notification answer busy: nothing written, no credit spent, and the assistant tells you who. campaign_create never does: the draft it creates is new, and nobody else holds it. A person always takes the hand back, with a click in the dashboard or by writing; an assistant’s hand frees itself 20 minutes after its last write with those tools — reading the compass does not extend it.
  • The server ships its own playbook. The order of operations is sent to the assistant on connection, so you don’t have to prompt it into the right sequence.
  • Four human gates: approving a proposed flow, confirming an archive, choosing the category when Notifizz suggests Transactional and nobody has chosen one, and publishing Live — the last two have no tool at all and only ever happen in the dashboard.
  • Writes are gated by permissions and recorded. Reads are not recorded. See scopes and audit.
  • Two tools return a plan rather than doing something: quickstart and email_templates_migration. They are the entry points; the plan they hand back gates every write behind your confirmation.

Set up the data contract

The foundation: what your product emits (events), what fetches live data at notification time (enrichers), where a call to action points (link routes), and the business language all of it is named in.
The gates are the point. The quickstart is not a script that runs and reports; it stops three times — vocabulary first, then events and enrichers, then link routes — and refuses to name anything before you have settled the language. Vocabulary comes first so nothing gets renamed later.

Several sandboxes

sandbox_get_config returns no keys at all if your organisation has several non-production environments and none was named — it returns the list of names instead, and the assistant asks you which one. The convention is one personal dev environment per developer: own keys, own local tunnel, no cross-talk between teammates. campaign_send_test_event follows the same rule.

Configure the channels

Web push itself is in closed beta and enabled per organisation. These two tools run regardless, but the push channel only becomes selectable on a campaign once your organisation is switched on — see web push.
The identity field has to agree with itself. The value the widget authenticates with, the field named here, and the property your events and enrichers use to address a recipient must be the same thing. When they diverge, nothing errors — the inbox simply stays empty.

Build a campaign

The business half. The copilot interviews you about intent, audience, tone, key message and timing — and deliberately knows nothing about enrichers or event properties. That conversation belongs to the campaign in Editing.
The duplicate check is not a nuisance. The same event does not mean the same campaign, and only a human can tell which is which — so the tool surfaces what already exists and stops. It also silently reuses a recent empty draft created from an identical brief, so a retry doesn’t litter your list — even a retry sent while the first turn is still running.
When the copilot needs an event you don’t have yet. It does not invent one: it names the event it needs and waits. An assistant that can edit your code is told what to do — declare the event in your codebase and track it where it happens, run discovery so Notifizz knows it, then tell the copilot it exists. An assistant that cannot, a chat assistant for instance, names the event to you and stops: declaring it is Dev’s work, from an IDE or a coding agent. An event that reacts to time or volume (inactivity, a threshold, a digest, a schedule) is not emitted by your code: you create it in the dashboard.

The compass

It also answers three questions nothing else does:
  • Where an interrupted interview stands. The copilot’s conversation is kept by Notifizz, not by the assistant, and it is the same one the dashboard copilot shows — a turn played there is in it too. A conversation closed halfway through, or a new one opened the next day, resumes from the campaign id: the questions still waiting for an answer and the proposal still waiting for approval are in the snapshot. When the copilot has not answered the last message yet, the snapshot says so — and carries that message, so it can be sent again word for word — rather than offering an older proposal. If its reply is still in progress, sending the message again is refused with run_in_progress: the assistant waits and reads the snapshot again, where the reply shows up once it is written. After an approval, it says the flow is being designed until the last notification is written; if nothing moves, it sends the user to the dashboard to finish the notifications — a built flow is never rebuilt by approving again.
  • Who receives the later sends of a sequence — recipients resolved at each send, or frozen at the first one.
  • Whether a published campaign has a pending update. Editing a Live campaign forks a child that carries its own tasks and its own orchestrator thread. Asking the parent would report “live, nothing to do” and hide it, so the snapshot folds in the child’s id — you drive the child, and publishing the update stays a human step in the dashboard.

Find a campaign

The filters are the dashboard’s, plus two: status, user flow, funnel stage, category, health, trigger event, channel, and part of the name. Values within a filter widen it, filters combined narrow it. Status matches the campaign or its pending update: asking for campaigns in Editing also returns a Live campaign whose update is being edited — and that update is the one to drive. A campaign nobody categorised counts as product, the category it is sent under; one never evaluated counts as healthy. Results come 50 at a time by default, 100 at most, with the offset of the next page.

Change a published campaign

Implement it

The technical half. The AI orchestrator reconciles the campaign’s notifications against the events and enrichers that actually exist in your codebase, and raises implementation tasks for the gaps. The three task types are the ones the orchestrator can raise: a missing event property, an undefined enricher, a missing enricher field. They are not a blocker but a feature — the AI telling you precisely what your data contract is short of, in a form your IDE can execute.

Test it and promote it

campaign_send_test_event is a Review-phase tool. On a Live campaign the same event would really send — which is exactly why the tool refuses to fire there.

Clean up

Migrate existing email templates

Bring the emails you already own — from your current sending tool, or an export folder — into your Notifizz component library as reusable layouts, sections and assets.
A real corpus never enters the assistant’s context. Tool arguments travel through the model’s context window, and a genuine template library is megabytes of HTML. The migration plan therefore hands the assistant a short-lived, read-only way to submit the whole corpus out of band — deduplication still sees every template at once, and the HTML never costs you a single token. email_templates_analyze stays for small batches.

Rules the server enforces

These are not conventions the assistant may or may not honour — they are enforced server-side.
  • Your organisation is derived from the credential, never from a tool argument. There is no parameter through which an assistant could address another organisation.
  • Publishing Live has no tool. The absence is the design.
  • One AI run at a time per campaign. A copilot turn, an orchestrator pass, an approval being designed, an email being revised: whichever started first runs alone, whether it came from the dashboard or from an assistant. Anything that would start a second one is refused with run_in_progress: it starts nothing and costs nothing.
  • Content from your organisation is data, not instructions. Campaign briefs, campaign names, copilot and orchestrator questions come back to the assistant explicitly tagged as content to relay or display — never as instructions to follow, whatever they happen to say. This is what stops a campaign brief from becoming a set of commands.
  • Write tools are permission-gated and recorded; a refusal names the missing permission rather than failing vaguely. See scopes and audit.

FAQ

Copilot turns draw on your organisation’s daily AI-credit pool, and the turn that hit the limit did not run — nothing was half-done. The pool resets at UTC midnight, and it can be raised. Everything deterministic keeps working in the meantime: campaign_get_status, campaign_approve, campaign_list_tasks and the rest are unaffected. If it happened on campaign_create, the empty draft already exists and the error names it: resume that one with campaign_answer once the pool resets.
Nothing is broken. Notifizz runs one AI reply at a time per campaign, wherever it comes from: a teammate talking to the copilot or to the orchestrator in the dashboard, someone revising an email with its assistant, or an earlier call from your own AI tool that is still running. The call that was refused wrote nothing — no message added to the conversation, no change to the campaign — and spent no credit.What the assistant does next: wait, then read campaign_get_status again. The reply in progress often answers what you were about to ask, so it retries only if that is still needed. In the Implementation phase the compass says it directly: it tells the assistant to wait while a run is in progress on the campaign — any run, not only the orchestrator’s — and, when a message is waiting but nothing is running, to re-run the orchestrator once with campaign_implement.The four tools that can answer this way are the ones that start an AI run on an existing campaign: campaign_answer, campaign_edit_notification, campaign_approve and campaign_implement. Reads never do.
Someone else is working on this campaign: a teammate writing to the copilot, the orchestrator or a notification’s design agent in the dashboard, or another person’s AI assistant. Each campaign has one hand at a time, and an assistant never takes it from a person. The refused call wrote nothing and spent no credit; its control field says who holds the hand, and the same field is in campaign_get_status.What the assistant does next: tell you who holds it, and wait for you — it does not retry in a loop. A person hands it back from the dashboard (Hand back, or closing the panel), or it frees itself 20 minutes after their last message. Another person’s assistant has no button: its hand frees itself 20 minutes after that assistant’s last write.Most often, the hand is yours. You wrote in the campaign from the dashboard, then asked your assistant to continue: your own hand in the dashboard blocks it, and the assistant says so. Click Hand back or close the panel, and it can go on. Your assistants, on the other hand, share one hand between them: one you started from your IDE and one in a chat app never block each other.Only three tools can answer this way: campaign_answer, campaign_approve and campaign_edit_notification, which write in an existing campaign’s conversations. campaign_create takes the hand of the new draft it creates, which nobody else can hold yet. campaign_implement, review and labels do not take the hand, and are never refused by it.
Nothing is refused. The assistant builds the campaign with you, sends it to implementation, then takes it to Review and tests it. What needs your code it does not attempt: an event the copilot asks for, it names and stops (the campaign cannot be built until Dev declares it); open implementation tasks, it lists and stops. Dev does that work from an IDE or a coding agent. Once Dev is done, tell the assistant: it checks again and carries on.
The copilot conversation — creating a campaign and answering its questions — and revising one notification with campaign_edit_notification, one copilot turn per call. Approving a proposal materialises the flow deterministically and costs nothing extra. Reads never do.
No. There is deliberately no tool for it: a campaign goes Live from the dashboard, by a person. The assistant takes it as far as a tested campaign sitting in Review, and hands you the link.
No — it is a gate doing its job. Promotion tools return the exact reasons a transition was refused (an empty notification, no bound event, unresolved implementation tasks, a missing orchestrator analysis) so the assistant can fix them and retry, rather than leaving you with a campaign in a state nobody can explain. A published campaign — Live or Offline — is the exception: it is refused outright, and retrying does not help. The assistant works on its pending update when it has one; otherwise, when you ask for a change, it opens a new version of it with campaign_create_new_version — except for a marketing campaign, a broadcast or a continuous, segment-driven campaign, which only a person changes, in the dashboard. A continuous one gets its new version there, with Edit. A broadcast not sent yet is stopped by a person, which returns it to Review; once it has started sending, a new mailing starts from a duplicate.
That is what the permission model is for: a credential can be narrowed so every write tool is refused with insufficient_scope while reads keep working. See scopes and audit.
The server speaks standard MCP over its remote transport, so any client implementing the protocol and its authorisation flow reaches the same tools. Claude Desktop and Claude Code are the two surfaces Notifizz supports and tests today — see connect your AI tool.

See also

Connect your AI tool

The one-time consent, and what the first connection does.

Scopes & audit

Which tools each permission covers, and what is recorded.

Campaigns

The statuses these tools move a campaign through.

Orchestrator

Where implementation tasks come from.