Tool reference
12 tools on one endpoint, https://truvek.io/mcp. Each one lists what it takes, what it returns and the tool to call next.
Every response has the same shape
{
"verdict": "block", pass, review, block, or info for reference tools
"findings": [{
"rule": "unsubscribe_missing",
"title": "Unsubscribe link missing",
"scope": "AU, US, CA, EU", laws for Comply, client or area for Design
"line": null, line in the HTML, when there is one
"fix": "Add a working unsubscribe link."
}],
"next_tool": "comply_check_message"
}
Tools
-
design_get_guideProcedural guidance on where generated email breaks and how to avoid it.
Inputs
topicscreenshot-to-layout or outlook or gmail or dark-mode or accessibility or sending-from-your-app or why-truvek
Returns
The guide text for one topic: where generated email breaks and how to avoid it.
Next tool
-
design_get_schemaReturns the JSON Schema for a Truvek email layout, the module catalogue, supported sending dialects and a worked example.
Inputs
- No inputs
Returns
The layout JSON schema and the list of modules (header, hero, columns, footer and the rest).
Next tool
-
design_extract_brandFetches a public https page and returns likely brand colours, font stack and logo candidates to use as layout.brand.
Inputs
urlstring
Returns
Brand colours, fonts and logo candidates from the user's own https site, with warnings.
Next tool
-
design_compileCompiles a Truvek layout into email HTML, a plain-text part and (for dialect 'app') a TypeScript render() module, then lints the result.
Inputs
layoutobjectdialectapp or handlebars or sfmc or braze or klaviyo or shopify, default app, optionalinclude_htmlboolean, default true, optionalverbosityfull or compact, default full, optional
Returns
Email HTML for the chosen platform, a plain-text version and a summary of the checks.
Next tool
design_autofixordesign_compilewhile blocked, thencomply_check_messagefor marketing email ordeliver_send_requirementsfor transactional -
design_lintChecks any email HTML (hand-written, AI-generated, from an ESP or a CRM) against 51 rules covering Outlook, Gmail, mobile, dark mode, accessibility, merge tags, links, images, deliverability, Spam Act basics and code-generation leftovers (unrendered ${}, 'undefined', JSX attributes, Tailwind classes, localhost links).
Inputs
htmlstringstagetemplate or rendered, default template, optionalkindmarketing or transactional, default marketing, optionalverbosityfull or compact, default full, optional
Returns
Findings for existing email HTML, each with the rule, the line and the fix.
Next tool
design_autofixfor fixable errors,design_lintafter fixing by hand, thencomply_check_messagefor marketing email ordeliver_send_requirementsfor transactional -
design_autofixApplies deterministic fixes that never change how the email looks in good clients (doctype, lang, meta tags, role=presentation, table resets, display:block images, removing scripts) and returns the fixed HTML with the remaining lint findings that need judgement.
Inputs
htmlstringlangstring, optionaltitlestring, optionalkindmarketing or transactional, default marketing, optional
Returns
The HTML with mechanical issues fixed, what changed, and what is left to fix by hand.
Next tool
-
design_explain_ruleFull reasoning, affected clients, fix and examples for a rule id from design_lint.
Inputs
rule_idstring, optional
-
deliver_send_requirementsFor CRMs that send through Resend, SES, Postmark, SendGrid, Nodemailer or Mailgun directly.
Inputs
providerresend or ses or postmark or sendgrid or nodemailer or mailgunkindmarketing or transactional, default marketing, optional
Returns
Headers, DNS records and a code snippet for sending through Resend, SES, Postmark, SendGrid, Nodemailer or Mailgun.
Next tool
None. This is the end of the loop.
-
comply_check_messageRun email/SMS compliance checks before sending.
Inputs
subjectstringbodystringchannelstring, default email, optionalconsentstring, default unknown, optionalsender_identifiedboolean, default false, optionalrecipientstring, optionalcampaign_idstring, optionaljurisdictionstring, default all, optional
Returns
Findings by law (Spam Act, CAN-SPAM, CASL, GDPR and ePrivacy, TCPA), the message classification and a check_id.
Next tool
comply_check_messageafter fixing a block, otherwisedeliver_send_requirements -
comply_classify_messageClassify a message as marketing, transactional, transactional_with_promotion, or unclear.
Inputs
subjectstringbodystringchannelstring, default email, optional
Returns
Whether the message counts as marketing, transactional or transactional with promotion, and why.
Next tool
-
comply_explain_ruleLook up a specific compliance rule by its ID.
Inputs
rule_idstring
Returns
The law section, what it requires and how to fix it, for one rule.
Next tool
-
comply_list_rulesReturn all compliance rules known to SendCheck.
Inputs
- No inputs
Returns
Every compliance rule with its law, jurisdictions and severity.
Next tool