set_mail_test_monitor_state
Pause or resume a mail test monitor. Pause a monitor (no analysis, no cost) or resume it.
Action Free scope: mailtester
What it does
Stops a monitor without losing it. While paused, emails sent to its address are ignored and cost nothing; its history and settings stay.
When to use it
- You pause sending for a while and do not want to pay for tests.
- You want to keep credits for something else this month.
Try asking
- Pause the newsletter monitor until January.
- Resume all my monitors.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
monitor_id | integer | required | From list_mail_test_monitors. |
active | boolean | required | true = resume, false = pause. |
Result
Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.
| Name | Type | Description |
|---|---|---|
monitor | object | The monitor after the change, same fields as in list_mail_test_monitors. |
Example
Call
What the assistant sends. Your MCP client adds the protocol envelope and headers itself.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_mail_test_monitor_state",
"arguments": {
"monitor_id": 1,
"active": false
}
}
}Result
The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.
structuredContent
{
"data": {
"monitor": {
"monitor_id": 1,
"name": "Daily newsletter check",
"email_address": "modemo00000001@test.sendbridge.com",
"active": false,
"alert_email": "jane@example.com",
"alert_below": 8.0,
"alert_drop": 1.0,
"max_per_day": 1,
"run_count": 14,
"last_run_at": "2026-12-04T23:24:24Z",
"last_score": 9.4,
"last_test_token": "demo00000001",
"last_error": null,
"created_at": "2026-11-21T01:24:24Z"
}
},
"meta": {
"request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
"mode": "live",
"credits_charged": 0,
"credits_remaining": 4820
}
}Errors
invalid_request | An argument is missing, has the wrong type or is out of range. |
not_found | The id or token does not exist in this account. |
forbidden | The account may not do this yet, most often because its email address is not confirmed. |
What the assistant is told
This is the description your assistant reads when it decides whether to use the tool:
Pauses or resumes a mail tester monitor. A paused monitor ignores the emails sent to its address: they are not analysed and not billed. Resuming makes it analyse (and bill) arriving emails again. Free. Get monitor_id from list_mail_test_monitors.