screen_metric_trend
Multi-period time series of one financial metric across a peer group, each cell traceable to one filing period ("how has Costco's operating margin moved vs. Walmart and Target?").
Chart: per the server "Charts" guidance; in ChatGPT call render_chart(source_tool="screen_metric_trend", source_args=, output="python").
Pick companies either with peers (names or tickers, Nordic and US
mixed) or by ranking the top top_n by rank_metric within
countries / industry / tag_slugs.
Args:
metric: revenue, gross_profit, ebit, ebitda,
net_income, operating_cash_flow, free_cash_flow;
margins gross_margin, operating_margin, ebit_margin,
ebitda_margin, net_margin (computed deterministically;
ebit_margin uses EBIT, operating_margin the IFRS operating
profit line); plus granular IFRS line items (annual only). US
EBITDA is operating income + D&A; companies without D&A drop out.
peers: Explicit list; ranking filters are then ignored.
countries: e.g. ["FI"], ["SE"], ["DK"], ["US"] or a
combination; omit for all markets.
industry: Free-text industry substring. tag_slugs: taxonomy filter.
top_n: Ranked group size (1-50, default 8).
window: Periods in the series (2-16, default 5).
anchor_year: Latest period; omit for the latest available.
frequency: "annual" (default) or "quarterly" (Nordic only).
rank_metric: Ranking metric (defaults to metric).
strict_resolution: Fail on ambiguous peer names instead of choosing.
Returns {metric, unit, frequency, periods, companies, series_data, chart_series, coverage}; error: {"error": "..."}.
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": "screen_metric_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peers | No | ||
| top_n | No | ||
| metric | No | revenue | |
| window | No | ||
| industry | No | ||
| countries | No | ||
| frequency | No | annual | |
| tag_slugs | No | ||
| anchor_year | No | ||
| rank_metric | No | ||
| strict_resolution | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||