cdp_score_spam
Analyze email or message content to determine spam probability using the CDP MCP Server's spam scoring API. Submit content as a JSON array for evaluation.
Instructions
Score email/message content for spam likelihood (POST /v2/{tenantId}/spam/score). The request body MUST be a JSON ARRAY: [{"subject": "...", "body": "...", "fromAddress": "...", "fromName": "..."}]. Passing a single object returns E400 'Cannot deserialize from Object value'. Pass the array as a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |