Query curated templates
query_templateReported figures and registry facts for US companies, banks, nonprofits and federal spending, taken from the official filings and registers themselves. A result with n=0 means the registry holds no record for the request. Curated query path for questions about revenue, net income, EBITDA, total assets, SEC filing metrics, fiscal-year financials, bank call-report metrics, nonprofit finances (IRS 990), federal contract/grant dependency, peer comparisons or percentiles for US organizations. Pick a template and pass parameters — no SQL. Key templates: org_profile (cik|lei|ein|rssd), search_org (name), company_financials (cik+metric, SEC EDGAR), bank_metrics (rssd|fdic_cert+metric, FFIEC), nonprofit_financials (ein+metric), gov_dependency, mastr_region (German renewables by state/district/municipality: capacity, age, units older than 20 years, decommissioning, pipeline). list_templates and every error name the allowed metric values. Returns an envelope: result + executed_query + n + scope + not_claimed — cite fact_url values in answers.
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": {
"template": "<template>"
},
"name": "query_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Template parameters, e.g. {"cik":"320193","metric":"revenue","year_from":2023} | |
| template | Yes |