Peer Comparables
get_peer_comparablesGet ratio-based peer comparison for a company and its closest competitors by SIC industry code. Returns pipeline-computed ratios from up to 10 peers alongside the subject company for direct benchmarking. Ratio categories: profitability, liquidity, leverage, efficiency, per_share, owner_earnings, valuation (price-free reference values only). TTM ratios are used when available. The exact 4-digit SIC code is matched first, then the 3- and 2-digit groupings, with S&P 500 members first within each. Each company appears once, under its main listed share class; a candidate with no figures for the period is left out and counted in peers_omitted_no_data. Without as_of_date, peers are companies listed today. With as_of_date, peers are companies listed on that date — including ones delisted since — ranked by S&P 500 membership on that date, and figures are limited to that date: by SEC acceptance time when the ratio data carries it (_meta.pit_safe=true), otherwise by period end (_meta.pit_safe=false). Set peer_universe to sp500_sector to compare against S&P 500 members in the subject's own sector, in ticker order, instead of SIC-code peers. Plan: every plan; without sign-in it compares within the subset that coverage includes.
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": {
"ticker": "<ticker>"
},
"name": "get_peer_comparables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of peers to return alongside the subject company (1–10). Defaults to 5. | |
| ticker | Yes | Subject company ticker or CIK, e.g. AAPL or '0000320193'. Peers are auto-selected by SIC code. | |
| as_of_date | No | Historical date (canonical cross-tool date param). Peers are the companies listed on this date, including ones delisted since, ranked by S&P 500 membership on this date. Figures are point-in-time by SEC acceptance time when the ratio data carries it (_meta.pit_safe=true), else limited to periods ending on or before this date (_meta.pit_safe=false). | |
| categories | No | Ratio categories to include in the comparison. Defaults to profitability, valuation, and leverage. | |
| peer_universe | No | Where peers come from: 'sic' (default) matches SIC industry codes; 'sp500_sector' uses S&P 500 members in the subject's own sector, in ticker order. | |
| period_end_before | No | Alias of as_of_date (as_of_date preferred — the canonical name). Only include ratios with period_end on or before this date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | One row per company (subject + peers): ticker, cik, name, sector, industry, is_subject, ratios, and `null_reasons[ratio]` (NOT_MEANINGFUL_FOR_SECTOR + see_instead) for a bank's cash-flow and net-debt ratios, and `sector_notes[ratio]` for a bank's debt ratios (borrowings only, deposits excluded): state it beside the figure | |
| note | No | ||
| _meta | Yes | Response metadata (provenance, point-in-time flag, freshness, request id and warnings). Every field is documented once in the agent contract (agent_contract.meta in the server's manifest.json). | |
| lineage | No | Provenance for pipeline-derived values (ratio.parquet / factor_scores.parquet): source table + pipeline computed_at, plus a pointer to the tools that return filing-level lineage. NOT point-in-time (recomputed on each pipeline run). | |
| subject | Yes | Subject ticker the peer set is built around | |
| as_of_date | No | ||
| categories | Yes | Ratio categories included in each peer panel | |
| peers_returned | Yes | ||
| subject_ratios | No | The subject company's ratio panel | |
| period_end_before | No | ||
| peers_omitted_no_data | No | Candidate peers left out because they had no ratio figures for the period; each was replaced by the next-closest candidate |