Get program directory counts
get_directory_statsCount the licensed youth programs listed in BackPR's program finder: total listings and counts by type (childcare centers, school-age programs, camps and youth programs), for one state or for every state with data, with the date the data was last updated. Use it for questions like "How many childcare centers are listed in Texas?". Counts cover the states that publish program data; home-based family childcare isn't listed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_directory_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional US state name or 2-letter code, such as "Texas" or "TX". Omit for every state with listings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| scope | Yes | ||
| state | Yes | ||
| total | Yes | Active listings | |
| states | No | All-states scope only | |
| by_type | Yes | Listings by program type; null when the breakdown isn't available | |
| cite_as | Yes | ||
| updated | Yes | Newest data update, YYYY-MM-DD | |
| source_url | Yes | ||
| state_code | Yes | ||
| dataset_url | Yes | ||
| states_with_listings | Yes |