Edgar Ratio Screen
edgar_ratio_screenSCREEN every SEC filer by a ratio of two reported values: finds the companies whose numerator / denominator, for one period, falls in a range or near a target. Built for "which company had cash to total assets of 3.49 percent", "filers with debt over 80 percent of assets", "net income to revenue between 20 and 30 percent". numerator and denominator are US-GAAP tags (e.g. "CashAndCashEquivalentsAtCarryingValue" over "Assets"), period is a calendar frame ("CY2023Q4I" for balance-sheet items at year end, "CY2023" for a full year). Give min_pct and/or max_pct, or target_pct with tolerance_pct (default 0.01). Joins two SEC XBRL frames by company (two SEC calls per question, no bulk pull) and returns matching filers with both values and the ratio in percent. Values are as filed; a filer reporting only one of the two tags is skipped and counted.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5,
"period": "CY2023Q4I",
"max_pct": 3.5,
"min_pct": 3.4,
"numerator": "CashAndCashEquivalentsAtCarryingValue",
"denominator": "Assets"
},
"name": "edgar_ratio_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit of both tags (default "USD"). | |
| limit | No | Max filers returned (1-100, default 25), those closest to the target (or the range middle) first. | |
| period | Yes | Calendar frame: "CY2023Q4I" (instant), "CY2023" (year), "CY2023Q1" (quarter). Both tags are read for this same frame. | |
| max_pct | No | Highest ratio to include, in percent (e.g. 4). | |
| min_pct | No | Lowest ratio to include, in percent (e.g. 3.4). | |
| numerator | Yes | US-GAAP tag for the top of the ratio, e.g. "CashAndCashEquivalentsAtCarryingValue", "NetIncomeLoss", "Liabilities". | |
| target_pct | No | Ratio to match, in percent; with tolerance_pct sets min and max. Use instead of min/max. | |
| denominator | Yes | US-GAAP tag for the bottom, e.g. "Assets", "Revenues". | |
| tolerance_pct | No | With target_pct: allowed distance in percentage points (default 0.01). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| note | No | ||
| unit | No | ||
| found | No | ||
| period | No | ||
| reason | No | ||
| source | No | ||
| matches | No | ||
| message | No | ||
| returned | No | ||
| companies | No | ||
| numerator | No | ||
| range_pct | No | ||
| denominator | No | ||
| filers_with_both | No | ||
| numerator_filers | No | ||
| denominator_filers | No |