search_compliance_guide tool performs a retrieval-augmented (RAG) search over DNCScrub’s Compliance Guide — the authoritative source for federal and state telemarketing, TCPA, and Do Not Call regulatory guidance — and returns the most relevant content chunks with citations.
Use it to ground compliance answers in source material before responding. Do not answer regulatory questions from memory alone; search the guide first to ensure accuracy.
When to Use
- Answering questions about DNC rules, TCPA requirements, or state-specific calling restrictions
- Looking up call-time windows, holiday restrictions, or registration requirements
- Researching EBR (Established Business Relationship), consent rules, or penalties
- Grounding an AI agent’s compliance decisions in DNCScrub’s authoritative guidance
For checking whether a specific phone number can legally be called, use
scrub_phone_numbers instead. This tool returns regulatory guidance, not a per-number compliance result.Parameters
Natural-language question to search the Compliance Guide for, e.g. “What are the call time restrictions in Florida?”
Optional 2-letter state/jurisdiction code to focus the search (e.g.
CA), or a federal authority (FCC or FTC).Optional compliance topic to focus the search (e.g.
Do Not Call, Call Times, EBR).Optional outreach channel to focus the search on. One of
call, sms, or email.Maximum number of ranked chunks to return (1-25, default 10).
API key. Only required if not provided via the
x-dncscrub-api-key HTTP header.Response
Whether the search succeeded.
Ranked content chunks, most relevant first.
Number of chunks returned.
Time the search took, in milliseconds.
Machine-readable error code (when failed):
MISSING_INPUT, MISSING_API_KEY, INVALID_API_KEY, or API_ERROR.Human-readable error description (when failed).
Examples
- Request
- Response
Usage Notes
- Access requires a DNCScrub API key with Compliance Guide entitlement, the same authorization used by the other Compliance Guide tools.
state,topic, andchannelfocus the search. They bias ranking toward the most relevant guidance.- Always cite the returned
sourceUrlwhen relaying guidance to an end user. - Results are excerpts of authoritative guidance; treat them as the most accurate source and prefer them over model priors.