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, each with a source name and a link to the Compliance Guide.
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?” Include any state, topic, or channel directly in the query text — the search is semantic.
Maximum number of ranked chunks to return (1-25, default 20).
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.
- The search is semantic — put any state, topic, or channel directly in the
querytext (e.g. “SMS call-time restrictions in Florida”) rather than as separate parameters. - 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.