LeadShield Contact Form & B2B Solicitation Blocker
v1.1.3Preview form screening and manage site rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
leadshield_screen_submission Screen a contact form message
Check a message against the connected site's spam rules and, when configured, its intent classifier. Returns the screening decision and reason. This preview does not store the message, send it to a customer, or process a payment.
| Parameter | Type | Description |
|---|---|---|
message * | string | Inbound form message or inquiry text to evaluate. |
site * | string | A site connected to your LeadShield account, such as 'review-demo'. |
country | string | Two-letter ISO 3166-1 alpha-2 country code (e.g. 'US', 'CA'). |
email | string | Submitter email address. |
formType | string | Optional form-type preset to evaluate against. |
name | string | Submitter full name. |
phone | string | Submitter phone number. |
timezone | string | Submitter IANA timezone (e.g. 'America/Los_Angeles'). |
leadshield_get_blocked_spam_report Get Blocked Contact Form Spam Report & Metrics
Read blocked-message counts, categories, screening stages, and recent submissions for your connected sites. The date window uses UTC calendar days and includes today.
| Parameter | Type | Description |
|---|---|---|
clientSlug | string | A connected site to report on. Omit to combine only the sites connected to your account. |
days | integer | Lookback window in days (1 to 90, default 7). |
limit | integer | Maximum number of recent blocked records to include (1 to 50, default 10). |
leadshield_get_spam_policy Inspect Site Contact Form Spam Policy & Form-Type Presets
Inspect the saved spam rules for a connected site, including countries, phone formats, URLs, keywords, and its form preset. Supply a formType to preview that preset without changing the saved policy.
| Parameter | Type | Description |
|---|---|---|
site * | string | A site connected to your LeadShield account. |
formType | string | Optional formType preset to preview. |
leadshield_configure_spam_policy Preview or Save Site Screening Rules
Preview changes to a connected site's spam rules. Set dryRun to false to save them with write access. Saved rules affect future submissions. Omitted settings are preserved. A successful save returns the policy read back from storage.
| Parameter | Type | Description |
|---|---|---|
site * | string | Target site or client slug. |
allowedCountries | array | Allowed ISO 3166-1 alpha-2 country codes (e.g. ['US', 'CA']). |
allowedPhoneFormats | array | Accept a phone number when it matches any listed format. Supported formats: us-nanp, uk, au, eu, international, e164, any. US_NANP and E164 are accepted aliases. An empty list restores the single-form… |
blockUrlsInMessage | boolean | Whether to block URLs and HTML anchor tags in messages. |
blockedKeywords | array | Keywords or phrases that block a submission, matched without regard to case. |
dryRun | boolean | Defaults to true. Set to false with account write access to save changes. |
formType | string | Default form-type preset for this site. |
maxUrls | integer | Maximum allowed URLs when blockUrlsInMessage is false. |
requiredKeywords | array | At least one listed phrase must appear in the message, matched without regard to case. An empty list disables this rule. |
leadshield_generate_guard_embed Generate a form guard setup snippet
Generate an HTML script snippet and setup addresses for a site. Choose HTML, HighLevel, WordPress, HubSpot, or Astro. The result is setup guidance; this tool does not install or activate the guard.
| Parameter | Type | Description |
|---|---|---|
site * | string | Your site's LeadShield identifier, such as 'review-demo'. |
formType | string | Optional formType preset attribute. |
platform | string | Target website or CRM platform. |