edgar_ratio_screen

Pack: edgar · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/edgar_ratio_screen for the schema, then POST the same URL with its arguments for the data.

Filers whose ratio of two reported values (e.g. cash to total assets) falls in a range, across all SEC filers for one period.

Tool description as the model sees it

SCREEN 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.

Parameters

NameTypeRequiredDescription
numeratorstringyesUS-GAAP tag for the top of the ratio, e.g. “CashAndCashEquivalentsAtCarryingValue”, “NetIncomeLoss”, “Liabilities”.
denominatorstringyesUS-GAAP tag for the bottom, e.g. “Assets”, “Revenues”.
periodstringyesCalendar frame: “CY2023Q4I” (instant), “CY2023” (year), “CY2023Q1” (quarter). Both tags are read for this same frame.
min_pctnumbernoLowest ratio to include, in percent (e.g. 3.4).
max_pctnumbernoHighest ratio to include, in percent (e.g. 4).
target_pctnumbernoRatio to match, in percent; with tolerance_pct sets min and max. Use instead of min/max.
tolerance_pctnumbernoWith target_pct: allowed distance in percentage points (default 0.01).
unitstringnoUnit of both tags (default “USD”).
limitnumbernoMax filers returned (1-100, default 25), those closest to the target (or the range middle) first.

Example call

Arguments

{
  "numerator": "CashAndCashEquivalentsAtCarryingValue",
  "denominator": "Assets",
  "period": "CY2023Q4I",
  "min_pct": 3.4,
  "max_pct": 3.5,
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/edgar/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"edgar_ratio_screen","arguments":{"numerator":"CashAndCashEquivalentsAtCarryingValue","denominator":"Assets","period":"CY2023Q4I","min_pct":3.4,"max_pct":3.5,"limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('edgar_ratio_screen', {
  "numerator": "CashAndCashEquivalentsAtCarryingValue",
  "denominator": "Assets",
  "period": "CY2023Q4I",
  "min_pct": 3.4,
  "max_pct": 3.5,
  "limit": 5
});

Response shape

FieldTypeDescription
numeratorstring
denominatorstring
periodstring
unitstring
range_pctobject
filers_with_bothnumber
numerator_filersnumber
denominator_filersnumber
sourcestring
foundboolean
matchesnumber
returnednumber
notestring
companiesarray
reasonstring
messagestring
hintstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "numerator": {
      "type": "string"
    },
    "denominator": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "range_pct": {
      "type": "object",
      "properties": {
        "min": {
          "type": "number"
        },
        "max": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "filers_with_both": {
      "type": "number"
    },
    "numerator_filers": {
      "type": "number"
    },
    "denominator_filers": {
      "type": "number"
    },
    "source": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "matches": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "note": {
      "type": "string"
    },
    "companies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "cik": {
            "type": "number"
          },
          "entity": {
            "type": "string"
          },
          "numerator_value": {
            "type": "number"
          },
          "denominator_value": {
            "type": "number"
          },
          "ratio_pct": {
            "type": "number"
          },
          "period_end": {
            "type": "string"
          },
          "form": {
            "type": "null"
          }
        },
        "additionalProperties": true
      }
    },
    "reason": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the edgar pack
{
  "mcpServers": {
    "edgar": {
      "url": "https://gateway.pipeworx.io/edgar/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 25, 2026