Skip to main content

sdac-verify-external-licensing

Purpose

Verifies provider licensing and certification status using cached records and provides manual verification URLs when automated verification is unavailable.

Tool type

Deterministic (rule-based)

Tool ID

sdac-verify-external-licensing

Inputs

  • provider_type (string)
  • provider_name (string)
  • state (string)
  • district_id (string, optional)
  • record_id (number, optional)
  • first_name, last_name (string, optional)
  • license_number (string, optional)

Outputs

  • success, verified
  • verification_source (NASP, MO_DPR, STATE_BOARD, CACHED, MANUAL_REQUIRED)
  • licenses, certifications
  • requires_manual_verification, manual_verification_urls
  • requires_follow_up, follow_up_reason

Example output

{
"success": true,
"verified": false,
"verification_source": "MANUAL_REQUIRED",
"licenses": [],
"certifications": [],
"requires_manual_verification": true,
"manual_verification_urls": [
"https://pr.mo.gov/licensee-search.asp",
"https://www.nasponline.org/standards-and-certification/nasp-certification"
],
"requires_follow_up": true,
"follow_up_reason": "No current credential record is available in the maintained verification source."
}

Functional details

  • Checks cached verification records and their freshness window.
  • Marks expired or missing credentials for follow-up.
  • Returns official verification URLs when manual checks are required.

Usage notes

  • Use after sdac-track-provider-credentials to verify specific providers.
  • The tool favors cached results to avoid unnecessary external checks.

Implementation details

  • Queries SDAC.data_LicenseVerifications for the latest verification entry.
  • Calculates cache freshness and expiration status.
  • Falls back to manual verification when automated checks are not available.

Code Location: packages/domain-sdac/src/tools/verify-external-licensing.tool.ts