Estadísticas de mercado
get_market_statsMarket KPIs for the global market, a sector or a comunidad, over the history Licto has processed (partial, not every published tender; per-source years at https://licto.es/fuentes#historico): all of it by default, or one period ('year' / 'quarter' / 'month' of tender PUBLICATION; period_start picks it, else the newest). A period row has period_start and is_final: false while the period is open, when its figures and top lists are partial. Tender volume (listable_count = tenders search can return; tender_count also includes contratos menores), open tenders now (open_count), budgets (prefer the medians), competition (avg bids, single-bid rate), top_contractors (company_id, name, wins = award lines won, awarded_eur; frameworks, personas físicas, hidden companies and public bodies excluded, so wins is not get_company's), top_authorities (organization_ids, tenders, budget_eur) and the procedure_type_dist / contract_type_dist counts. See get_glossary.
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": "get_market_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Window of the figures: 'all_time' (default) or one 'year', 'quarter' or 'month' of tender PUBLICATION. Without `period_start` the newest such period is returned, which may still be open (`is_final` false). | all_time |
| sector | No | Sector slug, e.g. 'tecnologia', 'construccion', 'sanidad' | |
| comunidad | No | Comunidad autónoma by name, e.g. 'Madrid' or 'Cataluña'. Region names only (no provinces). Omit both for the global market. | |
| period_start | No | Any date inside the year / quarter / month wanted (ISO); needs `period` other than 'all_time'. |