Count SMQL Queries
count_smql_queriesCount the public scans matching each of up to 25 SMQL queries in one request, for example to see which indicators of a campaign are selective. Each count stops at 10,000 (exact_count is then false); a count that ran out of time has count_unavailable true, and a query that does not parse gets its own error without failing the others. With sites true, queries with 10 or more matches also get the number of distinct sites, how many of them are rated high risk, and whether the value is shared widely by unrelated sites. Counts are cached for up to 30 minutes.
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": {
"queries": "<queries>"
},
"name": "count_smql_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | No | Also summarise the sites behind each query with 10 or more matches: distinct sites, how many are rated high risk, and whether the value is shared widely by unrelated sites. | |
| queries | Yes | SMQL queries to count, 1 to 25, each up to 2000 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||