{"agent":{"connect":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/575371","protocol":"mcp","available":true,"auth":{"method":null,"required":null},"primary_tool":"aggregate_budget_by_classification","example_call":{"method":"POST","url":"https://agentconcierge.biz/api/gateway/mcp/575371","body":{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"aggregate_budget_by_classification","arguments":{"year":-9007199254740991,"limit":1}}}}},"id":575371,"kind":"mcp","name":"Transparenta.eu","description":"Read-only MCP for Romanian public budgets, procurement, and official records.","category":"public_legal","active":true,"health_status":"healthy","eval_grade":"B","eval_score":75.9,"eval_at":1796285698.663954,"trial_ok":1,"cap_tool_count":120,"first_seen":1796285422.8545732,"last_ok_at":1796285462.0957053,"last_check_at":1796285462.0957053,"auth_method":null,"auth_observed":0,"price_usdc":0.0,"calls_30d":null,"url":"https://agentconcierge.biz/api/gateway/mcp/575371","catalog_status":"live","tools":[{"name":"aggregate_budget_by_classification","description":"Annual execution spending or income by functional and economic classification, optionally for one entity. The value is the exact RON subtotal of returned buckets after minAmount and limit (default 50). A capped list cannot establish the total for the entire scope. With no matching buckets the subtotal is null.","inputSchema":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Reporting year."},"reportType":{"description":"Default EXECUTION_DETAILED.","type":"string","enum":["EXECUTION_DETAILED","EXECUTION_AGG_PRINCIPAL","EXECUTION_AGG_SECONDARY"]},"accountCategory":{"description":"INCOME or EXPENSE (default EXPENSE).","type":"string","enum":["INCOME","EXPENSE"]},"entityCui":{"description":"Restrict to one entity CUI.","type":"string"},"minAmount":{"description":"Only buckets whose summed amount ≥ this (decimal string).","type":"string"},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"year":-9007199254740991,"limit":1}},{"name":"aggregate_companies","description":"Exact companies analytics over ONE scope (OR within a field, AND across fields) on a pinned release: shape=stats (population, filers, metric sums/contributors/coverage), breakdown (top groups + other + unknown = stats; COUNTY/UAT/OBSERVED_STATUS groups are the edition consensus value or an explicit basis group such as \"(multiple_values)\", each company once), series (annual points, cohortMode EACH_YEAR or REFERENCE_YEAR, gaps named), records (matching companies ranked by a metric, NULLS LAST, cursor pages; onrcRecordedDate is the date ONRC recorded, never a founding date). Money is exact RON decimal strings; EMPLOYEES are summed reported average headcounts (not people); balances/headcounts are never added across years. Company keys are release-snapshot attributes of one pinned ONRC edition, not fiscal-year history; MAIN_CAEN/mainCaen (legacy names) is the ANAF fiscal CAEN code: a source observation, never a principal or main activity, and ANAF publishes no revision. ACTIVITY (releases listing it) is a DERIVED activity selection per company, never a principal or main activity: groups onrc:<revision>:<code> (the only classified ONRC observation, or one of several picked because the usable ANAF code has the same digits; activity.basis is null when both mix, activityQuality.numericMatchSelected counts the latter) and anaf:<code> (ANAF publishes no revision: catalog candidates only); breakdown.unclassified holds onrc_multiple_classes, anaf_fiscal_uncatalogued and no_qualified_selection, never ranked as sectors (groups + other + unknown + unclassified = totals); state activityQuality dates (anafObservedFrom/To) and release.source.sourcePublishedAt with it. CAEN descriptionStatus distinguishes EXACT, CONSENSUS, CONFLICT and MISSING; descriptions are catalog candidates, never inferred source revisions. CONFLICT retains a NULL scalar label and every revision-qualified alternative.","inputSchema":{"type":"object","properties":{"shape":{"type":"string","enum":["stats","breakdown","series","records"]},"release":{"description":"Pin a release id an earlier answer carried; an unavailable pin is refused, never switched.","anyOf":[{"type":"string"},{"type":"number"}]},"scope":{"type":"object","properties":{"fiscalYear":{"description":"Defaults to the release default year (2024 when offered).","type":"number"},"cuis":{"description":"Selected CUIs (resolve names with resolve_company_filter first).","type":"array","items":{"type":"string"}},"county":{"description":"County CONSENSUS bucket of the pinned ONRC edition: { in: [county code… or \"(multiple_values)\", \"(partial_observations)\", \"(missing)\", \"(unresolved)\"], includeUnknown = every basis bucket }","type":"object","properties":{"in":{"type":"array","items":{"type":"string"}},"includeUnknown":{"type":"boolean"}},"additionalProperties":false},"uat":{"description":"UAT consensus bucket: { in: [SIRUTA… or \"(<basis>)\"], includeUnknown }","type":"object","properties":{"in":{"type":"array","items":{"type":"string"}},"includeUnknown":{"type":"boolean"}},"additionalProperties":false},"legalForms":{"type":"array","items":{"type":"string"}},"observedStatus":{"description":"Complete status CONSENSUS bucket (status code or \"(<basis>)\"); not \"currently active\" and not an observation filter (use onrc.status).","type":"object","properties":{"in":{"type":"array","items":{"type":"string"}},"includeUnknown":{"type":"boolean"}},"additionalProperties":false},"onrc":{"description":"ONRC observation filters on ONE public identifier: status, county, caenCode (v3 releases: qualified class observations only, never short tokens, unknown revisions or unlabeled keys; v2: every observation, unknown revision included), onrcCaen (\"rev2:6201\", exact). exclude { status, caenCode, county, legalForm } needs complete evidence (unparsed or unknown-revision CAEN rows make coverage partial); in v3 exclude.caenCode means no qualified class match, not that no source row carries the code; exclude.onrcCaen is refused.","type":"object","properties":{"status":{"type":"array","items":{"type":"string"}},"county":{"type":"array","items":{"type":"string"}},"caenCode":{"type":"array","items":{"type":"string"}},"onrcCaen":{"type":"array","items":{"type":"string"}},"exclude":{"type":"object","properties":{"status":{"type":"array","items":{"type":"string"}},"caenCode":{"type":"array","items":{"type":"string"}},"county":{"type":"array","items":{"type":"string"}},"legalForm":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"vatPayer":{"type":"array","items":{"type":"string","enum":["YES","NO","UNKNOWN"]}},"fiscallyInactive":{"type":"array","items":{"type":"string","enum":["YES","NO","UNKNOWN"]}},"mainCaen":{"description":"Omit revision for codes whose revision ANAF did not publish.","type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"revision":{"type":"string"}},"required":["code"],"additionalProperties":false}},"mainCaenBasis":{"type":"array","items":{"type":"string","enum":["REVISION_KNOWN","REVISION_UNKNOWN","MISSING"]}},"filing":{"type":"string","enum":["FILED","NOT_FILED"]},"financialRanges":{"description":"Bounds on REPORTED values of the fiscal year (decimal strings; integers for EMPLOYEES).","type":"array","items":{"type":"object","properties":{"metric":{"type":"string","enum":["TURNOVER","NET_PROFIT","NET_LOSS","EMPLOYEES","TOTAL_REVENUE","TOTAL_EXPENSES","GROSS_PROFIT","GROSS_LOSS","RECEIVABLES","CURRENT_ASSETS","FIXED_ASSETS","CASH_AND_BANK","PREPAID_EXPENSES","DEFERRED_INCOME","SUBSCRIBED_CAPITAL","INVENTORIES","DEBTS","PROVISIONS","TOTAL_EQUITY","PATRIMONY_REGIE","NET_RESULT"]},"min":{"type":"string"},"max":{"type":"string"}},"required":["metric"],"additionalProperties":false}},"employeeSizeBands":{"type":"array","items":{"type":"string","enum":["UNAVAILABLE","NEGATIVE","ZERO","FROM_1_TO_9","FROM_10_TO_49","FROM_50_TO_249","FROM_250"]}},"activity":{"description":"Releases listing ACTIVITY only: exact derived-activity selectors. ONRC needs revision (rev0..rev3) and matches only ONRC-selected companies; ANAF forbids it (ANAF publishes none) and matches only ANAF_FISCAL_CODE companies.","type":"array","items":{"type":"object","properties":{"source":{"type":"string","enum":["ONRC","ANAF"]},"code":{"type":"string"},"revision":{"type":"string"}},"required":["source","code"],"additionalProperties":false}},"activityBasis":{"description":"Releases listing ACTIVITY only: activity selection bases.","type":"array","items":{"type":"string","enum":["ONRC_SINGLE_CLASS","ONRC_CLASS_ANAF_NUMERIC_MATCH","ONRC_MULTIPLE_CLASSES","ANAF_FISCAL_CODE","ANAF_FISCAL_UNCATALOGUED","NO_QUALIFIED_SELECTION"]}},"mainActivity":{"description":"Releases listing MAIN_ACTIVITY only (v4, staged: none is served yet): exact ONRC keys (revision rev0..rev3 + 4-digit code) of the ANAF-assumed main activity. Never a bare code; a different question from activity and mainCaen.","type":"array","items":{"type":"object","properties":{"revision":{"type":"string"},"code":{"type":"string"}},"required":["revision","code"],"additionalProperties":false}},"mainActivityStatus":{"description":"Releases listing MAIN_ACTIVITY only (v4, staged): main-activity outcome statuses.","type":"array","items":{"type":"string","enum":["RESOLVED","RESOLVED_LATEST_REVISION","CORRECTED","NO_ONRC_MATCH","UNRESOLVED_TOKEN_FORM","TOKEN_PLACEHOLDER","TOKEN_INVALID","SOURCE_MISSING","SOURCE_UNBOUND","CORRECTION_WITHHELD"]}}},"additionalProperties":false},"metrics":{"description":"stats/records: metrics to return.","type":"array","items":{"type":"string","enum":["TURNOVER","NET_PROFIT","NET_LOSS","EMPLOYEES","TOTAL_REVENUE","TOTAL_EXPENSES","GROSS_PROFIT","GROSS_LOSS","RECEIVABLES","CURRENT_ASSETS","FIXED_ASSETS","CASH_AND_BANK","PREPAID_EXPENSES","DEFERRED_INCOME","SUBSCRIBED_CAPITAL","INVENTORIES","DEBTS","PROVISIONS","TOTAL_EQUITY","PATRIMONY_REGIE","NET_RESULT"]}},"dimension":{"description":"Required for breakdown. ACTIVITY only on a release that lists it.","type":"string","enum":["COUNTY","UAT","MAIN_CAEN","LEGAL_FORM","OBSERVED_STATUS","VAT_PAYER","FISCALLY_INACTIVE","EMPLOYEE_SIZE","ACTIVITY","MAIN_ACTIVITY"]},"metric":{"description":"breakdown/series metric.","type":"string","enum":["TURNOVER","NET_PROFIT","NET_LOSS","EMPLOYEES","TOTAL_REVENUE","TOTAL_EXPENSES","GROSS_PROFIT","GROSS_LOSS","RECEIVABLES","CURRENT_ASSETS","FIXED_ASSETS","CASH_AND_BANK","PREPAID_EXPENSES","DEFERRED_INCOME","SUBSCRIBED_CAPITAL","INVENTORIES","DEBTS","PROVISIONS","TOTAL_EQUITY","PATRIMONY_REGIE","NET_RESULT"]},"rankBy":{"type":"string","enum":["METRIC_SUM","COMPANIES","FILERS","CONTRIBUTORS"]},"topN":{"description":"breakdown: 1–100, default 10.","type":"number"},"cohortMode":{"type":"string","enum":["EACH_YEAR","REFERENCE_YEAR"]},"fromYear":{"type":"number"},"toYear":{"type":"number"},"sort":{"type":"string","enum":["METRIC","CUI"]},"sortMetric":{"type":"string","enum":["TURNOVER","NET_PROFIT","NET_LOSS","EMPLOYEES","TOTAL_REVENUE","TOTAL_EXPENSES","GROSS_PROFIT","GROSS_LOSS","RECEIVABLES","CURRENT_ASSETS","FIXED_ASSETS","CASH_AND_BANK","PREPAID_EXPENSES","DEFERRED_INCOME","SUBSCRIBED_CAPITAL","INVENTORIES","DEBTS","PROVISIONS","TOTAL_EQUITY","PATRIMONY_REGIE","NET_RESULT"]},"direction":{"type":"string","enum":["DESC","ASC"]},"first":{"description":"records: 1–100, default 25.","type":"number"},"after":{"description":"records: the endCursor of the previous page.","type":"string"}},"required":["shape"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"shape":"stats"}},{"name":"aggregate_primarii_transparency","description":"Roll up the transparency registry. groupBy=category_coverage counts recorded evidence states for each category (per-category found/not_found/unknown/blocked + coverage ratio); the others count UATs by county/data_quality_status/result_status/entity_type. groupBy=region requires the kernel cui→territory builder (capability-gated).","inputSchema":{"type":"object","properties":{"groupBy":{"type":"string","enum":["county","region","data_quality_status","result_status","entity_type","category_coverage"],"description":"Rollup dimension. 'category_coverage' counts recorded evidence states for each category (routes to the per-category coverage rollup — found/not_found/unknown/blocked + coverage); the others are status counts. 'region' requires the kernel cui→territory resolver (capability-gated, attaches a coverage caveat)."},"filter":{"description":"A PrimariiEntity filter object scoping the rollup (same shape as list).","type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"dataQualityStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]}}},"additionalProperties":false},"resultStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]}}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]}}},"additionalProperties":false},"county":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"siruta":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"isUat":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"population":{"type":"object","properties":{"between":{"type":"object","properties":{"from":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"to":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false},"confidence":{"type":"object","properties":{"gte":{"type":"number"},"isNull":{"type":"boolean"}},"additionalProperties":false},"evidenceCoverage":{"type":"object","properties":{"gte":{"type":"number"},"isNull":{"type":"boolean"}},"additionalProperties":false},"hasIssues":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"missingCategory":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"organigrama"},{"type":"string","const":"numar_angajati"},{"type":"string","const":"salarii"}]}}},"additionalProperties":false},"publishesCategory":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"organigrama"},{"type":"string","const":"numar_angajati"},{"type":"string","const":"salarii"}]}}},"additionalProperties":false},"categoryState":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"found"},{"type":"string","const":"not_found"},{"type":"string","const":"unknown"},{"type":"string","const":"blocked"}]}},"additionalProperties":false},"exclude":{"type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"dataQualityStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]}}},"additionalProperties":false},"resultStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]}}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]}}},"additionalProperties":false},"county":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}},"required":["groupBy"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"groupBy":"county"}},{"name":"aggregate_procurement","description":"Aggregate procurement analytics over ONE scope: stats, series, breakdown, supplier concentration, or the records a stats block counts (shape=records, scope.grain direct_acquisition or contract). Read each monetary measure on its named basis (awarded, counted, estimated, ceiling or modification-adjusted); these are not payments; unsupported combinations are rejected by the pinned matrix. Every answer carries answerability, reason, buildId, and canonicalScope; pass build to pin follow-up calls to the same analysis build.","inputSchema":{"type":"object","properties":{"scope":{"type":"object","properties":{"authorityCui":{"type":"string"},"supplierCui":{"type":"string"},"cpvDivision":{"description":"2-digit CPV division (at most ONE CPV level per scope).","type":"string"},"cpvGroup":{"description":"Canonical 8-digit CPV group code, XXY00000 with Y≠0 (one CPV level per scope).","type":"string"},"cpvClass":{"description":"Canonical 8-digit CPV class code, XXXY0000 with Y≠0 (one CPV level per scope).","type":"string"},"cpvCategory":{"description":"Canonical 8-digit CPV category code, XXXXY000 with Y≠0 (one CPV level per scope).","type":"string"},"cpvCode":{"description":"8-digit CPV code (at most ONE CPV level per scope).","type":"string"},"buyerCounty":{"description":"Buyer registered-office county code.","type":"string"},"buyerRegion":{"type":"string"},"buyerSiruta":{"description":"Buyer registered-office territorial SIRUTA (UAT natural key).","type":"string"},"supplierCounty":{"description":"Supplier registered-office county code.","type":"string"},"supplierRegion":{"type":"string"},"supplierSiruta":{"description":"Supplier registered-office territorial SIRUTA (UAT natural key).","type":"string"},"status":{"type":"string"},"procedureType":{"type":"string"},"recordKind":{"description":"Contract grain only: award record vs framework umbrella.","type":"string","enum":["contract_award","framework_agreement"]},"frameworkRole":{"description":"Contract grain only. Absent = the purchases-only default, never a ceiling (standalone or unstamped on the legacy build; ordinary contracts and call-offs from the money build); a framework-agreement population names framework_ceiling explicitly; all = every role.","type":"string","enum":["standalone","framework_ceiling","call_off","all"]},"grain":{"description":"Absent = all grains the matrix supports.","type":"string","enum":["procedure","contract","direct_acquisition","framework","calloff","modification"]},"from":{"description":"YYYY-MM, inclusive (XOR year).","type":"string"},"to":{"description":"YYYY-MM, inclusive (XOR year).","type":"string"},"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"q":{"description":"Free-text title filter on aggregates (title coverage is partial per grain).","type":"string"},"valueMin":{"description":"Awarded-value lower bound, RON (restricts to accepted-value rows in range).","type":"number"},"valueMax":{"description":"Awarded-value upper bound, RON (restricts to accepted-value rows in range).","type":"number"}},"additionalProperties":false},"shape":{"type":"string","enum":["stats","series","breakdown","concentration","records"]},"build":{"description":"Pin to an analysis build (a buildId an earlier answer carried); refused when it is no longer the active build.","type":"string"},"sort":{"description":"For shape=records; default date_desc.","type":"string","enum":["date_desc","date_asc","value_desc","value_asc"]},"page":{"description":"For shape=records; 1-based, default 1.","type":"number"},"pageSize":{"description":"For shape=records; default 25, max 100.","type":"number"},"dimension":{"description":"Required for shape=breakdown.","type":"string","enum":["authority","supplier","cpvDivision","cpvGroup","cpvClass","cpvCategory","cpvCode","status","procedureType","recordKind","frameworkRole","buyerRegion","buyerCounty","buyerSiruta","supplierRegion","supplierCounty","supplierSiruta"]},"bucket":{"description":"For shape=series; default month.","type":"string","enum":["month","quarter","year"]},"measure":{"description":"Required for shape=series.","type":"string","enum":["recordCount","withValueCount","valueAwardedSum","valueEstimatedSum","valueCeilingSum","valueModAdjustedSum","valueAwardedMatchedSum","avgValueAwarded","distinctSuppliers","distinctAuthorities"]},"topN":{"type":"number"},"basis":{"description":"For concentration; default count.","type":"string","enum":["count","value"]},"rankBy":{"description":"Breakdown bucket ranking. Default: value where the spend gate allows, else count.","type":"string","enum":["count","value"]}},"required":["shape"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"shape":"stats"}},{"name":"aggregate_procurement_totals","description":"Romanian public procurement money totals for up to 8 filter sets, all read from one data build. Each request names its procurement kinds (never mixed unless listed) and filters (statuses default to awarded; date range on the day the money happened; buyer or supplier fiscal code; CPV prefix; county; VAT basis; title words). Each answer gives one total per value kind (lei, decimal text, summed as published with no VAT conversion; value kinds are never summed together), what was left out with counts (other statuses, not additive, no value, undated, joint contracts not attributed to one firm), flagged records, disclosed records with their money (supplier withheld; joint wins, in a total without a supplier filter; already in the total and possibly overlapping, so never added up), and an explanation to quote verbatim. A supplier code that is not public, or whose code the names view does not clear, matches nothing and is never echoed. Values: procurementKinds direct_acquisition, contract_award, market_consultation, advertising_notice, direct_award_notification; contractKinds ordinary, call_off, framework_agreement; statuses awarded, published, refused, cancelled, removed_from_portal, under_review, identity_review, withdrawn; valueKinds awarded, reported, estimate, framework_ceiling, modification_change; vatBases excluded, included, unknown; dates YYYY-MM-DD; codes are digits.","inputSchema":{"type":"object","properties":{"requests":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64},"filters":{"type":"object","properties":{"procurementKinds":{"maxItems":16,"type":"array","items":{"type":"string","maxLength":64}},"contractKinds":{"anyOf":[{"maxItems":16,"type":"array","items":{"type":"string","maxLength":64}},{"type":"null"}]},"statuses":{"anyOf":[{"maxItems":16,"type":"array","items":{"type":"string","maxLength":64}},{"type":"null"}]},"from":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"to":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"buyerCode":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"supplierCode":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"cpvPrefix":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"countyCode":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"siruta":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"vatBases":{"anyOf":[{"maxItems":16,"type":"array","items":{"type":"string","maxLength":64}},{"type":"null"}]},"q":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"required":["procurementKinds"],"additionalProperties":false},"valueKinds":{"anyOf":[{"maxItems":16,"type":"array","items":{"type":"string","maxLength":64}},{"type":"null"}]},"currencySubtotals":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["id","filters"],"additionalProperties":false}}},"required":["requests"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"browse_mo_issues","description":"Browse Monitorul Oficial gazette issues for a year (required). Optionally filter by part code and a publication-date range. Returns issues + coverage.","inputSchema":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Gazette year (required; bounds the scan)."},"partCode":{"description":"Part codes: PI, PII, PIM, …","type":"array","items":{"type":"string"}},"dateFrom":{"description":"Publication date from (YYYY-MM-DD).","type":"string"},"dateTo":{"description":"Publication date to (YYYY-MM-DD).","type":"string"},"page":{"description":"Page (default 1).","type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"description":"Page size (default 20, max 50).","type":"integer","minimum":1,"maximum":50}},"required":["year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"year":-9007199254740991}},{"name":"company_county_profile","description":"Count-ranked company aggregate over EXACTLY the list_companies predicates and one pinned ONRC edition (meta.registry), with the filtered population as denominator and a coverage block. county/status: each company counts once, under its complete consensus value (county key = [REDACTED] code, label = canonical name; status label = API nomenclature) or an explicit basis bucket ((multiple_values), (partial_observations), (missing), (unresolved), (not_in_edition)) - never coerced into a value. caenDivision: buckets '<revision>:<division>' ('unknown:' for an unknown revision) of the public ONRC observations on identifiers that satisfy the filter's same-identifier criteria; a company counts once per bucket and buckets overlap, so they do not sum to the population. caenDivision needs the companies named by cui: a cui eq, or a cui in list of at most 10,000 CUIs, which other predicates may narrow. Without one (no filter, a county, a status), or with a CAEN-code predicate (caenCode, onrcCaen, also under exclude), the tool answers an error, never a partial result. Refused while no edition is published (an error, never zeros). Value-weighted (\"biggest by turnover\") rankings are NOT offered (count-only).","inputSchema":{"type":"object","properties":{"filter":{"description":"A companies filter object (e.g. { county: { in: [\"Cluj\"] } }).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"groupBy":{"type":"string","enum":["county","status","caenDivision"],"description":"Grouping dimension. county requires a selective filter; caenDivision a cui eq or a cui in list of at most 10,000 CUIs, and no caenCode or onrcCaen."}},"required":["groupBy"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"groupBy":"county"}},{"name":"company_hub_stats","description":"CUI directory-spine company overview under the CURRENT ONRC edition (NOT the whole ONRC registry): total spine companies; activeCompanies = companies with ANY public original 1048 observation (counted on its own; a company with a conflicting code is active here and in the (multiple_values) status bucket); the status consensus mix with explicit basis buckets; and the top 10 county consensus buckets among active companies. caenDivisions is null: the CAEN buckets of active companies are not computed (not available, never zero); use company_county_profile with groupBy caenDivision for companies named by cui (at most 10,000). Takes no arguments. Cached per registry scope: every call rechecks the current scope, never serves figures of another edition, and errors (never zeros) when no edition is published. computedAt says when the legs ran.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"count_legal_acts","description":"Grouped act counts by domain / act_type / status / issuer / year, with the same optional filter as search_legal_acts — one call for a whole facet grid. Bucket keys are RAW DB values (\"fiscal-si-bugetar\", \"in-vigoare\", \"2015\"); every key round-trips into the filter — domain/status are closed vocabularies and act_type (an OPEN vocabulary of 256 live values) is an open string filter. label is a display form when one exists. Partition contract: status/act_type partition the corpus; issuer/year omit acts without a value; domain OVERLAPS — a multi-tag on the canonical summary, an act counts once per domain it carries, so domain buckets sum above the act total. limit caps the served buckets (default 20); a cut list is flagged via meta.bucketsTruncated + meta.otherCount, never silently short.","inputSchema":{"type":"object","properties":{"groupBy":{"type":"string","enum":["domain","act_type","status","issuer","year"],"description":"Grouping dimension. Bucket keys are RAW DB values and every key, act_type included (an open vocabulary of 256 live values), is a valid filter value."},"filter":{"description":"A LegalActs filter object (same semantics as search/list).","type":"object","properties":{"actType":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"issuerSlug":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"status":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"in-vigoare"},{"type":"string","const":"modificat"},{"type":"string","const":"abrogat"},{"type":"string","const":"abrogat-partial"},{"type":"string","const":"suspendat"},{"type":"string","const":"iesit-din-vigoare"},{"type":"string","const":"necunoscut"}]}}},"additionalProperties":false},"year":{"type":"object","properties":{"eq":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"yearFrom":{"type":"object","properties":{"gte":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"yearTo":{"type":"object","properties":{"lte":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"domain":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"administratie"},{"type":"string","const":"fiscal-si-bugetar"},{"type":"string","const":"justitie"},{"type":"string","const":"economie-si-comert"},{"type":"string","const":"munca-si-protectie-sociala"},{"type":"string","const":"proprietate-si-urbanism"},{"type":"string","const":"sanatate"},{"type":"string","const":"aparare-si-securitate"},{"type":"string","const":"transport"},{"type":"string","const":"educatie"},{"type":"string","const":"mediu"},{"type":"string","const":"agricultura"},{"type":"string","const":"energie"},{"type":"string","const":"cultura"},{"type":"string","const":"telecomunicatii-si-digital"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"category":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"lege"},{"type":"string","const":"ordin"},{"type":"string","const":"hotarare"},{"type":"string","const":"hotarare-de-guvern"},{"type":"string","const":"decizie"},{"type":"string","const":"decret"},{"type":"string","const":"norma-metodologica"},{"type":"string","const":"regulament"},{"type":"string","const":"ordonanta"},{"type":"string","const":"ordonanta-de-urgenta"},{"type":"string","const":"tratat"},{"type":"string","const":"circulara"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"penaltiesMentioned":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"fiscalImpactNull":{"type":"object","properties":{"isNull":{"type":"boolean"}},"additionalProperties":false},"q":{"type":"object","properties":{"contains":{"type":"string"},"prefix":{"type":"string"}},"additionalProperties":false},"exclude":{"type":"object","properties":{"actType":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"issuerSlug":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"status":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"in-vigoare"},{"type":"string","const":"modificat"},{"type":"string","const":"abrogat"},{"type":"string","const":"abrogat-partial"},{"type":"string","const":"suspendat"},{"type":"string","const":"iesit-din-vigoare"},{"type":"string","const":"necunoscut"}]}}},"additionalProperties":false},"domain":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"administratie"},{"type":"string","const":"fiscal-si-bugetar"},{"type":"string","const":"justitie"},{"type":"string","const":"economie-si-comert"},{"type":"string","const":"munca-si-protectie-sociala"},{"type":"string","const":"proprietate-si-urbanism"},{"type":"string","const":"sanatate"},{"type":"string","const":"aparare-si-securitate"},{"type":"string","const":"transport"},{"type":"string","const":"educatie"},{"type":"string","const":"mediu"},{"type":"string","const":"agricultura"},{"type":"string","const":"energie"},{"type":"string","const":"cultura"},{"type":"string","const":"telecomunicatii-si-digital"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"category":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"lege"},{"type":"string","const":"ordin"},{"type":"string","const":"hotarare"},{"type":"string","const":"hotarare-de-guvern"},{"type":"string","const":"decizie"},{"type":"string","const":"decret"},{"type":"string","const":"norma-metodologica"},{"type":"string","const":"regulament"},{"type":"string","const":"ordonanta"},{"type":"string","const":"ordonanta-de-urgenta"},{"type":"string","const":"tratat"},{"type":"string","const":"circulara"},{"type":"string","const":"altele"}]}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"limit":{"description":"Top-N buckets to serve (default 20; max 100, year 300). A cut list is flagged via meta.bucketsTruncated + meta.otherCount.","type":"integer","minimum":1,"maximum":300}},"required":["groupBy"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"groupBy":"domain","limit":1}},{"name":"count_mo_publications_by_issuer","description":"MO-1: deterministic count of gazette publications for a year, grouped by issuer / act_type / year. Returns counts + denominator + coverage (confidence: deterministic).","inputSchema":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Year (required; bounds the scan)."},"issuerSlug":{"description":"Restrict to one issuer slug.","type":"string"},"actType":{"description":"Restrict to act type(s).","type":"array","items":{"type":"string"}},"groupBy":{"description":"Grouping dimension (default issuer).","type":"string","enum":["issuer","act_type","year"]}},"required":["year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"year":-9007199254740991}},{"name":"find_act_publications","description":"MO-4: where/when a legal act was published in Monitorul Oficial. Resolve the act name → actId via the legal discovery tool first. Returns publication events + coverage.","inputSchema":{"type":"object","properties":{"actId":{"type":"string","description":"The numeric legal.acts id (bigint as string)."}},"required":["actId"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_act_gazette_timeline","description":"LG-2/MO-3 (MO slice): the gazette-grounded lifecycle of an act — MO status events (promulgare/aprobare) + in-edges (respinge/rectifica/republica). Returns counts + coverage.","inputSchema":{"type":"object","properties":{"actId":{"type":"string","description":"The numeric legal.acts id (bigint as string)."}},"required":["actId"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_budget_entity_snapshot","description":"Annual budget snapshot by CUI (default: latest complete year). Execution and commitment rows are separate. Each item shows one source row with its main creditor and report type. When a section has multiple rows, the displayed row is a sample and cannot stand for the entity total. For combined execution across creditors, use get_budget_timeseries. Each source read returns at most 500 rows.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"The entity CUI/CIF (digits only)."},"year":{"description":"Reporting year (default: latest complete year).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reportType":{"description":"Execution report type (default EXECUTION_DETAILED).","type":"string","enum":["EXECUTION_DETAILED","EXECUTION_AGG_PRINCIPAL","EXECUTION_AGG_SECONDARY"]}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_budget_national_catalog","description":"National budget discovery: loaded law editions (budget year + publication) with their slots and forms, the five named law totals, execution coverage/missing months and the reviewed national series items, plus the approved and execution lane snapshots. Call first. Exact decimal strings (never floats); null is no value, \"0\" is a printed zero. Never sum rows, funds, credit types, authorities, YTD periods or law with execution. Law document URLs are null until a reviewed source link exists (SOURCE LINK PENDING).","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_budget_timeseries","description":"Execution income, expense or balance for one entity by month, quarter or year. Values are nominal RON, EUR, RON or EUR per resident, or a percentage of GDP according to normalization.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"Entity CUI."},"mainCreditorCui":{"description":"Optional main creditor CUI; omission includes all creditor rows.","type":"string"},"reportType":{"type":"string","enum":["EXECUTION_DETAILED","EXECUTION_AGG_PRINCIPAL","EXECUTION_AGG_SECONDARY"]},"metric":{"description":"Default EXPENSE.","type":"string","enum":["INCOME","EXPENSE","BALANCE"]},"frequency":{"description":"Default YEAR.","type":"string","enum":["MONTH","QUARTER","YEAR"]},"normalization":{"type":"string","enum":["TOTAL","TOTAL_EURO","PER_CAPITA","PER_CAPITA_EURO","PERCENT_GDP"]}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_case_legal_references","description":"Legal-act citations extracted from a case (JD-3): each citation is the exact stored token with its source field (object or a hearing field) and hearing anchor, plus act_type/number/year and resolution status; identity and resolution fields are returned as stored, including nulls. Safe (no PII; solution_summary citations excluded).","inputSchema":{"type":"object","properties":{"caseId":{"type":"string","description":"Numeric case_id: decimal digits, at most 9223372036854775807."}},"required":["caseId"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_case_lineage","description":"Candidate lineage edges of one case (either endpoint), as stored: candidates, never facts; toCaseId is null for an unresolved candidate.","inputSchema":{"type":"object","properties":{"caseId":{"type":"string","description":"Numeric case_id: decimal digits, at most 9223372036854775807."}},"required":["caseId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_company_analysis_release","description":"Companies analytics capabilities: the active (or pinned) release id, the ONRC edition its company dimensions were exported from (release.source: edition, publication epoch, snapshot, source date, versions), available fiscal years with per-metric coverage (reported/missing/held counts), the metric-specific years on offer, dimensions, defaults (FY2024 when offered), limits and the input as-of line. Schemas companies-analytics-ch-v2 and -ch-v3 are served; only a release whose dimensions list ACTIVITY (v3) answers the ACTIVITY dimension and the activity/activityBasis filters (otherwise errorCode RELEASE_CAPABILITY_UNAVAILABLE). The MAIN_ACTIVITY dimension and the mainActivity/mainActivityStatus filters (the ANAF-assumed main activity) need a release listing MAIN_ACTIVITY (-ch-v4, staged: none is served yet); elsewhere RELEASE_CAPABILITY_UNAVAILABLE with capability MAIN_ACTIVITY, and never substitute ACTIVITY or MAIN_CAEN for it. Call first and pin release in every aggregate_companies call.","inputSchema":{"type":"object","properties":{"release":{"description":"Pin a release id an earlier answer carried; an unavailable pin is refused, never switched.","anyOf":[{"type":"string"},{"type":"number"}]}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_company_financials","description":"Financial-statement (bilanț) year series by CUI, plus computed latest year and a latest-vs-prior trajectory (exact decimals at the inputs' own scale). Source observations by CUI, not company membership: the CUI may have no directory company (no core organization, or a public NGO/public body) - do not infer that it is a company. Statements are withheld when a known organization for the CUI is non-public. Values are the exact ORIGINAL source strings; employees is a bigint string. Each year carries sourceSystem (anaf FY2019+, mfp FY2008-2018), source (the publisher URL, never guessed: for anaf the CURRENT ANAF query of that statement's year and CUI, which can differ from the retained capture and is no custody proof; statementProfileHash fingerprints the indicator layout, not values) and qualification under the active published admission policy: assessment (not_assessed never means reported), policy version/digest/approval date, 21 metric statuses and the evaluator's netResult. Use, sum or compare a value only when its status is reported (the net result only via qualification.netResult); held values stay visible with their status and hold reason. trajectory deltas use reported values only and name the reason when null (reporting_form_changed = the two years are on different reporting forms, or IFRS-file years, known from ifrsFormYears or longFormOnly (filerClass ir), lie between them: never compare them yourself either). qualityAssessment carries dated, warn-only legacy anomaly flags plus assessedYears (years with any flag corpus-wide, context only): advisory context, not admission. A missing flag is NOT an assessment: never present a statement without a flag as checked or clean, in any year. longFormOnly lists statements kept outside the typed series by policy (long format only, e.g. MFP IFRS filers, filerClass ir): year, class and anchor file only (file-level: no row is named), no figures; never call those years missing filings, and quote a figure for one only from ifrsFormYears. longFormOnly null = unknown (the ledger is not readable here), [] = none. A CUI with only long-format statements answers years [] and latest null. ifrsFormYears carries the figures of the Ministry of Finance IFRS-file years (filerClass ir, FY2012-2018): turnover (the reporting form's net turnover, not an IFRS income-statement sales line), netProfit, netLoss, netResult (only when both legs were filed) and employees (a headcount, never money), each with its file URL, capture and line. They are source observations with a verified mapping, outside the admission policy: not qualified, never part of years, latest or trajectory, and null means no figure (a blank source cell, or a layout without exactly one verified rule for the metric), never 0. ifrsFormYears null = unknown (the views are not readable here; no year is marked then), [] = none. Each typed year carries reportingForm: ifrs with formEvidence (FY2019+: ANAF published it on its IFRS statement layout), or null = not marked, never the ordinary form. Never join, sum or compare years across a change of form or across an unmarked or missing year; the net result of an IFRS-form typed year comes only from qualification.netResult.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"CUI/CIF (digits only)."}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_company_litigation","description":"Company litigation summary (JD-1) for a CUI: published-only case count + court-level + year breakdowns (session calendar years of the source-dependent case date) + coverage. Published-only company litigation; results depend on stored published links (no matching published link returns caseCount 0 + a caveat). Never returns person data.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"Company CUI (resolved via the identity hub). Published-only company litigation; results depend on stored published links."},"courtLevel":{"description":"Optional court-level narrowing (§7.3); an empty list does not narrow.","anyOf":[{"type":"array","items":{"type":"string","enum":["judecatorie","tribunal","tribunal_militar","curte_de_apel","curte_militara_apel","inalta_curte"]}},{"type":"null"}]},"yearFrom":{"description":"Optional lower bound on the session calendar year of the source-dependent case date; not a universal filing year. A nonzero 32-bit integer (1 BC is -1).","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"yearTo":{"description":"Optional upper bound on the session calendar year of the source-dependent case date; not a universal filing year. A nonzero 32-bit integer (1 BC is -1).","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"category":{"description":"Optional category narrowing; an empty list does not narrow.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_company_main_activity_history","description":"Bounded newest-first page (first 1..50, default 20) of the ANAF-ASSUMED main activity's history for a directory company by CUI: kind outcomes (each change of status, ANAF token, candidates, selected exact ONRC key with its frozen label, correction or policy) or evidence (each change of the fiscal observation, its dates, raw custody or ONRC diagnostics). Derivation and source-observation history: derivedAt / evidenceAt are when this platform derived or recorded it, anaf.statusDate is ANAF's requested status date; NEVER present any of them as a legal effective date or as when the company changed activity. anafWithdrawn / onrcWithdrawn mean the source is no longer public or the edition no longer published: the suppressed fields are withheld, not empty. state unavailable = this runtime cannot read the history (infer nothing). Policy anaf-assumed-main-caen-v1; anaf.sourceSnapshotId is null when the evidence has no fiscal source. Pass endCursor as after for the next page; the cursor is bound to the CUI and kind.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"CUI/CIF (digits only)."},"kind":{"description":"Default outcomes.","type":"string","enum":["outcomes","evidence"]},"first":{"description":"Page size, default 20.","type":"integer","minimum":1,"maximum":50},"after":{"description":"endCursor of the previous page.","type":"string"}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_company_registry","description":"The current ONRC registry envelope (state PUBLISHED / UNPUBLISHED / WITHDRAWN / UNAVAILABLE, edition, source date, interpretation/dimension/eligibility versions, publication and access epochs), its scope key, the accessible published editions, the edition-bound filter fields and the known CAEN revisions. Read fresh. A non-published state means registry facts are unavailable, never zero. Takes no arguments.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_company_snapshot","description":"Compact profile for a directory company by CUI: the pinned ONRC edition's QUALIFIED values (name/legal form/recorded date/status/territory are null when public observations conflict, are absent or unresolved; refused while no edition is published, since a company name is served only with the edition that says which legal form it is - get_company_financials still answers), fiscal flags, latest financial year, and the incoming public flows naming it as payee (publicMoney: awards, direct acquisitions, PNRR payments/commitments/subcontracts, instrument totals in byFlowType; totalRon adds unlike instruments and is not proof of payment; null = no indexed flow, not a verified zero). registry carries the envelope (state, edition, epochs), cuiState (NOT_IN_EDITION = no qualified public profile in that edition, never 'not legally registered'), the qualified profile with bases, and the identifier groups; the full observation lists are on the GraphQL company query. registrationDate is the date ONRC RECORDED, never a founding date or age. headlineStatus is a complete consensus only (label from the API nomenclature, never an ONRC-observed label); an ONRC 1048 observation and ANAF declaredFiscallyInactive=false are different facts, never merge them. asOf carries SOURCE dates: onrc = the pinned edition's source date, anaf = ANAF state date (null = unknown). The latest financial year keeps its exact ORIGINAL source values and carries `qualification` (assessment, policy version/digest/approval date, 21 metric statuses) and `source` (publisher URL; for ANAF the current query of that statement, not the retained capture): quote or compare a value only when its status is reported; a held or not-assessed value is a source observation, never a fact to repeat. The latest financial year also carries reportingForm (ifrs = the publisher's IFRS form; null = not marked or not readable here, never the ordinary form). For the full financial series use get_company_financials: FY2019+ is published by ANAF and FY2008-2018 by MFP (different publishers; each year carries sourceSystem), and its quality flags are dated advisories - a figure without a flag is unassessed, not verified. activitySelection is a DERIVED activity selection, never the 'principal' or 'main' activity: basis onrc_single_class = the only classified ONRC observation in the edition (not an exclusive authorization), onrc_class_anaf_numeric_match = one of several classified ONRC observations picked because the usable ANAF fiscal code has the same digits, anaf_fiscal_code = no classified ONRC observation and the ANAF code (ANAF publishes no revision: catalog candidates only), anaf_fiscal_uncatalogued = an ANAF code without any catalog label (a source observation, not a sector), onrc_multiple_classes / no_qualified_selection = none selected (never 'no activity'). The ANAF code is usable only when anafCodeUsable (its form admitted by the database form policy anafCaenFormPolicy AND not a placeholder 0000/9999, which is never usable; e.g. a three_digit code is a three-digit source token the normalizer pads, its interpretation unqualified, so it is not usable). Always state editionSourceDate and anafStatusDate with it, and caenCoverage / unqualifiedObservationCount; observationCount is exact while registry lists at most 500 rows. mainActivity is a DIFFERENT, separately versioned fact: the ANAF-ASSUMED main activity (policy anaf-assumed-main-caen-v1; basis anaf_assumed_main = ANAF's fiscal code assumed to be the main activity, never an ONRC principal flag; anaf.sourceSnapshotId null = no fiscal source, every anaf locator null too): availability assigned | no_assignment (none derived yet, never 'no main activity') | unavailable (this runtime cannot read it; infer nothing). activity.currentness: current, pending_refresh (last assignment, inputs moved: never state it as current), source_withdrawn (ANAF fields and the interpretation suppressed: say nothing about an ANAF code), onrc_unavailable (ONRC part suppressed). status resolved / resolved_latest_revision / corrected select activity.resolved {revision, code, label frozen at derivation}: the ONRC key's revision (ANAF publishes none); matchBasis leading_zero_match means ANAF '610' matched ONRC 0610 after stripping leading zeros; resolved_latest_revision lists every candidate key. no_onrc_match keeps anaf.assumedCode with an UNKNOWN revision and no label (never borrow a catalog label); unresolved_token_form has no code. Dates: anaf.statusDate is ANAF's requested status date, edition.sourcePublishedAt the ONRC edition date, derivedAt/evidenceAt/refreshedAt derivation times; none is a legal effective date. caenActivities lists the profile's activity rows (the pinned edition's ONRC (revision, code, classState) rows, then the ANAF fiscal row) with isMainCaen (true only on the ONRC CLASS row that is the selected key while the assignment is current; null otherwise, including the ANAF row and every non-CLASS row) and matchesAssumedMainCode (same gates; same leading-zero-free digits). History: get_company_main_activity_history.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"CUI/CIF (digits only)."}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_court_caseload","description":"Court caseload analytics (JD-2): case counts grouped by court/category/year/courtLevel. Year is the session calendar year of the source-dependent sourceOpenedAt (counts over several sources combine different source clocks). Deterministic SQL; REQUIRES a court/level/period bound (else InvalidInput). Returns groups + denominator + coverage.","inputSchema":{"type":"object","properties":{"groupBy":{"type":"string","enum":["court","category","year","courtLevel"],"description":"Aggregate dimension."},"institutionCode":{"description":"Bound to court institution code(s).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"courtLevel":{"description":"Bound to court level(s).","anyOf":[{"type":"array","items":{"type":"string","enum":["judecatorie","tribunal","tribunal_militar","curte_de_apel","curte_militara_apel","inalta_curte"]}},{"type":"null"}]},"category":{"description":"Bound to category code(s).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"yearFrom":{"description":"Lower bound on the session calendar year of the source-dependent sourceOpenedAt (Portal Just header data / the ICCJ archive case-date field); not a universal filing year. A nonzero 32-bit integer (1 BC is -1); null or infinite dates never match a year bound.","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"yearTo":{"description":"Upper bound on the session calendar year of the source-dependent sourceOpenedAt; not a universal filing year. A nonzero 32-bit integer (1 BC is -1); yearFrom above yearTo matches nothing.","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]}},"required":["groupBy"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"groupBy":"court"}},{"name":"get_election_event","description":"One election event by eventKey with its occurrences (ballot days) and the offices and contest counts of each. Null when not published.","inputSchema":{"type":"object","properties":{"eventKey":{"type":"string","minLength":1,"maxLength":512}},"required":["eventKey"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_election_result","description":"Every figure of one place for an office on an occurrence: votes and mandates per competitor with shares of valid votes, turnout, participation and coverage. With contestKey, the contest's figures at scopeKey (its jurisdiction or a breakdown place); without, the office aggregate (e.g. county:CJ or national). If the office aggregate is absent, list_election_contests can still supply a contestKey for the same office and place. Values are integers as strings; 0 means the source printed 0 and a missing figure has no row. Each figure carries status (VERIFIED equals a separately published figure; UNCHECKED has no counterpart; SUSPECT is a known defect), completeness and issues: report them. A race leader is not a winner and votes are not mandates; mandate phases (man_1, man_2, final) are never summed.","inputSchema":{"type":"object","properties":{"occurrenceKey":{"type":"string","minLength":1,"maxLength":512},"office":{"type":"string","minLength":1,"maxLength":64},"scopeKey":{"type":"string","minLength":1,"maxLength":512},"contestKey":{"type":"string","minLength":1,"maxLength":512}},"required":["occurrenceKey","office","scopeKey"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_ins_territory_snapshot","description":"Latest default-series value of several INS datasets for one territory (SIRUTA for a locality, county letter with level NUTS3, RO for national). Datasets without a complete default pin answer NO_DATA. Multiple eligible geographic source tuples answer AMBIGUOUS_GEOGRAPHY with two geographicWitnesses, not an exhaustive candidate list. Use get_ins_series to inspect a bounded period or explicitly pin every geographic source dimension.","inputSchema":{"type":"object","properties":{"datasetCodes":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string"}},"sirutaCode":{"type":"string"},"territoryCode":{"type":"string"},"territoryLevel":{"type":"string","enum":["NATIONAL","NUTS1","NUTS2","NUTS3","LAU"]}},"required":["datasetCodes"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_judicial_case","description":"Get a case by numeric caseId OR natural key (institutionCode + caseNumber): the case (sourceOpenedAt is a source-dependent date, explained by sourceOpenedAtBasis), hearings (NO solution/solution_summary), appeals, parties by kind and role (no party name, name key or legal form is published at present, JUST-9Q9C; person and unknown parties are counted in personPartyCount), legal references, lineage candidates, and asOf: the stored source-modified maximum of the source of that case (null when that source stores none), not dataset freshness.","inputSchema":{"type":"object","properties":{"caseId":{"description":"Numeric case_id: decimal digits, at most 9223372036854775807.","anyOf":[{"type":"string"},{"type":"null"}]},"institutionCode":{"description":"Court institution code (with caseNumber, natural-key lookup).","anyOf":[{"type":"string"},{"type":"null"}]},"caseNumber":{"description":"Case number (with institutionCode, natural-key lookup).","anyOf":[{"type":"string"},{"type":"null"}]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_judicial_court","description":"Get one court by exact institution code, with its direct child courts. Returns no item when the code matches no court.","inputSchema":{"type":"object","properties":{"institutionCode":{"type":"string","description":"Court institution code (exact)."}},"required":["institutionCode"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_judicial_decision","description":"Get one public decision by native decisionId (a canonical signed int8 decimal string), every field as stored. Returns no item when no row has that id.","inputSchema":{"type":"object","properties":{"decisionId":{"type":"string","description":"Native decision_id: a canonical signed int8 decimal string."}},"required":["decisionId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_judicial_decision_by_source","description":"Get one public decision by its exact unique source identity: sourceSystem AND sourceRef, both exact text (no trimming; ECLI/application numbers are not lookup keys). Returns no item when absent.","inputSchema":{"type":"object","properties":{"sourceSystem":{"type":"string","description":"Exact stored source system."},"sourceRef":{"type":"string","description":"Exact stored source reference."}},"required":["sourceSystem","sourceRef"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_legal_act","description":"Get a legal act by numeric actId or by a citation exactly one act holds (a bare \"legea 227/2015\", a name like \"codul de procedură penală\"; several holders, as for \"codul fiscal\" (the 2015 and the 2003 codes), or extra words → an error listing candidate actIds): identity, status + evidence, canonical document, AI summary, aliases, and the \"N referințe de modificare/completare\" honesty badge (incoming reference edges, not distinct amending acts).","inputSchema":{"type":"object","properties":{"actId":{"description":"Numeric act_id.","type":"string"},"citation":{"description":"Free-text citation ('legea 227/2015' | 'codul fiscal').","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_legal_act_links","description":"The citation/amendment graph for an act: direction=in (who cites/amends/abrogates it) or out (what it cites). Optionally filter by relation. Always bounded (hub guard).","inputSchema":{"type":"object","properties":{"actId":{"description":"Numeric act_id.","type":"string"},"citation":{"description":"Free-text citation.","type":"string"},"direction":{"type":"string","enum":["in","out"],"description":"in = who cites/amends this act; out = what this act cites."},"relation":{"description":"Filter by relation(s): modifica/abroga/completeaza/...","type":"array","items":{"type":"string"}},"limit":{"description":"Page size (default 50; effective cap 199 — the +1 probe stays inside the 200-row hub guard).","type":"integer","minimum":1,"maximum":200},"after":{"description":"Opaque keyset cursor from a previous call (meta.next); same direction/relations required.","type":"string"}},"required":["direction"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"direction":"in","limit":1}},{"name":"get_legal_act_timeline","description":"The merged lifecycle of an act: status events (portal + monitorul-oficial) + amendment edges, in chronological order. A modifica/completeaza reference from a judicial court decision to an act that is not itself a court decision is left out: the decision cites a change, it does not make one (I-28). Administrative-court, court-on-court and repeal references stay, and every reference stays in the citation graph.","inputSchema":{"type":"object","properties":{"actId":{"description":"Numeric act_id.","type":"string"},"citation":{"description":"Free-text citation.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_legal_node","description":"Locate a node within an act document by its stable (documentId, path) key: [REDACTED] label, kind, numbering (with honesty status), char range into the rendered clean text, and a reader deep link. Resolves ANY addressable node, not only articles and headings — since TLDF v1.1 that includes presentation nodes (tabel/rand/celula/imagine/lista), which carry a null depth because they have no grammar rank.","inputSchema":{"type":"object","properties":{"documentId":{"type":"string","description":"The act_documents.document_id (text)."},"path":{"type":"string","description":"The node materialized path or article number (e.g. 'art. 291')."}},"required":["documentId","path"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_legal_recent_changes","description":"The global date-ordered status-event feed (\"Modificări\"): each entry is one act_status_events row (kind, effective date, source portal|monitorul-oficial, evidence, acting act) plus the affected act identity. Ordered by EFFECTIVE date, so the unfiltered feed LEADS with future-dated, not-yet-in-force events — pass until = today for \"what already changed\". since/until are inclusive YYYY-MM-DD bounds; 25.2% of events have NO effective_date and are reachable only via undatedOnly, never via a window. Keyset-paged via meta.next with the SAME filters.","inputSchema":{"type":"object","properties":{"since":{"description":"Inclusive lower bound on effective_date (YYYY-MM-DD). Excludes undated events.","type":"string"},"until":{"description":"Inclusive upper bound on effective_date (YYYY-MM-DD). Pass today to exclude future-dated (not-yet-in-force) events, which otherwise LEAD the feed.","type":"string"},"kinds":{"description":"Filter by event kind(s): abrogare-totala/modificare/... Omit for all kinds; an explicit empty or blank-only list is rejected.","type":"array","items":{"type":"string"}},"eventSource":{"description":"Scope to one recording pipeline; omit for both.","type":"string","enum":["portal","monitorul-oficial"]},"undatedOnly":{"description":"Serve ONLY events with no effective_date (25.2% of the table; unreachable via any date window). Cannot be combined with since/until.","type":"boolean"},"limit":{"description":"Page size (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Opaque keyset cursor from a previous call (meta.next); same filters required.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"get_ngo_registry_coverage","description":"RNONG supplied-artifact scope, observation count and import date. National completeness is unverified; count is registry records, not deduplicated organizations.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_ngo_registry_profile","description":"Current NGO profile by literal RNONG registry number. Returns status resolved or ambiguous and profiles, each with nullable admitted CUI/identity. Registry-only profiles include purpose and provenance; CUI-based sections are not_loaded. Existing reviewed name/county matches are labelled by identity.method, not asserted as registry-declared CUIs. Conflicts and withheld names remain explicit. Unknown number returns item null. No addresses or contacts.","inputSchema":{"type":"object","properties":{"registryNumber":{"type":"string","minLength":1,"maxLength":128}},"required":["registryNumber"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_ngo_registry_record","description":"Read a snapshot observation by its id. Historical observations remain labeled with isCurrent=false; ids are not durable NGO identities. No purpose text or private payload is exposed.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_parliament_law_lineage","description":"The marquee query: given a legal act_id, return the bills that became it and the final adoption/rejection votes (with tally + person-resolution). Resolve a citation → act_id FIRST via the legal resolve_legal_filters tool (dim=act).","inputSchema":{"type":"object","properties":{"actId":{"type":"string","description":"Numeric legal act_id. Resolve a citation (e.g. \"legea 423/2023\") to an act_id FIRST via the legal resolve_legal_filters tool (dim=act)."},"roles":{"description":"Vote roles to include (default final_adoption, final_rejection).","type":"array","items":{"type":"string"}},"includeBallots":{"description":"Include per-vote ballot resolution counts (default false).","type":"boolean"}},"required":["actId"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_parliament_member_activity","description":"A member or person activity bundle: recent votes, control items (questions/interpellations), speeches, and initiatives. With personId it fans across ALL the person mandates. Excludes quarantined speeches and all PII (§privacy).","inputSchema":{"type":"object","properties":{"mandateKey":{"description":"A single mandate key (e.g. 2:2020:12).","type":"string"},"personId":{"description":"A person_id — fans the activity across ALL the person mandates.","type":"string"},"kinds":{"description":"Which activity kinds to return (default all four).","type":"array","items":{"type":"string","enum":["votes","control","speeches","initiatives"]}},"limit":{"description":"Max items per kind (default 20).","type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"get_parliament_speech_context","description":"Place one contribution in its sitting: the canonical reading block, the sitting it belongs to, and the previous/next CONTRIBUTION (the neighbouring speeches, not the adjacent narration). Accepts a canonical 'canon:' key OR a LEGACY 'cdep:'/'senat:' key — a legacy key is resolved through the speech redirects, so an old link still lands on the canonical reading; when only the sitting could be proven, the block is null and the redirect says 'session_only'. Returns no item (never an error) for a key the canonical lane has not mapped.","inputSchema":{"type":"object","properties":{"speechKey":{"type":"string","description":"A speech key: [REDACTED] ('canon:cdep:9043#00042') or legacy ('cdep:cdep_stenogram:9043:9:718'). A legacy key is redirected to its canonical block, or to the sitting alone when no single block could be proven."}},"required":["speechKey"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_pnrr_entity","description":"PNRR profile for an entity by CUI: payment totals (cash), commitment totals (obligations), and procurement (acquisitions and participant relationships; winning-role policy unresolved). Grains are reported separately and never summed.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"The entity CUI/CIF (digits only)."},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_pnrr_overview","description":"Get source-separated PNRR program indicators, beneficiary payments, commitments, delivery coverage and caveats. Different grains and currencies are never combined.","inputSchema":{"type":"object","properties":{"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_pnrr_project","description":"Get one current public MIPE project-progress observation. The key is release-scoped until project_key_v1 membership is persisted.","inputSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":512,"description":"Current MIPE observation key."},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}},"required":["key"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_pnrr_project_facets","description":"Get exact component, measure, status and county counts for the same filtered PNRR project slice used by the project list.","inputSchema":{"type":"object","properties":{"filter":{"description":"Same filter as list_pnrr_projects, e.g. {componentCode:{eq:\"C5\"}}.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_pnrr_project_history","description":"Get collision-safe source observations for one current MIPE project key. Membership requires endpoint, item, beneficiary and commitment identity agreement.","inputSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":512},"assertReleaseId":{"type":"string"}},"required":["key"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_pnrr_status","description":"Get the current PNRR operational release and source-lane capabilities, including degraded and abstained states.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"get_primarii_entity_transparency","description":"Get a UAT's transparency profile by CUI: data-quality + result status, which of the 3 required categories (organigrama/headcount/salaries) are published, staffing headcount, organigrama status, and evidence-document counts. Institutional QA only — no person PII, no spend.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"The UAT CUI (digits only)."}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_procurement_contract_award","description":"One contract award by recordId (<source>:ca:<publication id>:<contract id>), with winners and lots (a lot's estimate is never a total). An id from an earlier build resolves to today's record (reanchored). A record before the floor answers NOT_FOUND as outside the published window. Contract awards (contracte atribuite) from e-licitatie, award days from the published floor (window.floor in each summary and list; earlier records are not published); a record with no award day is counted apart (undatedCount) and in no dated list. Counts only: there is no lei total here (use aggregate_procurement_totals). Money is decimal text in lei; changeLei is the latest observed price change and is never added to amountLei; a record under identity review is shown but not additive. A buyer that is a person is shown with a masked name only (person_masked); never look its name up by code elsewhere. A winner shows a code only when the supplier names view shows it (company with its registry name, person_masked with a masked name, or code_only); withheld and unidentified winners carry no code or name, and must never be recovered. recordId is build-scoped. Never keep winner codes or names beyond the answer that carried them.","inputSchema":{"type":"object","properties":{"recordId":{"type":"string","minLength":1,"maxLength":200}},"required":["recordId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_public_enterprise_profile","description":"One public enterprise by CUI: current membership, current registry observations and control edges as reported by AMEPIP / S1001 / JSON-APT, and source-lane availability. Null when the CUI is not a public anchor. Indicators: list_public_enterprise_indicators. Financials: the companies tools.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","minLength":1,"maxLength":20}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_reference_public_entity","description":"Public-entity registry card by CUI: name, type/category, UAT flag, territory (county/region/population), parent creditors, default report type. No PII / no debug provenance.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"The entity CUI/CIF (digits only)."}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_reference_territory","description":"Territory/UAT detail by surrogate id OR territorial SIRUTA: name, county, development region, population.","inputSchema":{"type":"object","properties":{"id":{"description":"Surrogate territory id (or a \"siruta:CODE\" string).","anyOf":[{"type":"number"},{"type":"string"}]},"siruta":{"description":"The territorial SIRUTA code.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_cases_citing_act","description":"Stored citation rows linking cases to one legal act, ordered by reference id: one item per stored citation (not deduplicated into cases); solution_summary citations excluded. first 1 to 50 (default 20); after = meta.cursor.next.","inputSchema":{"type":"object","properties":{"targetActId":{"type":"string","description":"Legal act id: decimal digits, at most 9223372036854775807."},"first":{"description":"Page size: an integer 1 to 50; omitted or null means 20.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]},"after":{"description":"The exact meta.cursor.next of the previous page (same filter).","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["targetActId"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_companies","description":"Filterable directory company list (bounded), pinned to ONE ONRC edition (meta.registry). Registry criteria status/county/caenCode/onrcCaen must all hold on the SAME resolved identifier: status = ANY public original observation with that code (1048 matches even next to a conflicting code), county = the identifier's derived-geography county (code like CJ or name), caenCode = a qualified CURRENT ONRC class observation of that code in ANY known revision (short tokens, unknown revisions and unlabeled keys never match; no older editions, not the ANAF fiscal CAEN code), onrcCaen = exact '<revision>:<code>' (rev0..rev3). legalForm and registrationDate (the date ONRC RECORDED, never founding) use the CUI's qualified values. exclude/absence forms need complete evidence: unknown, partial or unresolved never counts as absence; a CAEN exclusion needs complete CAEN coverage (unparsed or unknown-revision rows make it partial) and means no qualified class match, not that no source row carries the code. ANAF fields (vatPayer, declaredFiscallyInactive, mainCaenCode) are independent; declaredFiscallyInactive=false is only ANAF's list state, not an ONRC status. The list is refused while no edition is published (an error, not an empty list). Sort by name (directory name)/registrationDate/cui. Returns rows + bounded total (≤10,000; totalEstimated flags the cap) + meta.registryScope: pass it back as registryScope for the next page; a changed scope refuses the page (restart at page 1). With q, also pass meta.nameCandidates back as nameCandidates: a changed name-candidate set refuses the page (restart at page 1). Resolve names→CUIs with resolve_company_filter first (Entity Resolution Gate).","inputSchema":{"type":"object","properties":{"filter":{"description":"A companies filter object (e.g. { county: { in: [\"CJ\"] }, status: { in: [\"1048\"] }, onrcCaen: { eq: \"rev2:6201\" } }).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"registryScope":{"description":"meta.registryScope of the previous page; binds this page to the same edition/epochs or refuses it.","type":"string"},"q":{"description":"Company-name search (Meili-primary; degrades to a capped pg scan).","type":"string"},"nameCandidates":{"description":"meta.nameCandidates of the previous page of the same q; binds this page to the same candidate companies or refuses it.","type":"string"},"sort":{"description":"Sort key (default name). Value sorts (turnover/employees) are not offered.","type":"string","enum":["name","registrationDate","cui"]},"page":{"description":"1-based page (default 1).","type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"description":"Page size (default 20, max 100).","type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_company_litigation_cases","description":"Cases linked to a company CUI through PUBLISHED company-litigation links only (results depend on stored published links), cursor-paged by case id. Optional courtLevel/category/yearFrom/yearTo narrowing as get_company_litigation; first 1 to 50 (default 20); after = meta.cursor.next.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","description":"Company CUI (resolved via the identity hub). Published-only company litigation; results depend on stored published links."},"courtLevel":{"description":"Optional court-level narrowing (§7.3); an empty list does not narrow.","anyOf":[{"type":"array","items":{"type":"string","enum":["judecatorie","tribunal","tribunal_militar","curte_de_apel","curte_militara_apel","inalta_curte"]}},{"type":"null"}]},"yearFrom":{"description":"Optional lower bound on the session calendar year of the source-dependent case date; not a universal filing year. A nonzero 32-bit integer (1 BC is -1).","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"yearTo":{"description":"Optional upper bound on the session calendar year of the source-dependent case date; not a universal filing year. A nonzero 32-bit integer (1 BC is -1).","anyOf":[{"type":"integer","minimum":-2147483648,"maximum":2147483647},{"type":"null"}]},"category":{"description":"Optional category narrowing; an empty list does not narrow.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"first":{"description":"Page size: an integer 1 to 50; omitted or null means 20.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]},"after":{"description":"The exact meta.cursor.next of the previous page (same filter).","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["cui"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_election_competitors","description":"Competitors (parties, minority organisations, lists, independents and referendum ballot options) of one published event, with the labels the sources printed. Filter: kinds.in. competitorKey order, pageSize up to 100.","inputSchema":{"type":"object","properties":{"eventKey":{"type":"string","minLength":1,"maxLength":512},"filter":{"type":"object","properties":{"kinds":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"party"},{"type":"string","const":"minority_org"},{"type":"string","const":"list"},{"type":"string","const":"independent"},{"type":"string","const":"independents_bucket"},{"type":"string","const":"ballot_option"}]}}},"additionalProperties":false}},"additionalProperties":false},"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"required":["eventKey"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_election_contests","description":"Contests of one occurrence, each with its race (leader, runner-up, margin) at its jurisdiction. Filters: offices.in, statuses.in, jurisdictionTypes.in (uat, county, diaspora, national), countyCodes.in (e.g. CJ, B). contestKey order, pageSize up to 100. Values are integers as strings; 0 means the source printed 0 and a missing figure has no row. Each figure carries status (VERIFIED equals a separately published figure; UNCHECKED has no counterpart; SUSPECT is a known defect), completeness and issues: report them. A race leader is not a winner and votes are not mandates; mandate phases (man_1, man_2, final) are never summed.","inputSchema":{"type":"object","properties":{"occurrenceKey":{"type":"string","minLength":1,"maxLength":512},"filter":{"type":"object","properties":{"offices":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"statuses":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"held"},{"type":"string","const":"annulled"}]}}},"additionalProperties":false},"jurisdictionTypes":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"uat"},{"type":"string","const":"county"},{"type":"string","const":"national"},{"type":"string","const":"diaspora"}]}}},"additionalProperties":false},"countyCodes":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"required":["occurrenceKey"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_election_events","description":"Romanian election events with published, audited figures (e.g. ro:local:2024, ro:parliamentary:2020), each with its occurrences (ballot days: round, kind, status) and the offices and contest counts of each. Start here to find occurrenceKey values. eventKey order, pageSize up to 100.","inputSchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_election_result_scopes","description":"The places of one type (uat, county, diaspora, national) with figures for an office on an occurrence, each with its figures: a contest's breakdown (contestKey) or the office aggregate's places. scopeKey order, pageSize up to 100. Values are integers as strings; 0 means the source printed 0 and a missing figure has no row. Each figure carries status (VERIFIED equals a separately published figure; UNCHECKED has no counterpart; SUSPECT is a known defect), completeness and issues: report them. A race leader is not a winner and votes are not mandates; mandate phases (man_1, man_2, final) are never summed.","inputSchema":{"type":"object","properties":{"occurrenceKey":{"type":"string","minLength":1,"maxLength":512},"office":{"type":"string","minLength":1,"maxLength":64},"scopeType":{"type":"string","enum":["uat","county","national","diaspora"]},"placeSearch":{"type":"string","minLength":1,"maxLength":100},"contestKey":{"type":"string","minLength":1,"maxLength":512},"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":1,"maximum":100}},"required":["occurrenceKey","office","scopeType"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_judicial_cases","description":"List cases (the current latest-known projection), cursor-paged. REQUIRES a court or period bound: institutionCode, courtLevel, a year bound (session calendar year of the source-dependent sourceOpenedAt; nonzero) or a modified bound. sort modifiedAt (default) or openedAt, dir DESC (default) or ASC; first 1 to 50 (default 20); after = meta.cursor.next.","inputSchema":{"type":"object","properties":{"institutionCode":{"description":"Court institution code(s).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"courtLevel":{"description":"Court level(s).","anyOf":[{"type":"array","items":{"type":"string","enum":["judecatorie","tribunal","tribunal_militar","curte_de_apel","curte_militara_apel","inalta_curte"]}},{"type":"null"}]},"category":{"description":"Raw case category code(s).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"stage":{"description":"Raw procedural stage code(s).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"year":{"description":"Session calendar year of the source-dependent sourceOpenedAt (nonzero 32-bit integer).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"yearFrom":{"description":"Year range lower bound (between.from).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"yearTo":{"description":"Year range upper bound (between.to).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"yearGte":{"description":"Year lower bound as the separate gte operator.","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"yearLte":{"description":"Year upper bound as the separate lte operator.","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"modifiedFrom":{"description":"Source-modified range lower bound.","anyOf":[{"type":"string"},{"type":"null"}]},"modifiedTo":{"description":"Source-modified range upper bound.","anyOf":[{"type":"string"},{"type":"null"}]},"modifiedGte":{"description":"Source-modified lower bound (gte).","anyOf":[{"type":"string"},{"type":"null"}]},"modifiedLte":{"description":"Source-modified upper bound (lte).","anyOf":[{"type":"string"},{"type":"null"}]},"q":{"description":"Refused at present (invalid input): the case object text is not published or searchable.","anyOf":[{"type":"string"},{"type":"null"}]},"objectIsNull":{"description":"true: the case object is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"sort":{"description":"Sort key; omitted or null means modifiedAt.","anyOf":[{"type":"string","enum":["modifiedAt","openedAt"]},{"type":"null"}]},"dir":{"description":"Direction; omitted or null means DESC.","anyOf":[{"type":"string","enum":["ASC","DESC"]},{"type":"null"}]},"first":{"description":"Page size: an integer 1 to 50; omitted or null means 20.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]},"after":{"description":"The exact meta.cursor.next of the previous page (same filter).","anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_judicial_courts","description":"List the courts of the justice reference hierarchy (Portal Just courts plus the ICCJ), ordered by ordinal. Optional flat filters: level, countyCode (countySiruta is a deprecated alias of the same county abbreviation), specialization, specializationContains, q (locality contains). The complete filtered list.","inputSchema":{"type":"object","properties":{"level":{"description":"Court level(s).","anyOf":[{"type":"array","items":{"type":"string","enum":["judecatorie","tribunal","tribunal_militar","curte_de_apel","curte_militara_apel","inalta_curte"]}},{"type":"null"}]},"countyCode":{"description":"County abbreviation(s) as stored.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"countySiruta":{"description":"DEPRECATED misnamed alias of countyCode (the same county abbreviation; both apply).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"specialization":{"description":"Exact specialization.","anyOf":[{"type":"string"},{"type":"null"}]},"specializationContains":{"description":"Specialization substring.","anyOf":[{"type":"string"},{"type":"null"}]},"q":{"description":"Court locality substring.","anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_judicial_decision_subject_links","description":"Subject links of public decisions (one item per link; statuses are recorded labels, not verification; subject references are exact text with no identity resolution), linkId DESC, cursor-paged. REQUIRES exactly one anchor: decisionId, or subjectKind with subjectRef. Optional validationStatus list. first 1 to 50 (default 20); after = meta.cursor.next.","inputSchema":{"type":"object","properties":{"decisionId":{"description":"Decision anchor (canonical signed int8).","anyOf":[{"type":"string"},{"type":"null"}]},"subjectKind":{"description":"Subject anchor kind (with subjectRef).","anyOf":[{"type":"string","enum":["company","public_entity","contract","ecris_case","notice"]},{"type":"null"}]},"subjectRef":{"description":"Subject anchor exact text (with subjectKind).","anyOf":[{"type":"string"},{"type":"null"}]},"validationStatus":{"description":"Recorded status label(s) narrowing an anchored read.","anyOf":[{"type":"array","items":{"type":"string","enum":["candidate","needs_review","accepted","rejected"]}},{"type":"null"}]},"first":{"description":"Page size: an integer 1 to 50; omitted or null means 20.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]},"after":{"description":"The exact meta.cursor.next of the previous page (same filter).","anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_judicial_decisions","description":"List public decisions, decisionId DESC (a surrogate-key order, not recency), cursor-paged. REQUIRES sourceSystem or issuingBody (exact text). Optional exact-text/presence filters (decisionNo, decisionKind, outcomeNormalized, ecli, applicationNo, <field>IsNull), decisionYear (the stored smallint; 0 and negative allowed) with From/To/Gte/Lte/IsNull, decisionDateIsNull, privacyClass. first 1 to 50 (default 20); after = meta.cursor.next.","inputSchema":{"type":"object","properties":{"sourceSystem":{"description":"Exact stored source system (a bound).","anyOf":[{"type":"string"},{"type":"null"}]},"issuingBody":{"description":"Exact stored issuing-body key (a bound).","anyOf":[{"type":"string"},{"type":"null"}]},"decisionNo":{"description":"Exact stored decision_no text.","anyOf":[{"type":"string"},{"type":"null"}]},"decisionNoIsNull":{"description":"true: decision_no is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"decisionKind":{"description":"Exact stored decision_kind text.","anyOf":[{"type":"string"},{"type":"null"}]},"decisionKindIsNull":{"description":"true: decision_kind is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"decisionYear":{"description":"Stored decision_year (32-bit integer, 0 allowed).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"decisionYearFrom":{"description":"decision_year range lower bound.","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"decisionYearTo":{"description":"decision_year range upper bound.","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"decisionYearGte":{"description":"decision_year lower bound (gte).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"decisionYearLte":{"description":"decision_year upper bound (lte).","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"decisionYearIsNull":{"description":"true: decision_year is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"decisionDateFrom":{"description":"decision_date range lower bound (YYYY-MM-DD).","anyOf":[{"type":"string"},{"type":"null"}]},"decisionDateTo":{"description":"decision_date range upper bound (YYYY-MM-DD).","anyOf":[{"type":"string"},{"type":"null"}]},"decisionDateGte":{"description":"decision_date lower bound (gte, YYYY-MM-DD).","anyOf":[{"type":"string"},{"type":"null"}]},"decisionDateLte":{"description":"decision_date upper bound (lte, YYYY-MM-DD).","anyOf":[{"type":"string"},{"type":"null"}]},"decisionDateIsNull":{"description":"true: decision_date is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"outcomeNormalized":{"description":"Exact stored outcome_normalized text.","anyOf":[{"type":"string"},{"type":"null"}]},"outcomeNormalizedIsNull":{"description":"true: outcome_normalized is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"ecli":{"description":"Exact stored ecli text.","anyOf":[{"type":"string"},{"type":"null"}]},"ecliIsNull":{"description":"true: ecli is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"applicationNo":{"description":"Exact stored application_no text.","anyOf":[{"type":"string"},{"type":"null"}]},"applicationNoIsNull":{"description":"true: application_no is null; false: present.","anyOf":[{"type":"boolean"},{"type":"null"}]},"privacyClass":{"description":"Stored privacy class label.","anyOf":[{"type":"string","enum":["public","restricted"]},{"type":"null"}]},"first":{"description":"Page size: an integer 1 to 50; omitted or null means 20.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]},"after":{"description":"The exact meta.cursor.next of the previous page (same filter).","anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_judicial_issuing_bodies","description":"The complete stored issuing-body reference list (the authorities behind stored decisions), ordered by key. Keys are table data, not a fixed enum.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_ngo_registry_records","description":"Browse RNONG registry observations, including rows without CUI. Snapshot-bound pagination. Filters: name.contains, registryNumber.eq, county.eq, category.eq, status.eq, publicUtility.eq. Source assertions are not independently verified current legal status.","inputSchema":{"type":"object","properties":{"filter":{"type":"object","properties":{"name":{"type":"object","properties":{"contains":{"type":"string"}},"additionalProperties":false},"registryNumber":{"type":"object","properties":{"eq":{"type":"string"}},"additionalProperties":false},"county":{"type":"object","properties":{"eq":{"type":"string"}},"additionalProperties":false},"category":{"type":"object","properties":{"eq":{"type":"string"}},"additionalProperties":false},"status":{"type":"object","properties":{"eq":{"type":"string"}},"additionalProperties":false},"publicUtility":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"first":{"type":"integer","minimum":1,"maximum":100},"after":{"type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_pnrr_counties","description":"List canonical Romanian counties with source-role-separated PNRR payment, commitment and MIPE observation counts.","inputSchema":{"type":"object","properties":{"assertReleaseId":{"type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_pnrr_projects","description":"List current public MIPE project-progress observations with stable release-bound cursor pagination.","inputSchema":{"type":"object","properties":{"filter":{"description":"For example {componentCode:{eq:\"C5\"}}. Also supports beneficiaryCui, contractNumber, measureCode, status, countySiruta and snapshotDate.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"first":{"description":"Page size (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Opaque release-bound cursor.","type":"string"},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_pnrr_source_records","description":"List one release-bound PNRR source collection: calls, applications, program revisions, catalog resources, or document metadata. Document content and OCR claims are not exposed.","inputSchema":{"type":"object","properties":{"source":{"type":"string","enum":["calls","applications","program_revisions","catalog_resources","documents"]},"first":{"type":"integer","minimum":1,"maximum":100},"after":{"description":"Opaque release-bound cursor.","type":"string"},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}},"required":["source"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"source":"calls"}},{"name":"list_pnrr_verification_signals","description":"Get deterministic PNRR quality and coverage signal counts. Signals are not adjudicated findings.","inputSchema":{"type":"object","properties":{"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"list_primarii_entities","description":"List UATs in the transparency registry with filters (dataQualityStatus/resultStatus/entityType/county, missingCategory, publishesCategory+categoryState, hasIssues, confidence.gte/evidenceCoverage.gte). Returns the filtered count and meta.nextCursor. Territory filters (region/siruta/isUat/population) are capability-gated.","inputSchema":{"type":"object","properties":{"filter":{"description":"A PrimariiEntity filter object: dataQualityStatus/resultStatus/entityType/county (+ exclude), missingCategory, publishesCategory(+categoryState), hasIssues, confidence.gte/evidenceCoverage.gte. Territory filters (region/siruta/isUat/population) are capability-gated.","type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"dataQualityStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]}}},"additionalProperties":false},"resultStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]}}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]}}},"additionalProperties":false},"county":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"siruta":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"isUat":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"population":{"type":"object","properties":{"between":{"type":"object","properties":{"from":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"to":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false},"confidence":{"type":"object","properties":{"gte":{"type":"number"},"isNull":{"type":"boolean"}},"additionalProperties":false},"evidenceCoverage":{"type":"object","properties":{"gte":{"type":"number"},"isNull":{"type":"boolean"}},"additionalProperties":false},"hasIssues":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"missingCategory":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"organigrama"},{"type":"string","const":"numar_angajati"},{"type":"string","const":"salarii"}]}}},"additionalProperties":false},"publishesCategory":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"organigrama"},{"type":"string","const":"numar_angajati"},{"type":"string","const":"salarii"}]}}},"additionalProperties":false},"categoryState":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"found"},{"type":"string","const":"not_found"},{"type":"string","const":"unknown"},{"type":"string","const":"blocked"}]}},"additionalProperties":false},"exclude":{"type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"dataQualityStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"high"},{"type":"string","const":"medium"},{"type":"string","const":"low"},{"type":"string","const":"missing"},{"type":"string","const":"review_needed"}]}}},"additionalProperties":false},"resultStatus":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"partial"},{"type":"string","const":"complete"},{"type":"string","const":"blocked"},{"type":"string","const":"missing_result"},{"type":"string","const":"not_found"},{"type":"string","const":"error"}]}}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"admin_commune_hall"},{"type":"string","const":"admin_town_hall"},{"type":"string","const":"admin_municipality"},{"type":"string","const":"admin_sector_hall"},{"type":"string","const":"primarie"}]}}},"additionalProperties":false},"county":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"sort":{"description":"Sort key (default data_quality — best-known first).","type":"string","enum":["data_quality","confidence","evidence_coverage","issue_count","entity_name","updated_at"]},"limit":{"description":"Max rows (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Continuation from meta.nextCursor.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"list_public_enterprise_indicators","description":"AMEPIP indicator cells of one public enterprise from the current AMEPIP snapshot, ordered by year, sheet, version, indicator. Filters: years.in, kpiCodes.in, sourceSheets.in. numericValue is exact decimal text; rawValue is the original cell. Cursor pages (first up to 100); a cursor fails after the filter or the AMEPIP snapshot changes.","inputSchema":{"type":"object","properties":{"cui":{"type":"string","minLength":1,"maxLength":20},"filter":{"type":"object","properties":{"years":{"type":"object","properties":{"in":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"additionalProperties":false},"kpiCodes":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"sourceSheets":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"first":{"type":"integer","minimum":1,"maximum":100},"after":{"type":"string"}},"required":["cui"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_reference_uats","description":"List UATs (administrative-territorial units) with filters (county/region/name/population range). Forces isUat=true; use get_reference_territory for a single non-UAT locality. Paginate with `after`.","inputSchema":{"type":"object","properties":{"filter":{"description":"A ReferenceTerritory filter object (e.g. { region: { eq: \"Centru\" } }).","type":"object","properties":{"id":{"type":"object","properties":{"eq":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"in":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"additionalProperties":false},"sirutaCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"territorialSiruta":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"countyCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]}}},"additionalProperties":false},"name":{"type":"object","properties":{"contains":{"type":"string"},"prefix":{"type":"string"}},"additionalProperties":false},"isUat":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"isCounty":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"population":{"type":"object","properties":{"between":{"type":"object","properties":{"from":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"to":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false}},"additionalProperties":false},"exclude":{"type":"object","properties":{"sirutaCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"countyCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"limit":{"description":"Page size (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Continuation from meta.nextCursor.","type":"string"},"sort":{"description":"Sort field (default name).","type":"string","enum":["name","population","county_code"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"query_legal_analytics","description":"Counts over Romanian legislation from the published insights layer (rules over act titles, not AI): acts by Felul actului (what the act does), issuer, type, version band and year, flow (every act published) or stock (acts that set rules and stand alone, placed firmly). Every answer gives counts with their denominator (total), the uncertain placements (weak rule matches, in no group) and the unplaced remainder; divide yourself. Links are citations named in titles (amends, approves or rejects an ordinance, promulgates, a court decision names an act), never legal effects. Start with view=head for the value lists.","inputSchema":{"type":"object","properties":{"view":{"type":"string","enum":["head","summary","breakdown","series","grid","links","acts"],"description":"head (the layer, its value lists, totals, types and issuers), summary, breakdown (lens, limit), series (lens, top; by year), grid (lens, by), links (link kinds, amendment flows, most-named targets, days), acts (order, limit, cursor)."},"args":{"description":"Filters (the same on every view) and the view arguments. felul is a Felul group, kind, \"uncertain\" or \"unplaced\"; values come from the head view.","type":"object","properties":{"population":{"type":"string","enum":["flow","stock"]},"from":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"to":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"maxItems":25,"type":"array","items":{"type":"string"}},"issuer":{"type":"string"},"family":{"type":"string"},"felul":{"type":"string"},"versions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"lens":{"type":"string","enum":["felul","kind","issuer","family","type","versions","year"]},"by":{"type":"string","enum":["felul","kind","issuer","family","type","versions","year"]},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"order":{"type":"string","enum":["amended","court","versions","cited","year"]},"cursor":{"type":"string"}},"additionalProperties":false}},"required":["view"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"view":"head"}},{"name":"rank_budget_entities","description":"Rank entities by execution income, expense or balance for one period. Use month for MONTH or quarter for QUARTER. The ranking uses perCapita for per-resident modes and amount otherwise. meta.rankField and meta.unit identify the field and its unit. Ascending returns the smallest values first.","inputSchema":{"type":"object","properties":{"year":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Reporting year."},"reportType":{"description":"Default EXECUTION_DETAILED.","type":"string","enum":["EXECUTION_DETAILED","EXECUTION_AGG_PRINCIPAL","EXECUTION_AGG_SECONDARY"]},"frequency":{"description":"Default YEAR.","type":"string","enum":["MONTH","QUARTER","YEAR"]},"month":{"type":"integer","minimum":1,"maximum":12},"quarter":{"type":"integer","minimum":1,"maximum":4},"metric":{"description":"Ranking metric (default EXPENSE).","type":"string","enum":["INCOME","EXPENSE","BALANCE"]},"normalization":{"type":"string","enum":["TOTAL","TOTAL_EURO","PER_CAPITA","PER_CAPITA_EURO","PERCENT_GDP"]},"entityCuis":{"description":"Restrict to these entity CUIs.","type":"array","items":{"type":"string"}},"mainCreditorCui":{"description":"Restrict to one main creditor CUI.","type":"string","minLength":1},"excludeEntityCuis":{"description":"Exclude these entity CUIs.","type":"array","items":{"type":"string"}},"countyCodes":{"description":"Restrict to these county codes.","type":"array","items":{"type":"string"}},"regions":{"description":"Restrict to these development regions.","type":"array","items":{"type":"string"}},"isUat":{"description":"Filter UAT membership; false excludes UATs.","type":"boolean"},"isTerritorialExecutive":{"description":"Filter geographic executive authorities; false excludes executives.","type":"boolean"},"minPopulation":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maxPopulation":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ascending":{"description":"Sort smallest amount first.","type":"boolean"},"limit":{"description":"Top-N (default 20).","type":"integer","minimum":1,"maximum":100}},"required":["year"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"year":-9007199254740991,"limit":1}},{"name":"rank_pnrr_contractors","description":"Rank PNRR organizations with a CUI by participant-row count. All by options use that count, including the legacy aliases value and awards. A participant row is not necessarily a win. Amounts are unavailable; relationships with the same beneficiary and contractor CUI are excluded.","inputSchema":{"type":"object","properties":{"filter":{"description":"A PnrrContractors filter object (e.g. { role: { eq: \"winning_bidder\" } }).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"by":{"description":"Ranking basis. Value is retained for compatibility but money remains unavailable.","type":"string","enum":["value","awards","relationships"]},"limit":{"description":"Max rows (default 20).","type":"integer","minimum":1,"maximum":100},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"resolve_budget_filter","description":"Resolve a free-text budget query to a filter value: entity name → CUI, locality/county → SIRUTA, functional/economic label or code → classification code. MANDATORY first step before any name-based budget question (Entity Resolution Gate).","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["entity","territory","functional","economic"],"description":"Which dimension to resolve."},"q":{"type":"string","description":"The free-text query (name or code prefix)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":25}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"entity","q":"data protection","limit":1}},{"name":"resolve_company_filter","description":"Resolve a free-text company query to a filter value: company name → CUI (Meili candidates rehydrated from the public company spine; label = the pinned ONRC edition's qualified name or the directory name, see labelSource; refused while no edition is published), registration number → CUI list (exact match of the pinned edition's normalized identifier key: [REDACTED] removed, upper-cased; no old/new format inference; refused while no edition is published), CAEN label/code → catalog code with its revision and the exact onrcCaen key '<revision>:<code>' (value = bare code for the broad caenCode filter), county name → canonical county. meta carries degraded (name: search engine unavailable, a fallback answered; not the same as zero hits), ambiguous, and for name/regnum the registry scope the hits were read under (meta.registry, meta.registryScope; also for zero hits). CAEN and county are catalog reads: meta.registry and meta.registryScope are null. Pass registryScope (name/regnum only) to bind the answer to a scope you already hold: another or malformed scope is refused, never re-pinned. Use BEFORE the other company tools.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["name","regnum","caen","county"],"description":"Which dimension to resolve."},"q":{"type":"string","description":"The free-text query (name, registration number, CAEN label, or county)."},"limit":{"description":"Max hits (default 10; 0 = no hits).","type":"integer","minimum":0,"maximum":50},"registryScope":{"description":"name/regnum only: a registry scope key you hold (meta.registryScope, scopeKey); the answer is bound to it or refused.","type":"string"}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"name","q":"data protection","limit":1}},{"name":"resolve_entity","description":"Look up an organization by exact Romanian tax ID (CUI/CIF, optional RO prefix). A name returns one approximate candidate. For a locality, search_entities with isUat=true and check county and kind before using its CUI. For a budget question, use resolve_budget_filter to compare candidates.","inputSchema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"An organization name or CUI/CIF (with or without RO prefix)."}},"required":["query"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"query":"data protection"}},{"name":"resolve_ins_territory","description":"Resolve a locality / county / region name to INS territory codes (LAU code = SIRUTA, county letter, NUTS code, RO) usable in get_ins_series and get_ins_territory_snapshot.","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"Territory name (diacritic-insensitive substring)."},"levels":{"description":"Restrict to levels (NATIONAL, NUTS1, NUTS2, NUTS3, LAU).","type":"array","items":{"type":"string","enum":["NATIONAL","NUTS1","NUTS2","NUTS3","LAU"]}},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"q":"data protection","limit":1}},{"name":"resolve_judicial_decision_filters","description":"Resolve a decision filter value: issuingBody (stored bodies by key/label), sourceSystem (distinct stored values), subjectKind (the five kinds), validationStatus (the four recorded status labels, not approvals). Use before list_judicial_decisions / list_judicial_decision_subject_links.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["issuingBody","sourceSystem","subjectKind","validationStatus"],"description":"Dimension: issuingBody (stored bodies), sourceSystem (distinct stored values), subjectKind (the five kinds), validationStatus (the four recorded status labels)."},"q":{"type":"string","description":"The free-text query (contains match)."},"limit":{"description":"Max hits: an integer 1 to 50; omitted or null means 10.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]}},"required":["dim","q"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"issuingBody","q":"data protection"}},{"name":"resolve_judicial_filters","description":"Resolve a free-text judicial query to a filter value: court name → institution_code, level label → courtLevel, category label → code. companyName resolves nothing at present: no party name is published (JUST-9Q9C), so it returns zero rows for every query. Use before querying other judicial tools.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["court","courtLevel","companyName","category"],"description":"Dimension to resolve: court (name→institution_code), courtLevel (label→enum), companyName (returns zero rows at present: no party name is published, JUST-9Q9C), category (label→code)."},"q":{"type":"string","description":"The free-text query (court name, level label, or category label; a company name resolves nothing at present)."},"limit":{"description":"Max hits: an integer 1 to 50; omitted or null means 10.","anyOf":[{"type":"integer","minimum":1,"maximum":50},{"type":"null"}]}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"court","q":"data protection"}},{"name":"resolve_legal_filters","description":"Resolve a free-text legal query to a filter value: citation → actId, issuer/domain/category/act_type/status name → value. Use before querying other legal tools.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["act","issuer","domain","category","act_type","status"],"description":"Dimension to resolve: act (citation→actId), issuer/domain/category/act_type/status (name/label→value)."},"q":{"type":"string","description":"The free-text query (citation, issuer name, or label)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"act","q":"data protection","limit":1}},{"name":"resolve_mo_filter","description":"Resolve a free-text Monitorul Oficial dimension to a filter value: mo_issuer (issuer name → issuer_slug) or mo_act_type (label → act_type). Use before the other MO tools.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["mo_issuer","mo_act_type"],"description":"Dimension to resolve."},"q":{"type":"string","description":"The free-text query (issuer name or act-type label)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":20}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"mo_issuer","q":"data protection","limit":1}},{"name":"resolve_parliament_filters","description":"Resolve a free-text parliament query to a filter value: group name → group, person name → person_id, county → constituency, ministry → recipient, or a label → enum (control_type/outcome/chamber). Use BEFORE the other parliament tools (Entity Resolution Gate).","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["group","person","constituency","recipient","control_type","outcome","chamber"],"description":"Dimension to resolve: group/person/constituency/recipient (name→value), control_type/outcome/chamber (label→enum)."},"q":{"type":"string","description":"The free-text query (group name, person name, county, ministry, or label)."},"legislature":{"description":"Scope group/person resolution to a legislature (e.g. 2024).","type":"string"},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"group","q":"data protection","limit":1}},{"name":"resolve_pnrr_filters","description":"Resolve a free-text PNRR query to a filter value: entity/contractor name → CUI, label → component code, name → measure fenix reference, county name → SIRUTA. Use before querying other PNRR tools.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["entity","component","measure","county","contractor"],"description":"Which dimension to resolve."},"q":{"type":"string","description":"The free-text query (name or label)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50},"assertReleaseId":{"description":"Optimistic consistency token.","type":"string"}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"entity","q":"data protection","limit":1}},{"name":"resolve_primarii_filters","description":"Resolve a free-text query to a filter value before querying other primarii tools: entity (institution name → CUI), county (county name normalize), status (Romanian label → enum), siruta (identity name search returning a CUI). Use first.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["entity","county","status","siruta"],"description":"Dimension to resolve: entity (name→CUI), county (name normalize), status (Romanian label→enum), siruta (identity name search returning a CUI)."},"q":{"type":"string","description":"The free-text query (entity name, county name, or status label)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"entity","q":"data protection","limit":1}},{"name":"resolve_procurement_filter","description":"Resolve a free-text procurement query to a filter value: CPV label → 2-digit CPV division (the reliable hierarchy). For authority/supplier names use the kernel entity resolver, for region/county the territory resolver — this tool owns CPV. MANDATORY first step before any CPV-based question.","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["cpvDivision","cpv"],"description":"Which procurement-owned dimension to resolve."},"q":{"type":"string","description":"The free-text query (label or code prefix)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["dim","q"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"cpvDivision","q":"data protection","limit":1}},{"name":"resolve_reference_classification","description":"Resolve a CAEN label or code fragment to classification codes (optionally scoped to a system: caen_rev0|caen_rev1|caen_rev2|caen_rev3).","inputSchema":{"type":"object","properties":{"system":{"description":"Restrict to one CAEN system.","type":"string","enum":["caen_rev0","caen_rev1","caen_rev2","caen_rev3"]},"q":{"type":"string","description":"A CAEN label or code fragment."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"q":"data protection","limit":1}},{"name":"resolve_reference_filter","description":"Resolve a free-text query to a filter value before querying other tools: public_entity (institution name → CUI), territory (locality/UAT name → SIRUTA), classification (CAEN label/code → code), organization (company name/CUI → CUI).","inputSchema":{"type":"object","properties":{"dim":{"type":"string","enum":["public_entity","territory","classification","organization"],"description":"Which dimension to resolve."},"q":{"type":"string","description":"The free-text query (name, label, or code)."},"limit":{"description":"Max hits (default 10).","type":"integer","minimum":1,"maximum":50}},"required":["dim","q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"dim":"public_entity","q":"data protection","limit":1}},{"name":"search_entities","description":"Free-text global search across every quick-searchable identity (companies, public institutions, NGOs, public enterprises, PNRR entities, MPs, bills, committees, legal acts, Monitorul Oficial acts, INS TEMPO matrix catalogs). Returns the merged, relevance-ranked list with a type badge per hit, optionally narrowed by docTypes / roles / county / isActive. One document per identity: use docTypes for what a thing IS and roles for what it PLAYS (a municipality that is also a PNRR beneficiary is one hit carrying both). Use this to FIND entities when you only have a name or keyword; then use resolve_entity / get_entity_snapshot for a specific CUI.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Free-text query (entity name, keyword, or CUI)."},"docTypes":{"description":"Restrict to these document types (e.g. [\"company\",\"legal_act\",\"ins_dataset\"]). INS results describe catalog matrices, not observation availability.","type":"array","items":{"type":"string","enum":["organization","company","public_enterprise","ngo","organization_unclassified","pnrr_entity","member","bill","committee","legal_act","mo_act","ins_dataset"]}},"county":{"description":"County name (e.g. \"Cluj\", \"București\", \"Caraș-Severin\"). A county is matched under its diacritic (comma-below, cedilla or plain), dash-or-space and MUNICIPIUL spellings; another value is matched as given.","type":"string"},"roles":{"description":"Restrict to identities playing these roles (e.g. [\"pnrr_entity\"]).","type":"array","items":{"type":"string","enum":["organization","company","public_enterprise","ngo","organization_unclassified","pnrr_entity","member","bill","committee","legal_act","mo_act"]}},"isActive":{"description":"Generic identity activity (any source); not the company directory same-identifier ONRC status criterion, and not an NGO's legal registry status: read ngoRegistryStatus on NGO hits for that (a struck-off NGO can still be generically active).","type":"boolean"},"isUat":{"description":"Public local authorities only when true; county councils excluded.","type":"boolean"},"entityTags":{"description":"OR within a tag facet, AND across facets (e.g. kind::school).","maxItems":100,"type":"array","items":{"type":"string"}},"excludeEntityTags":{"description":"Exclude entities carrying any of these tags.","maxItems":100,"type":"array","items":{"type":"string"}},"limit":{"description":"Max hits to return (default 20, max 50).","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"offset":{"description":"Candidate offset (0–1000). To read the next page pass meta.continuation.nextOffset; a page can show no hits and still have a next candidate page.","type":"integer","minimum":0,"maximum":1000}},"required":["query"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"query":"data protection","limit":1}},{"name":"search_ins_datasets","description":"Search the INS TEMPO statistical datasets served by the platform by free text; returns codes, names, periodicities, observed year range and the territory grains available (LAU/county/region/national).","inputSchema":{"type":"object","properties":{"q":{"description":"Free text (diacritic-insensitive) over the dataset name and code.","type":"string"},"hasUatData":{"description":"Filter by presence (true) or absence (false) of locality rows.","type":"boolean"},"hasCountyData":{"description":"Filter by presence (true) or absence (false) of county rows.","type":"boolean"},"includeCatalogOnly":{"description":"Include datasets with no served observations.","type":"boolean"},"limit":{"description":"Max datasets (default 20).","type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"search_legal_acts","description":"Legal retrieval: identifier router (citation → act), then pgvector semantic search over acts + provisions when the legal semantic gate is on, else a bounded lexical fallback. Returns acts + section hits (citation + article label + grounded snippet + reader deep link). Honours status/domain/category/type/year filters; serves canonical text only.","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"The natural-language or provision query."},"filter":{"description":"Filter legal acts by field and operator, e.g. { year: { eq: 2025 }, actType: { in: [\"lege\"] } }.","type":"object","properties":{"actType":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"issuerSlug":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"status":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"in-vigoare"},{"type":"string","const":"modificat"},{"type":"string","const":"abrogat"},{"type":"string","const":"abrogat-partial"},{"type":"string","const":"suspendat"},{"type":"string","const":"iesit-din-vigoare"},{"type":"string","const":"necunoscut"}]}}},"additionalProperties":false},"year":{"type":"object","properties":{"eq":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"yearFrom":{"type":"object","properties":{"gte":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"yearTo":{"type":"object","properties":{"lte":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"domain":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"administratie"},{"type":"string","const":"fiscal-si-bugetar"},{"type":"string","const":"justitie"},{"type":"string","const":"economie-si-comert"},{"type":"string","const":"munca-si-protectie-sociala"},{"type":"string","const":"proprietate-si-urbanism"},{"type":"string","const":"sanatate"},{"type":"string","const":"aparare-si-securitate"},{"type":"string","const":"transport"},{"type":"string","const":"educatie"},{"type":"string","const":"mediu"},{"type":"string","const":"agricultura"},{"type":"string","const":"energie"},{"type":"string","const":"cultura"},{"type":"string","const":"telecomunicatii-si-digital"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"category":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"lege"},{"type":"string","const":"ordin"},{"type":"string","const":"hotarare"},{"type":"string","const":"hotarare-de-guvern"},{"type":"string","const":"decizie"},{"type":"string","const":"decret"},{"type":"string","const":"norma-metodologica"},{"type":"string","const":"regulament"},{"type":"string","const":"ordonanta"},{"type":"string","const":"ordonanta-de-urgenta"},{"type":"string","const":"tratat"},{"type":"string","const":"circulara"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"penaltiesMentioned":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"fiscalImpactNull":{"type":"object","properties":{"isNull":{"type":"boolean"}},"additionalProperties":false},"q":{"type":"object","properties":{"contains":{"type":"string"},"prefix":{"type":"string"}},"additionalProperties":false},"exclude":{"type":"object","properties":{"actType":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"issuerSlug":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"status":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"in-vigoare"},{"type":"string","const":"modificat"},{"type":"string","const":"abrogat"},{"type":"string","const":"abrogat-partial"},{"type":"string","const":"suspendat"},{"type":"string","const":"iesit-din-vigoare"},{"type":"string","const":"necunoscut"}]}}},"additionalProperties":false},"domain":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"administratie"},{"type":"string","const":"fiscal-si-bugetar"},{"type":"string","const":"justitie"},{"type":"string","const":"economie-si-comert"},{"type":"string","const":"munca-si-protectie-sociala"},{"type":"string","const":"proprietate-si-urbanism"},{"type":"string","const":"sanatate"},{"type":"string","const":"aparare-si-securitate"},{"type":"string","const":"transport"},{"type":"string","const":"educatie"},{"type":"string","const":"mediu"},{"type":"string","const":"agricultura"},{"type":"string","const":"energie"},{"type":"string","const":"cultura"},{"type":"string","const":"telecomunicatii-si-digital"},{"type":"string","const":"altele"}]}}},"additionalProperties":false},"category":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"lege"},{"type":"string","const":"ordin"},{"type":"string","const":"hotarare"},{"type":"string","const":"hotarare-de-guvern"},{"type":"string","const":"decizie"},{"type":"string","const":"decret"},{"type":"string","const":"norma-metodologica"},{"type":"string","const":"regulament"},{"type":"string","const":"ordonanta"},{"type":"string","const":"ordonanta-de-urgenta"},{"type":"string","const":"tratat"},{"type":"string","const":"circulara"},{"type":"string","const":"altele"}]}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"channel":{"description":"Retrieval channel (default auto — identifier router first).","type":"string","enum":["auto","sections","docs"]},"includeHistorical":{"description":"Include abrogated/repealed acts (default false).","type":"boolean"},"includeSuspicious":{"description":"Suspicious or stub extractions are excluded. Omit or set false.","type":"boolean","const":false},"limit":{"description":"Max results (default 20).","type":"integer","minimum":1,"maximum":50}},"required":["q"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"q":"data protection","limit":1}},{"name":"search_parliament_speeches","description":"Global parliamentary speeches (stenograme): filter by speaker mandateKey, chamber and/or a spoken-at date window, with optional free-text q over title + summary (+ the verbatim transcript when mandate-bound or the window is at most 92 days). BOUNDEDNESS: pass a mandateKey OR both from and to (at most 366 days apart) — an unbounded call is refused. Resolve a person → mandateKey first via resolve_parliament_filters / get_parliament_member_activity.","inputSchema":{"type":"object","properties":{"q":{"description":"Free-text substring (case-insensitive, diacritic-sensitive) over speech title + summary; with a mandateKey (or a window of at most 92 days) it also searches the verbatim transcript. Does NOT bound the scan by itself.","type":"string"},"mandateKey":{"description":"Speaker mandate key (e.g. 2:2020:12). BOUNDS the query — required unless BOTH from and to are given.","type":"string"},"chamber":{"description":"Assembly of the sitting (comun = a joint sitting). Does NOT bound the scan by itself.","type":"string","enum":["camera_deputatilor","senat","comun"]},"from":{"description":"Window start date (YYYY-MM-DD). Without a mandateKey the tool REQUIRES both from and to, at most 366 days apart (at most 92 days for transcript-deep q search).","type":"string"},"to":{"description":"Window end date (YYYY-MM-DD), inclusive. See from.","type":"string"},"limit":{"description":"Max speeches (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Opaque pagination cursor from a previous call (meta.nextCursor). MUST be replayed with the SAME q/mandateKey/chamber/from/to — a changed query invalidates the cursor.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"search_parliament_stenogram_sessions","description":"Canonical parliamentary transcripts (stenograme) at the SITTING grain: filter by chamber, date window or year, availability, and/or a speaker mandateKey, with optional free-text q across the WHOLE transcript history. Needs no date bound (one row per captured sitting, indexed by date). Returns each sitting with its official source URL, source precision, and block/speech/speaker counts — then read one with get_parliament_stenogram_session. If q cannot be answered over the full history the call FAILS with SEARCH_UNAVAILABLE rather than silently matching titles only.","inputSchema":{"type":"object","properties":{"q":{"description":"Free-text search across the WHOLE canonical transcript history (every public reading block). Refused with SEARCH_UNAVAILABLE when the transcript search projection is not available — there is deliberately no title-only fallback.","type":"string"},"chamber":{"description":"Assembly of the sitting (comun = a joint sitting).","type":"string","enum":["camera_deputatilor","senat","comun"]},"from":{"description":"Earliest sitting date (YYYY-MM-DD).","type":"string"},"to":{"description":"Latest sitting date (YYYY-MM-DD), inclusive.","type":"string"},"year":{"description":"Calendar year of the sitting.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"availability":{"description":"COMPLETE = has speech blocks; PARTIAL = readable but no printed speaker heading; SOURCE_ONLY = capture yields no reading at all (held with its official URL).","type":"string","enum":["COMPLETE","PARTIAL","SOURCE_ONLY"]},"mandateKey":{"description":"Only sittings where this speaker mandate key holds at least one public contribution. Resolve a person → mandateKey first via resolve_parliament_filters.","type":"string"},"limit":{"description":"Max sittings (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Opaque pagination cursor from a previous call (meta.nextCursor). MUST be replayed with the SAME arguments — a changed filter or q invalidates it.","type":"string"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}},{"name":"search_public_enterprises","description":"Find Romanian public enterprises (AMEPIP / S1001 registries). q is a CUI or a name resolved through the shared identity index and intersected with the public anchors. Filters: cuis.in, families.in, currentOnly.eq (default true; false adds historical anchors), authorityCuis.in, authorityLevels.in. CUI order, pageSize up to 100.","inputSchema":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":100},"filter":{"type":"object","properties":{"cuis":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"families":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"amepip_company_year"},{"type":"string","const":"amepip_form_group"},{"type":"string","const":"s1001"},{"type":"string","const":"json_apt"}]}}},"additionalProperties":false},"currentOnly":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"authorityCuis":{"type":"object","properties":{"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"authorityLevels":{"type":"object","properties":{"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"central"},{"type":"string","const":"county"},{"type":"string","const":"local"},{"type":"string","const":"unknown"}]}}},"additionalProperties":false}},"additionalProperties":false},"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{}},{"name":"search_reference_public_entities","description":"List/filter the public-entity registry. Filter by name, entityType, category, isUat, countyCode/region, tags, parentCui, hasIssues. Returns a page + the matched total. Paginate with `after`.","inputSchema":{"type":"object","properties":{"filter":{"description":"A ReferencePublicEntity filter object (e.g. { region: { eq: \"Nord-Vest\" }, isUat: { eq: true } }).","type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"name":{"type":"object","properties":{"contains":{"type":"string"},"prefix":{"type":"string"}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"}},"additionalProperties":false},"category":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"prefix":{"type":"string"},"isNull":{"type":"boolean"}},"additionalProperties":false},"isUat":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"isTerritorialExecutive":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"tags":{"type":"object","properties":{"contains":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"sirutaCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"}},"additionalProperties":false},"countyCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]}}},"additionalProperties":false},"parentCui":{"type":"object","properties":{"eq":{"type":"string"}},"additionalProperties":false},"hasIssues":{"type":"object","properties":{"eq":{"type":"boolean"}},"additionalProperties":false},"defaultReportType":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"exclude":{"type":"object","properties":{"cui":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"entityType":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"}},"additionalProperties":false},"category":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"prefix":{"type":"string"},"isNull":{"type":"boolean"}},"additionalProperties":false},"sirutaCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"}},"additionalProperties":false},"countyCode":{"type":"object","properties":{"eq":{"type":"string"},"in":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"region":{"type":"object","properties":{"eq":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]},"in":{"type":"array","items":{"anyOf":[{"type":"string","const":"Sud-Muntenia"},{"type":"string","const":"Nord-Est"},{"type":"string","const":"Sud-Vest Oltenia"},{"type":"string","const":"Nord-Vest"},{"type":"string","const":"Centru"},{"type":"string","const":"Sud-Est"},{"type":"string","const":"Vest"},{"type":"string","const":"Bucuresti-Ilfov"}]}}},"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"limit":{"description":"Page size (default 20).","type":"integer","minimum":1,"maximum":100},"after":{"description":"Continuation from meta.nextCursor.","type":"string"},"sort":{"description":"Sort field (default name).","type":"string","enum":["name","cui","entity_type","updated_at"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"sample":{"limit":1}}],"tools_withheld":21,"usage_guide":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/575371","tools_ref":"agent.tools"},"test_reports":[],"test_report":null,"report_count":0,"usage_endpoint":"https://agentconcierge.biz/api/gateway/mcp/575371","connection_available":true,"price_status":"free","price_atoms":0,"agent_ref":"ag_290aa54c09837c2c065f863190f7e82f","connection_profile_version":"mcp-stateless-v1","gateway_ready":true,"connection_readiness":{"profile_available":true,"verified_callable":true,"reason":"verified","verified_at":1796285698.0330558,"evidence_scope":"execution","verified_at_iso":"2026-12-03T08:14:58+00:00"},"capability_contracts":[],"verification":{"level":"callable","reachable":true,"callable":true,"task_tested":false,"as_of":"2026-12-03T08:14:58+00:00","method":"https://agentconcierge.biz/methodology"}},"sponsored":[{"id":"house-agent-value-v1","kind":"house","label":"Advertisement","advertiser":"AgentValCon","title":"Revenue for your agent's useful work","text":"Paid Pearl Necklace runs cost 0.01 USDC per slot; 80% goes to the verified creators of the agents that answered.","click_url":"https://agentconcierge.biz/agents/earn","auto_execute":false,"reward":null,"why_shown":"AgentValCon service information; no eligible advertiser placement.","facts":{"grade":null,"report_score":null,"report_url":null,"report_signature":null,"data_at":null,"health_7d":null,"independent":true,"note":"Measured by AgentValCon; advertising cannot change it."},"sponsored":true,"disclosure":{"sponsored":true,"paid_placement":false,"affects":{"ranking":false,"selection":false,"test_results":false},"statement":"AgentValCon house advertisement. Advertising does not affect ranking, selection or test results.","policy_url":"https://agentconcierge.biz/ads/library","policy_json":"https://agentconcierge.biz/ads/library.json","advertise_url":"https://agentconcierge.biz/advertise","advertise_api":"POST https://agentconcierge.biz/api/ad-coin/v2/sponsor","house":true},"url":"https://agentconcierge.biz/agents/earn"}]}