Prepare cohort comparison history
research_prepare_cohortsUse this when starting a group relationship comparison without a usable prepared snapshot, e.g. comparing decentralised-finance and artificial-intelligence crypto tokens over seven days. Do not use for taxonomy lookup alone, waiting on a progress handle, or re-preparing a suitable snapshot for every filter change or replay frame. Selection: days selects 1, 7 or 30 days of retained history. Resolve requested group IDs from the returned catalogue, not guessed labels. Presentation: Preparation plus this snapshot's initial comparison. The initial default groups are not necessarily the user's groups; if they match the user's groups, answer from facts.summary instead of re-running the comparison. Evidence: Progress is not an answer and no job id is surfaced: this tool waits briefly and re-issues the same request. If history is still warming, retry the same request shortly rather than ending the turn with a placeholder. Once ready retain snapshot_id; facts.summary gives the window, each group's last returned line point (return_pct, relative_pp, as_of) and charted/member counts, so inspect /initial/catalogue, /initial/selection and /initial/history_range only for a specific detail asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Retained history length to prepare: 1, 7 or 30 days. Reuse an existing suitable snapshot rather than preparing on every refinement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | No | ||
| status | Yes | ||
| message | No | ||
| surface | Yes | ||
| evidence | No | ||
| selection | Yes | ||
| research_url | Yes | ||
| schema_version | No | tcd.mcp-research/v2 | |
| retry_after_seconds | No |