Screen companies from a plain question
screen_natural_languageTurn a plain-language question into screen filters and run the screen over every covered company. The filters are parsed from the question by an AI model, or by fixed rules when no model is set up; data.generated_by and data.label say which. The model only picks filters. The results are computed from filings by the same code as the screen tool, and every value carries its proof. data.parsed lists the filters used, data.equivalent_request is the same screen as a structured request, and data.unparsed lists the parts of the question that were not understood, so check both before relying on the list. It knows sectors, industries, and metrics with bounds such as gross margin above 40%, P/E below 15 or revenue over 1 billion. Use it when the user describes the companies they want in words; use the screen tool when you already know the metric ids.
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": 20,
"question": "technology companies with gross margin above 40% and revenue over 1 billion"
},
"name": "screen_natural_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of periods or items to return (default 50, at most 200). | |
| question | Yes | What to screen for. Plain English, 3 to 300 characters, no links. Example: technology companies with gross margin above 40% and revenue over 1 billion. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | { question, parsed { filter, metrics, sort, period_type, sector, industry, country, limit }, equivalent_request, unparsed: [string], generated_by ("model" or "rules"), label, model, method_version, cached, result { the screen: metrics, items: [{ company, period, values { <metric>: value object } }], total, next_cursor } } | |
| meta | No | Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base. | |
| error | No | Present only on isError results: the API error code and message plus remedy hints. |