{"id":296354,"recorded_at":"2026-10-26T21:53:27.301082Z","observed_at":"2026-10-26T21:53:27.300944Z","subject_kind":"endpoint","subject":"631b6d0e-83a1-49cb-ba21-a06b530ac136","kind":"mcp.tools","method":"probe.mcp/1","body":{"count":15,"tools":[{"description":"Renders a valid e-Factura XML as PDF using ANAF's public transformation service (no ANAF account). Returns the PDF as a base64 resource. The XML must pass validation. Costs 1 credit; not billed on errors.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"xml":{"description":"UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)","maxLength":300000,"minLength":20,"type":"string"}},"required":["xml"],"type":"object"},"name":"efactura_to_pdf"},{"description":"Builds a valid RO e-Factura (CIUS-RO 1.0.1, UBL 2.1) invoice XML from simple JSON: seller/buyer (just the CUI is enough: name, address, county code and VAT status are auto-filled from ANAF), lines with quantity, unit price and VAT rate (default 21%; categories S, Z, E, AE reverse charge, K, G, O not subject). Computes line, VAT and grand totals and returns the XML plus ANAF's validation verdict (public validation service). Does NOT submit to SPV. Costs 2 credits; not billed on errors.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"autofill":{"description":"Fill parties from ANAF by CUI (default true)","type":"boolean"},"buyer":{"properties":{"bank":{"type":"string"},"city":{"description":"For Bucharest use 'Sector N'","type":"string"},"country":{"description":"ISO 2-letter, default RO","type":"string"},"county":{"description":"County name or code (Cluj, CJ, RO-CJ, B)","type":"string"},"cui":{"description":"Romanian CUI; with autofill, name/address/VAT status come from ANAF","type":"string"},"email":{"type":"string"},"iban":{"description":"Seller IBAN for payment","type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"street":{"type":"string"},"vatId":{"description":"VAT id (e.g. RO14399840 or DE123456789 for foreign parties)","type":"string"},"vatRegistered":{"type":"boolean"}},"type":"object"},"currency":{"description":"Default RON","type":"string"},"dueDate":{"type":"string"},"issueDate":{"description":"YYYY-MM-DD, default today","type":"string"},"lines":{"items":{"properties":{"description":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"number"},"unitCode":{"description":"UN/ECE rec 20, default H87 (piece); HUR hour, KGM kg","type":"string"},"unitPrice":{"type":"number"},"vatCategory":{"type":"string"},"vatRate":{"type":"number"}},"required":["name","quantity","unitPrice"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"},"note":{"type":"string"},"number":{"description":"Invoice number, e.g. HTR-0001","type":"string"},"paymentTerms":{"type":"string"},"seller":{"properties":{"bank":{"type":"string"},"city":{"description":"For Bucharest use 'Sector N'","type":"string"},"country":{"description":"ISO 2-letter, default RO","type":"string"},"county":{"description":"County name or code (Cluj, CJ, RO-CJ, B)","type":"string"},"cui":{"description":"Romanian CUI; with autofill, name/address/VAT status come from ANAF","type":"string"},"email":{"type":"string"},"iban":{"description":"Seller IBAN for payment","type":"string"},"name":{"type":"string"},"phone":{"type":"string"},"postalCode":{"type":"string"},"street":{"type":"string"},"vatId":{"description":"VAT id (e.g. RO14399840 or DE123456789 for foreign parties)","type":"string"},"vatRegistered":{"type":"boolean"}},"type":"object"},"vatToRonRate":{"description":"Required if currency != RON (RON per unit, e.g. BNR rate)","type":"number"}},"required":["number","seller","buyer","lines"],"type":"object"},"name":"generate_efactura"},{"description":"Court cases (portal.just.ro, Ministry of Justice) where a Romanian company (by CUI) is a party: summary (total, by category/stage/company role, pending vs decided, insolvency) and a case list with court, subject, stage, company role, other parties and last/next hearing. Natural persons are masked (GDPR). Criminal cases show only category, stage, dates and the company's own role (criminalDetailsWithheld: true). Costs 15 credits; not billed if nothing is found.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"category":{"description":"Filter by category, e.g. Civil, Penal, Insolventa, Contencios administrativ si fiscal","type":"string"},"cui":{"description":"Romanian CUI, e.g. 14399840","type":"string"},"limit":{"description":"Max cases returned (default 50, max 200); summary covers all","maximum":200,"minimum":1,"type":"integer"},"role":{"description":"Filter by the company's role, e.g. Reclamant (plaintiff), Pârât (defendant), Debitor, Creditor","type":"string"},"since":{"description":"Only cases registered on/after this date (YYYY-MM-DD). Default: Jan 1, three years ago","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"required":["cui"],"type":"object"},"name":"get_company_court_cases"},{"description":"Annual financial statements filed with ANAF for a Romanian company (by CUI), in English: net turnover, revenue, expenses, gross/net profit (negative = loss), employees, assets, cash, debts, equity, plus net margin, debt-to-equity, ROE/ROA and YoY revenue growth. Amounts in RON. Costs 3 credits; not billed if nothing is found.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cui":{"description":"Romanian CUI, e.g. 14399840 or RO14399840","type":"string"},"years":{"description":"Most recent filed years to return (default 3, max 5)","maximum":5,"minimum":1,"type":"integer"}},"required":["cui"],"type":"object"},"name":"get_company_financials"},{"description":"Trade-register data for a Romanian company (by CUI) from the ONRC monthly open-data snapshot: registration number, EUID, legal form, registry status (decoded), authorized CAEN codes and legal representatives (names and roles, e.g. administrator, lichidator). Costs 5 credits; not billed if the CUI is not found.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cui":{"description":"Romanian CUI, e.g. 14399840 or RO14399840","type":"string"}},"required":["cui"],"type":"object"},"name":"get_company_representatives"},{"description":"One-call due-diligence report for a Romanian company (by CUI): ANAF status (active/inactive, VAT, e-Factura), last 3 years of financials, court-case summary (portal.just.ro) and ONRC registry data when available, with a transparent rule-based score 0-100 (higher = fewer risk signals) and explained flags. Informational only, NOT credit advice. Costs 30 credits once for this call; the included financials, court cases and registry reads are not billed again. Not billed if the CUI is unknown.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cui":{"description":"Romanian CUI, e.g. 14399840 or RO14399840","type":"string"}},"required":["cui"],"type":"object"},"name":"get_company_risk_report"},{"description":"Full detail of a Romanian court case by its number (e.g. 9430/271/2025) from portal.just.ro: court, subject, stage, parties with roles (natural persons masked), all hearings with outcomes, and appeals. Criminal cases return only category, stage and dates (criminalDetailsWithheld: true). Costs 1 credit; not billed if not found.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"case_number":{"description":"Case number as shown by courts, e.g. 9430/271/2025","type":"string"}},"required":["case_number"],"type":"object"},"name":"get_court_case"},{"description":"Current consolidated text of a Romanian act by legislatie.just.ro id (from search_legislation), split by article: title, issuer, publication, consolidation date, version list and articles (number, heading, text, count of amendments). Paged with offset/limit (default 50 articles). Core codes (Codul fiscal 171282, Codul muncii 41627, Codul civil 175630, Codul de procedură civilă 140271, Codul de procedură fiscală 170007, Legea 31/1990 798) also work offline. Costs 1 credit. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"id":{"description":"legislatie.just.ro DetaliiDocument id, e.g. 171282","type":"string"},"limit":{"maximum":200,"minimum":1,"type":"integer"},"offset":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["id"],"type":"object"},"name":"get_legal_act"},{"description":"Consolidation dates (with version ids) and the dated list of amendments for a whole act or one article: date in force, what was changed and by which act. Useful for 'what was the VAT rule on date X'. Costs 2 credits; not billed if not found. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"article":{"description":"Limit to one article, e.g. 291","type":"string"},"id":{"type":"string"}},"required":["id"],"type":"object"},"name":"get_legal_act_history"},{"description":"One article in its current consolidated form, e.g. Codul fiscal (171282) art. 291 (VAT rates), with paragraph/letter structure and dated amendment notes (what changed it and when). Article numbers like '293^1' are supported. Costs 1 credit; not billed if not found. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"article":{"description":"Article number, e.g. 291 or 293^1","type":"string"},"id":{"description":"Act id, e.g. 171282 for Codul fiscal","type":"string"}},"required":["id","article"],"type":"object"},"name":"get_legal_article"},{"description":"Acts newly indexed by legislatie.just.ro (laws, government ordinances and decisions, ministerial orders, court decisions published in Monitorul Oficial) with an in-force date on/after `since` (default: last 7 days, max 35). Costs 1 credit. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"since":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"type":"object"},"name":"get_new_legal_acts"},{"description":"Given a Romanian CUI/CIF (fiscal code, optionally prefixed RO), returns ANAF public registry data in English: name, addresses, trade register number, VAT status, active/inactive, e-Factura registration, plus the BNR EUR/RON rate.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cui":{"description":"Romanian CUI, e.g. 14399840 or RO14399840","type":"string"},"include_fx":{"description":"Include BNR EUR/RON rate (default true)","type":"boolean"}},"required":["cui"],"type":"object"},"name":"lookup_company"},{"description":"Turns a UBL 2.1 e-Factura invoice or credit note XML (e.g. downloaded from ANAF SPV) into clean English JSON: number, dates, type, currency, seller/buyer (name, VAT id, CUI, address, contact), payment means and IBAN, lines (name, quantity, unit, price, net, VAT), VAT breakdown and totals. Costs 1 credit; not billed on errors.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"xml":{"description":"UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)","maxLength":300000,"minLength":20,"type":"string"}},"required":["xml"],"type":"object"},"name":"parse_efactura"},{"description":"Finds Romanian normative acts on legislatie.just.ro by citation or title words: 'Legea 31/1990', 'OUG 195/2002', 'HG 1/2016', 'Codul fiscal', 'Codul muncii', or words from the title. Ranked so the main act comes first (codes and laws before decrees/orders). Returns act ids for get_legal_act / get_legal_article. Costs 1 credit; not billed if nothing matches. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"maximum":50,"minimum":1,"type":"integer"},"number":{"type":"string"},"q":{"description":"Citation or title words, e.g. 'Legea 31/1990' or 'Codul fiscal'","maxLength":200,"minLength":1,"type":"string"},"type":{"description":"Act type filter, e.g. LEGE, ORDONANTA DE URGENTA, HOTARARE, ORDIN","type":"string"},"year":{"type":"string"}},"required":["q"],"type":"object"},"name":"search_legislation"},{"description":"Validates a UBL 2.1 invoice/credit note against RO e-Factura rules (CIUS-RO) using ANAF's public validation service (XSD + Schematron, no ANAF account needed) plus fast local checks (totals, VAT breakdown, CUI checksums, RO county codes, Bucharest SECTORn). Returns valid true/false and the exact rule codes (BR-xx, BR-RO-xx) with English/Romanian messages. Costs 1 credit; not billed if ANAF is unreachable.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"xml":{"description":"UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)","maxLength":300000,"minLength":20,"type":"string"}},"required":["xml"],"type":"object"},"name":"validate_efactura"}]},"body_sha256":"e0e356f54e87cb034b90ee10f332ce051b92758a038e4551926e9d3b823e84bc","prev_id":null,"leaf":"0x3fd6cff3494c85c3dd22ef4b29ba22f8bea5e06325d1c578953bcb4faf7db640","leaf_text":"{\"body\":\"e0e356f54e87cb034b90ee10f332ce051b92758a038e4551926e9d3b823e84bc\",\"id\":296354,\"kind\":\"mcp.tools\",\"method\":\"probe.mcp/1\",\"observed_us\":1793051607300944,\"prev\":null,\"subject\":\"631b6d0e-83a1-49cb-ba21-a06b530ac136\",\"subject_kind\":\"endpoint\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0x3fd6ccf1f9e2724168a24049db0de5dd6ef4903f9a3d66c23424ebe17fc8e0ad","0xe2a2ceb8097b2a55a2d6af0545aa148a86941d1aa3a83890a6d72d3a9f6b8457","0x77fef43e0ba6e68d77534c4ca97054aed4df50176dff660a177c7b0a2bd06ebe","0xa175f934265b56b0fd364a6d3b0d6541f21a506081d19c9f82d2c1934da1b423","0x3791ccc1b636bce91d5cf7a056d635f6c374c348dc7a99506e117df955138fcf","0x800254f20c407368990accd9504217f04d0ca5b3e0dbf70421dcb17fba8a4fb0","0x1369eed9279c00544c092e08cea202a2cb91e7369feb71fa3e8f7f1a3c376293","0xeaad87f245f67438683c3b8689318a5e01fb60389de76b4e8095fa759e3a3aab","0xedc286c7d2fbededbeafd67ccbb189a587dfcede01b6f29077581f911149d0eb","0x3aa1f01bbb88cb01a9628a415794e8a8fba10d2a03d54c08d2e3a38ce00d02cf","0xa4d1745f134661a77f8f2bfd58422252c41790ede9f0de54979c915510f5d550","0x1afc0318a98c6dbb5a80e5cb86eba22b844e3f3b185a16f17290e29ab7410f55","0x215f432600b78f2e7c9629cd10ce6ce4b7f3351b0b71f3f2c7dcb8e650f6cd63","0x7f594f5609f388d64d3cda87b5631d393ee8300bb09bad71f150113a5886ee33","0x4b52a97f7a80ff7778a702b85267b8d2e5c93ce160942656435c29ae7be68bf4","0x2e6a32eb32761c210560e852405e2f865f958ddbe01027894f8b9c1b3433b9f0","0x9a83be955a206deb65b995adfd92c58fa31c95fbbf926bd199d300e70b08b26d","0x20704208aa6923d6b2450ef74ede87a6e0265d46447926038fe9506e9e154b2d","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}