Read whether a project's scan is still running or already idle.
Use this for scan state. Ranks live on aiseo_list_prompts. For a finish event, subscribe to
aiseo://scan/{projectSlug}(see Connect MCP).
Why you need it
After Instagram (or any) scan starts, prompts stay empty until the job finishes. Polling aiseo_list_prompts and guessing ranks is the wrong signal.
Use it when you need to:
- Wait for an in-flight scan without inventing data.
- Confirm a project is idle before writing a citation mix.
- Distinguish
no_data(no prompts yet) from a scan that is still running.
Capabilities
- Report
stateasrunningordone. - Count in-flight Trigger jobs tagged
project:{slug}. - Count tracked vs scanned prompts (
lastCheckedAtset). - Return
lastCheckedAtfor the newest scanned prompt.
Kickoff results from adding prompts (started, not_entitled, failed) stay on aiseo_add_prompts. This tool is runtime state only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectSlug | string | Yes | From aiseo_list_projects |
Input
{
"projectSlug": "acme"
}
Output
{
"dataStatus": "ok",
"lastCheckedAt": "2026-08-26T12:04:00.000Z",
"project": {
"name": "Acme",
"slug": "acme"
},
"promptCount": 40,
"runningTaskCount": 0,
"scannedPromptCount": 40,
"state": "done",
"usage": "Scan is idle. Call `aiseo_list_prompts`…"
}
| Field | Meaning |
|---|---|
state | running if tagged jobs are still in flight, else done |
runningTaskCount | Active Trigger.dev runs for project:{slug} |
promptCount | Active tracked prompts |
scannedPromptCount | Prompts with lastCheckedAt |
lastCheckedAt | Newest scan time, or null |
dataStatus | ok or no_data (no prompts yet) |
no_data is not a 401. Do not invent ranks. See Connect MCP.
Example prompt
Call
aiseo_get_scanfor this project. Ifstateisrunning, wait for the scan-complete notification. Whendone, callaiseo_list_promptsandaiseo_list_sources. Do not invent ranks.
Next
- aiseo_list_prompts after the scan is done
- aiseo_list_sources for citation mix
- Connect MCP for
resources/subscribe