{"serverId":"mcp-registry/io.github.idragulin/cuisor","tools":[{"name":"company_stats","fixed":{"name":"company_stats","description":"Compute ONE number over a filtered population of companies — count, sum, avg, median, p25, p75, min or max. Prefer this over listing companies and doing the arithmetic yourself: it is one call instead of dozens, and it is exact. metric: net_turnover_ron, net_profit_ron, employees, sales_per_employee_ron, profit_margin_pct, company_count, age_years. group_by: year, caen, judet, status, founded_year — use group_by='year' with years='2019-2024' to get a time series you can chart. Always report `cov","inputSchema":{"type":"object","title":"company_stats_toolArguments","properties":{"agg":{"type":"string","title":"Agg","default":"avg"},"cui":{"type":"string","title":"Cui","default":""},"caen":{"type":"string","title":"Caen","default":""},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year","default":null},"judet":{"type":"string","title":"Judet","default":""},"years":{"type":"string","title":"Years","default":""},"metric":{"type":"string","title":"Metric","default":"net_turnover_ron"},"status":{"type":"string","title":"Status","default":""},"group_by":{"type":"string","title":"Group By","default":""},"caen_query":{"type":"string","title":"Caen Query","default":""},"min_turnover":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Turnover","default":null},"registered_after":{"type":"string","title":"Registered After","default":""}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":392,"tokensAfter":392},{"name":"fetch","fixed":{"name":"fetch","description":"ChatGPT connector fetch: the full company document for one CUI `id`, as returned by a prior `search` call. Identical to get_company with no include= (administrators included; get_officers lists them per source). Use get_company instead unless you are the ChatGPT Apps SDK connector, which requires this exact name.","inputSchema":{"type":"object","title":"fetch_toolArguments","required":["id"],"properties":{"id":{"type":"string","title":"Id"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":133,"tokensAfter":133},{"name":"get_company","fixed":{"name":"get_company","description":"Identity, status, address, activity and headline figures for one company by CUI. Slim by default. Pass include=['financials','procurement','change_history','peers','same_address'] for more. Carries `as_of` dates: the register and ANAF are refreshed on different schedules. Data: the Romanian company register (~4M companies) with filed financial statements, ANAF fiscal status, public procurement awards, and legal representatives. Amounts are in lei (RON). Not real-time: every payload states the ag","inputSchema":{"type":"object","title":"get_company_toolArguments","required":["cui"],"properties":{"cui":{"type":"string","title":"Cui"},"include":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Include","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":221,"tokensAfter":221},{"name":"get_financials","fixed":{"name":"get_financials","description":"Every filed financial year for one company: turnover, profit (signed — negative is a loss), employees, and the full balance sheet, all in lei. `latest_filed_year` says how recent the filings go, so a year with no row reads as 'not filed yet' rather than 'no data'.","inputSchema":{"type":"object","title":"get_financials_toolArguments","required":["cui"],"properties":{"cui":{"type":"string","title":"Cui"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":125,"tokensAfter":125},{"name":"get_legal","fixed":{"name":"get_legal","description":"Court dockets (portal.just.ro) and BPI publications for one company, by CUI. Covers roughly the last three years, not a complete litigation history — it answers whether a company is in court now or recently, not whether it has ever been sued. Includes ambiguous matches the public website never shows: a docket whose party name is shared by more than one company in the register, fanned out one row per candidate CUI. No co-party names, no outcome or merits.","inputSchema":{"type":"object","title":"get_legal_toolArguments","required":["cui"],"properties":{"cui":{"type":"string","title":"Cui"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":176,"tokensAfter":176},{"name":"get_meta","fixed":{"name":"get_meta","description":"How old each dataset is, how many companies filed in each year, what fraction of the register carries an activity code, and the mapping from every financial field name to its Romanian label. Call this when the user asks how current or how complete the data is.","inputSchema":{"type":"object","title":"get_meta_toolArguments","properties":{}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":105,"tokensAfter":105},{"name":"get_officers","fixed":{"name":"get_officers","description":"Legal representatives and administrators of one company. This is personal data: it requires an API key, every call is recorded against that key, and it is never available anonymously. `sources_present` says which registers contributed, so an empty list means 'none on record from these sources', not 'this company has no officers'.","inputSchema":{"type":"object","title":"get_officers_toolArguments","required":["cui"],"properties":{"cui":{"type":"string","title":"Cui"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":143,"tokensAfter":143},{"name":"get_procurement","fixed":{"name":"get_procurement","description":"Public procurement (SEAP) awards for one company: contracts it won, and contracts it granted as a contracting authority. Bounded to the 200 most recent per side; `total` reports the true count, which can be far larger.","inputSchema":{"type":"object","title":"get_procurement_toolArguments","required":["cui"],"properties":{"cui":{"type":"string","title":"Cui"},"role":{"type":"string","title":"Role","default":"both"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":129,"tokensAfter":129},{"name":"list_companies","fixed":{"name":"list_companies","description":"List companies matching a filter, largest turnover first, at most 100 per page. Pass caen_query for free text ('coffee shops') or caen for explicit codes; judet accepts 'Bucharest', 'Bucuresti' or 'Bucureşti'; cui takes up to 100 comma-separated CUIs. Filters compose, so 'restaurants registered in Cluj last week' is one call. For newly registered companies pass sort='registered_desc' with registered_after — the default turnover order puts them behind every company that has ever filed a figure. C","inputSchema":{"type":"object","title":"list_companies_toolArguments","properties":{"cui":{"type":"string","title":"Cui","default":""},"caen":{"type":"string","title":"Caen","default":""},"sort":{"type":"string","title":"Sort","default":"turnover_desc"},"judet":{"type":"string","title":"Judet","default":""},"limit":{"type":"integer","title":"Limit","default":25},"cursor":{"type":"string","title":"Cursor","default":""},"status":{"type":"string","title":"Status","default":""},"caen_query":{"type":"string","title":"Caen Query","default":""},"min_turnover":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Turnover","default":null},"min_employees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Employees","default":null},"registered_after":{"type":"string","title":"Registered After","default":""},"registered_before":{"type":"string","title":"Registered Before","default":""}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":402,"tokensAfter":402},{"name":"resolve_caen","fixed":{"name":"resolve_caen","description":"Resolve free text like 'coffee shops' or 'car repair' to CAEN activity codes. ALWAYS call this before filtering by activity — do not guess a CAEN code. More than half the official nomenclator is obsolete CAEN Rev.1 with zero companies, and those are exactly the entries whose descriptions match the obvious word, so a guessed code commonly returns nothing for a question with thousands of answers. Show the user what was matched.","inputSchema":{"type":"object","title":"resolve_caen_toolArguments","required":["query"],"properties":{"limit":{"type":"integer","title":"Limit","default":10},"query":{"type":"string","title":"Query"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":187,"tokensAfter":187},{"name":"search","fixed":{"name":"search","description":"ChatGPT connector search: find Romanian companies by name or CUI, returned as {id, title, url}. Identical to search_companies — use that tool instead unless you are the ChatGPT Apps SDK connector, which requires this exact name.","inputSchema":{"type":"object","title":"search_toolArguments","required":["query"],"properties":{"query":{"type":"string","title":"Query"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":112,"tokensAfter":112},{"name":"search_companies","fixed":{"name":"search_companies","description":"Resolve a company name or CUI to candidate companies. Use this first whenever the user names a company rather than giving its CUI. Returns at most 50 candidates, active companies first, largest turnover first. Romanian company names collide heavily, so show the user the candidates rather than assuming the first is right. An unquoted query matches every name containing the words (mina srl: 1015 companies); wrap a name you already know in double quotes to get only the companies called that (\"mina ","inputSchema":{"type":"object","title":"search_companies_toolArguments","required":["query"],"properties":{"limit":{"type":"integer","title":"Limit","default":10},"query":{"type":"string","title":"Query"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":209,"tokensAfter":209}],"toolsChanged":12,"tokensSaved":0,"todo":[{"tool":"company_stats","params":["agg","cui","caen","year","judet","years","metric","status","group_by","caen_query","min_turnover","registered_after"]},{"tool":"fetch","params":["id"]},{"tool":"get_company","params":["cui","include"]},{"tool":"get_financials","params":["cui"]},{"tool":"get_legal","params":["cui"]},{"tool":"get_officers","params":["cui"]},{"tool":"get_procurement","params":["cui","role"]},{"tool":"list_companies","params":["cui","caen","sort","judet","limit","cursor","status","caen_query","min_turnover","min_employees","registered_after","registered_before"]},{"tool":"resolve_caen","params":["limit","query"]},{"tool":"search","params":["query"]},{"tool":"search_companies","params":["limit","query"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}