datasets_substack_facets
Return up to 50 count-sorted buckets for one Substack snapshot field under the filters from datasets_substack_search. facet accepts kind or language; page, page_size, and sort do not change counts. Coverage is the incomplete stored public corpus. Use datasets_substack_search to retrieve matching profiles and publications.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"facet": "<facet>"
},
"name": "datasets_substack_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional full-text query over public profile/publication name, handle, bio, subdomain, custom domain and hero text; max 256 characters. | |
| kind | No | Optional record kind. Allowed values: user, publication. | |
| page | No | Result page number, 1-based, default 1; page times page_size must not exceed 10000. | |
| sort | No | Optional sort order. Allowed values: relevance, name_asc, hydrated_at_desc, hydrated_at_asc. Defaults to relevance with q, otherwise hydrated_at_desc. | |
| facet | Yes | required,Required facet. Allowed values: kind, language. | |
| language | No | Optional exact publication language filter; use facet=language to discover stored values. | |
| page_size | No | Page size, default 20, max 100; page times page_size must not exceed 10000. | |
| identifier | No | Optional exact Substack profile handle or publication host from a dataset row, max 253 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |