Public contracts won or awarded
company_contractsPublic procurement contracts from SEAP, Romania's electronic procurement system: what a company won from public authorities, or what it awarded as a contracting authority. Each contract carries the contracting authority, CPV code, contract number, date and value in RON, plus a per-year summary and the top counterparties. Source: ANAP reports published by ADR on data.gov.ro (CC-BY 4.0), loaded quarterly.
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": {
"cui": "<cui>"
},
"name": "company_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | Romanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted. | |
| role | No | 'supplier' = contracts the company won; 'authority' = contracts it awarded; 'both'. | supplier |
| limit | No | Contracts to return, newest first (1-200). | |
| since | No | Only contracts dated on or after this date (YYYY-MM-DD). | |
| until | No | Only contracts dated on or before this date (YYYY-MM-DD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | No | The company's CUI. | |
| top | No | Top 10 counterparties: the authorities a supplier won from, or the winners an authority awarded to (name, cui, contracts, valueRon of the sole awards like totalValueRon, sharedContracts, sharedValueRon at whole value). | |
| asOf | No | The publisher's date for the newest workbook loaded (quarterly). | |
| lots | No | Lot rows on record, which is more than total when a framework contract has lots. | |
| role | No | What was queried: supplier, authority or both. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| found | No | Whether any contract is on record. | |
| total | No | Distinct contracts on record (a framework contract repeats its value on every lot row, so it counts once). | |
| years | No | Per year, newest first: contracts, valueRon (sole awards), unpriced (published with no value) and shared (whole value not attributed). | |
| source | No | Data source: onrc (registry) or mfp (Ministry of Finance filings). | |
| message | No | A sentence for the caller. | |
| contracts | No | contractNo, contractDate, valueRon, cpv, cpvName, lot, authority{name,cui}, winner{name,cui}, newest first. | |
| attribution | No | The credit line to keep when redistributing the data (CC BY 4.0). | |
| totalValueRon | No | Sum of the values of contracts this firm won alone (RON). A framework's whole value is not attributed to each of its winners: those are counted in sharedValueRon. | |
| sharedValueRon | No | Sum of the shared awards' whole values (RON). | |
| sharedContracts | No | Contracts on which other winners are also named (their whole value is in sharedValueRon, not counted as this firm's own). | |
| unpricedContracts | No | Contracts published with no value (0 or empty): counted in total, adding nothing to the values. |