get_supplier_contracts
Retrieve public contracts awarded to a specific supplier company to build its public-sector track record across Salvadoran institutions.
Instructions
Find the public contracts won by a specific SUPPLIER (company), by name, across institutions. Useful to build a supplier's public-sector track record ('what has company X been awarded?'). CRITICAL LIMITATION: the upstream government API cannot filter by supplier, and only sorts newest-first, so this performs a BOUNDED scan of the most-recent records — it does NOT return a supplier's full multi-year history. The response includes a 'coverage' block stating exactly what was scanned and warning when the result is bounded. Always relay that limitation to the user; never present a bounded scan as exhaustive. If you know which institution to look within, pass id_institucion to make the scan far faster and deeper. Each page is ~7s; raising max_pages increases coverage but also wait time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anio | No | Optional year filter. | |
| supplier | Yes | Supplier name (partial match). | |
| max_pages | No | Max pages to scan (default 6, max 30). | |
| id_institucion | No | Optional institution to narrow scan. |