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_statusis 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_approveandcampaign_edit_notificationanswerbusy: nothing written, no credit spent, and the assistant tells you who.campaign_createnever 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
Transactionaland 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:
quickstartandemail_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.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
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 inEditing.
The compass
- 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
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.Test it and promote it
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.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
The assistant reported ai_credits_exhausted. What now?
The assistant reported ai_credits_exhausted. What now?
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.The assistant reported run_in_progress. What now?
The assistant reported run_in_progress. What now?
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.The assistant reported busy. What now?
The assistant reported busy. What now?
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.My assistant has no access to our code. What happens to implementation tasks?
My assistant has no access to our code. What happens to implementation tasks?
Which tools cost AI credits?
Which tools cost AI credits?
campaign_edit_notification, one copilot turn per call. Approving a proposal materialises the flow deterministically and costs nothing extra. Reads never do.Can the assistant publish a campaign for me?
Can the assistant publish a campaign for me?
A tool answered blocked with a list of reasons. Is that an error?
A tool answered blocked with a list of reasons. Is that an error?
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.I want the assistant to only read, never write.
I want the assistant to only read, never write.
insufficient_scope while reads keep working. See scopes and audit.Do these tools exist for editors other than Claude?
Do these tools exist for editors other than Claude?