{"tools":[{"name":"get_entity_risk","description":"Retrieve the current risk score (0-100), risk band (LOW, MEDIUM, HIGH, CRITICAL), weighted risk factors, and registry status (VAT, KRS, KRZ) for a monitored 10-digit Polish NIP. Sources: MF VAT Whitelist API, KRS OpenAPI, and KRZ (Krajowy Rejestr Zadłużonych) — public court portal krz.ms.gov.pl, read by an automated reader; no official API exists.","inputSchema":{"type":"object","additionalProperties":false,"required":["nip"],"properties":{"nip":{"type":"string","description":"10-digit Polish tax identification number (NIP). Hyphens and spaces are stripped automatically."}}},"annotations":{"title":"Get Entity Risk Assessment","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_entity_details","description":"Retrieve the watchlist configuration, registry freshness timestamps (last_vat_check, last_krs_check, last_krz_check), and normalized entity profile for a monitored Polish NIP.","inputSchema":{"type":"object","additionalProperties":false,"required":["nip"],"properties":{"nip":{"type":"string","description":"10-digit Polish NIP."}}},"annotations":{"title":"Get Monitored Entity Status","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_entity_events","description":"List chronological registry change events (VAT status changes, bank account removals, KRS liquidation/board changes, KRZ insolvency filings) for a specific monitored Polish NIP.","inputSchema":{"type":"object","additionalProperties":false,"required":["nip"],"properties":{"nip":{"type":"string","description":"10-digit Polish NIP."},"limit":{"type":"integer","minimum":1,"maximum":500,"default":50,"description":"Maximum number of events to return (1-500)."},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response."}}},"annotations":{"title":"List Entity Risk Events","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"refresh_entity_registries","description":"Queue an immediate on-demand re-check of a monitored NIP against the registers its watchlist entry covers (MF VAT Whitelist, KRS, KRZ). Uses one manual refresh from the plan quota.","inputSchema":{"type":"object","additionalProperties":false,"required":["nip"],"properties":{"nip":{"type":"string","description":"10-digit Polish NIP already present on the organization watchlist."}}},"annotations":{"title":"Refresh Entity Registries","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"list_watchlist","description":"List all Polish companies (NIPs) monitored by the organization along with their latest VAT, KRS, KRZ statuses and risk scores.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"integer","minimum":1,"maximum":500,"default":100,"description":"Maximum number of watchlist items to return (1-500)."},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response."}}},"annotations":{"title":"List Monitored Watchlist","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"add_to_watchlist","description":"Add or reactivate one or more 10-digit Polish NIPs on the organization watchlist and queue initial checks against the selected registries (defaults to VAT; specify sources [\"VAT\", \"KRS\", \"KRZ\"] as allowed by your plan).","inputSchema":{"type":"object","additionalProperties":false,"required":["nips"],"properties":{"nips":{"type":"array","minItems":1,"maxItems":500,"items":{"type":"string"},"description":"Array of 10-digit Polish NIP numbers (checksum-validated)."},"sources":{"type":"array","minItems":1,"items":{"type":"string","enum":["VAT","KRS","KRZ"]},"default":["VAT"],"description":"Registries to monitor for these NIPs (defaults to [\"VAT\"]; Starter+ adds \"KRS\", Pro+ adds \"KRZ\")."},"label":{"type":"string","maxLength":160,"description":"Optional internal label or group tag (e.g. \"Key Logistics Suppliers\")."},"check_frequency":{"type":"string","enum":["daily","weekly","manual"],"default":"daily","description":"Automated check schedule."},"external_id":{"type":"string","maxLength":160,"description":"Optional external ERP/CRM contractor identifier (up to 160 characters after trimming; no NUL characters)."},"metadata":{"type":"object","description":"Optional custom JSON metadata object (up to 4 KB serialized)."}}},"annotations":{"title":"Add Contractors to Watchlist","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"remove_from_watchlist","description":"Remove one or more Polish NIPs from active monitoring on the organization watchlist.","inputSchema":{"type":"object","additionalProperties":false,"required":["nips"],"properties":{"nips":{"type":"array","minItems":1,"maxItems":500,"items":{"type":"string"},"description":"Array of 10-digit Polish NIP numbers to remove from active monitoring."}}},"annotations":{"title":"Remove Contractors from Watchlist","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"list_organization_events","description":"List recent registry risk events and alerts across the entire monitored contractor portfolio.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"limit":{"type":"integer","minimum":1,"maximum":500,"default":50,"description":"Maximum number of events to return (1-500)."},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response."}}},"annotations":{"title":"List Organization Risk Alerts","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_usage_quota","description":"Retrieve the organization plan limits (checks per day, watchlist capacity, webhooks, sources), the current active watchlist and active webhook counts, and the recorded usage counters (API requests, daily checks, manual refreshes) for the current and previous periods.","inputSchema":{"type":"object","additionalProperties":false,"properties":{}},"annotations":{"title":"Get Plan Usage and Quotas","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]}
