cluster_context
What happened recently to a ticker's peers: the cluster's move over the last 5 or 20 days (raw, market and residual), plus the news, earnings reactions, earnings-call guidance, price-mover explanations and themes that name its members. Give a symbol (its cluster; share classes are one company) or a cluster_id from graph_neighbors. Mega-caps and other names without a tight cluster get their closest residual-correlation peers instead (peers.kind = 'neighbors'). Peers are the ticker's residual-correlation cluster: stocks that move together once the market is removed. move is the cluster's equal-weight average in percent over the last 5 or 20 sessions: raw_* is the plain price move, market_* is SPY's, and residual_* is the move left after removing the market (the cluster-specific part); move.members has each member's own figures. Every news, earnings, transcript, mover and theme item cites a member symbol and a date. The optional digest (include_digest) is an LLM summary constrained to the cluster's members, each bullet citing members and a date; it may add latency, not cost. With mode 'peers' (symbol input only) the peers are instead the stocks whose residual moves track the ticker most closely (positive residual correlation over the past year, listed in peers.corr, with the ticker's leaf cluster as peers.theme): move is then the peers-only mean, move.symbol the ticker's own move and move.divergence_5d / _20d the ticker minus its peers, in percentage points. All of it is descriptive, not a recommendation. Free within your daily allowance (anonymous 5/day by IP, signed-in users 10/day, power users 50/day); beyond that $0.03 per call via x402 (USDC), with or without the digest.
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": "cluster_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days: 5 (default) or 20. | |
| mode | No | Symbol input only. 'cluster' (default): the ticker's residual-correlation cluster. 'peers': the ticker plus the stocks whose residual moves track it most closely (with peers.corr), the peers' mean move, the ticker's own move and its divergence from them. | |
| symbol | No | Ticker symbol, e.g. RGTI. Give this or cluster_id, not both. | |
| cluster_id | No | Cluster id from graph_neighbors. Give this or symbol, not both. | |
| include_digest | No | Also attach the LLM digest (default false). Slower; a failed digest comes back as digest: null with digest_status, never as an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | 5 or 20 calendar days behind news, earnings, transcripts, movers and themes | |
| move | Yes | ||
| news | Yes | ||
| as_of | Yes | YYYY-MM-DD the window ends on | |
| peers | No | symbol input only: the peers the payload covers (absent for cluster_id input) | |
| counts | Yes | ||
| digest | No | include_digest only: LLM summary constrained to the member symbols of the peers; null when it could not be produced | |
| movers | Yes | ||
| symbol | No | The ticker asked about (symbol input only) | |
| themes | Yes | ||
| cluster | Yes | The symbol's cluster, or null when it is in no tight cluster (then see peers) | |
| earnings | Yes | ||
| transcripts | Yes | ||
| digest_model | No | include_digest only | |
| digest_status | No | include_digest only |