Broadcast Message
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
2026-07-12.1 - Descriptor hash:
dfb028e20183c73a4bd816611fb95a541378f7f4e8d4014334d6a442280cfd77
Send the same message to multiple Wave rooms. Defaults to dry-run and requires broadcast confirmation to send.
Request Body
{
"jsonrpc": "2.0",
"id": "wave-wave-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}
Arguments Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"roomIds",
"body",
"dryRun",
"confirm",
"confirm_phrase"
],
"properties": {
"body": {
"type": "string",
"minLength": 1,
"description": "Plain-text broadcast message body."
},
"actor": {
"enum": [
"user",
"bot"
],
"type": "string",
"description": "Wave messaging identity to use: user or bot."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "Return targets and a preview without sending when true."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true when dryRun is false."
},
"roomIds": {
"type": "array",
"items": {
"type": "string",
"description": "Matrix room ID to receive the broadcast."
},
"minItems": 1,
"description": "Matrix rooms to target, capped by server configuration."
},
"confirm_phrase": {
"type": "string",
"default": "",
"description": "Must exactly equal \"WAVE BROADCAST CONFIRM\" when dryRun is false."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the Wave MCP operation completed successfully."
},
"data": {
"anyOf": [
{},
{
"type": "null"
}
],
"description": "Tool-specific Wave, Matrix, Synapse, or local navigation result."
},
"meta": {
"type": "object",
"description": "Safe execution and actor metadata without credential values.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Stable machine-readable error classification."
},
"details": {
"description": "Optional safe error context without credentials or request bodies."
},
"message": {
"type": "string",
"description": "Safe actionable error message."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false."
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "wave-wave-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "wave-wave-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "wave-wave-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool wave.wave_broadcast_message executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}