firmy.ai: Polish company and person registers (KRS, CEIDG) for AI agents is an MCP server published by ai.firmy, hosted at firmy.ai. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 8 tools, including search_companies, search_persons, get_company, get_person, list_companies.
Polish companies and people: KRS, CEIDG, financials, boards, VAT, sanctions. Free, no API key.
1 connections through 4 shared values. Tap any node.
Zwraca listę firm z KRS pasujących do nazwy, NIP-u, numeru KRS albo REGON-u: id (numer KRS), nazwę, NIP, REGON, miasto, formę prawną, status i adres strony. Użyj, gdy nie masz identyfikatora firmy albo chcesz zawęzić nazwę do miasta; gdy masz KRS lub NIP, wołaj od razu get_company. Koszt w trybie Pro: 0 operacji (wyszukiwarka KRS i baza, bez płatnych źródeł). Przykład: {"query": "CD Projekt", "city": "Warszawa"}.
| Parameter | Type | Description |
|---|---|---|
| city | string | Miasto siedziby, np. "Gdańsk"; zawęża wyszukiwanie po nazwie. |
| page | integer | Numer strony wyników, od 1. |
| limit | integer | Ile wyników na stronie (domyślnie 20, najwyżej 100). |
| query * |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| string |
| Nazwa firmy, NIP, numer KRS albo REGON (cyfry mogą być oddzielone spacjami albo myślnikami). |
{
"name": "search_companies",
"title": "Szukaj firm",
"description": "Zwraca listę firm z KRS pasujących do nazwy, NIP-u, numeru KRS albo REGON-u: id (numer KRS), nazwę, NIP, REGON, miasto, formę prawną, status i adres strony. Użyj, gdy nie masz identyfikatora firmy albo chcesz zawęzić nazwę do miasta; gdy masz KRS lub NIP, wołaj od razu get_company. Koszt w trybie Pro: 0 operacji (wyszukiwarka KRS i baza, bez płatnych źródeł). Przykład: {\"query\": \"CD Projekt\", \"city\": \"Warszawa\"}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Miasto siedziby, np. \"Gdańsk\"; zawęża wyszukiwanie po nazwie."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Numer strony wyników, od 1."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Ile wyników na stronie (domyślnie 20, najwyżej 100)."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Nazwa firmy, NIP, numer KRS albo REGON (cyfry mogą być oddzielone spacjami albo myślnikami)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"next_page",
"mode"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"nip",
"city",
"status",
"url"
],
"properties": {
"id": {
"type": "string"
},
"nip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
}
},
"source": {
"type": "string"
},
"next_page": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}Zwraca listę osób z KRS o podanym imieniu i nazwisku: publiczny identyfikator "p-…" (id), imiona, nazwisko, liczbę powiązań z firmami i adres strony. Użyj, gdy masz imię i nazwisko, a potrzebujesz identyfikatora osoby do get_person; imiennicy są rozróżniani przez liczbę powiązań, a ich profile przez get_person. Nie ma wyszukiwania po PESEL ani po dacie urodzenia. Koszt w trybie Pro: 0 operacji. Przykład: {"query": "Jan Kowalski"}.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Numer strony wyników, od 1. |
| limit | integer | Ile wyników na stronie (domyślnie 20, najwyżej 100). |
| query * | string | Imię i nazwisko osoby, np. "Jan Kowalski". |
{
"name": "search_persons",
"title": "Szukaj osób",
"description": "Zwraca listę osób z KRS o podanym imieniu i nazwisku: publiczny identyfikator \"p-…\" (id), imiona, nazwisko, liczbę powiązań z firmami i adres strony. Użyj, gdy masz imię i nazwisko, a potrzebujesz identyfikatora osoby do get_person; imiennicy są rozróżniani przez liczbę powiązań, a ich profile przez get_person. Nie ma wyszukiwania po PESEL ani po dacie urodzenia. Koszt w trybie Pro: 0 operacji. Przykład: {\"query\": \"Jan Kowalski\"}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Numer strony wyników, od 1."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Ile wyników na stronie (domyślnie 20, najwyżej 100)."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Imię i nazwisko osoby, np. \"Jan Kowalski\"."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"next_page",
"mode"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"first_names",
"last_name",
"connections_count",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_names": {
"type": "string"
},
"connections_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": {}
}
},
"source": {
"type": "string"
},
"next_page": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}Tryb darmowy czyta tylko to, co serwis już zna (sekcja spoza pamięci wraca jako "missing" z AUTH_REQUIRED); "id" to KRS, NIP, REGON, adres firmy.ai albo "p-…" osoby; zacznij od search_companies, gdy nie masz identyfikatora. Zwraca profil firmy i sekcje z "include" (bez "include": profile, people, ownership, ai_scores, description) w jednym wywołaniu oraz mapę "available", która mówi, co jeszcze można dopytać (finanse, dokumenty, VAT, sankcje, przetargi i inne). Sekcje do wyboru: profile, people, ownership, subsidiaries, group_structure, sole_proprietor, financials, documents, beneficial_owners, vat, bankruptcy, sanctions, knf_warnings, tenders, public_aid, domain, ai_scores, description, job_offers, foundation_spending, reviews, similar. Użyj, gdy masz KRS, NIP, REGON albo adres strony firmy; gdy masz tylko nazwę, najpierw search_companies. Koszt w trybie Pro (operacje za sekcję, która chybiła w pamięci serwisu): profile 3, subsidiaries 1, sole_proprietor 1, financials 20, documents 1, beneficial_owners 5, vat 1, bankruptcy 4, public_aid 1, domain 1, description 1, job_offers 1, foundation_spending 20; w trybie darmowym 0, a sekcja spoza pamięci wraca jako "missing" z AUTH_REQUIRED. Przykład: {"id": "0000006865", "include": ["financials", "vat", "sanctions"]}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | KRS (10 cyfr), NIP (także z myślnikami), REGON (9 albo 14 cyfr) albo adres strony firmy na firmy.ai (/firma/…-krs-…, /firma/…-nip-…, także dawne /KRS/…, /NIP/…). Serwer sam rozpoznaje typ. |
| fresh | boolean | Pobierz ponownie mimo pamięci serwisu. W trybie darmowym zawsze AUTH_REQUIRED. |
| id_type | string | Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam. |
| include | array | Które sekcje zwrócić: profile, people, ownership, subsidiaries, group_structure, sole_proprietor, financials, documents, beneficial_owners, vat, bankruptcy, sanctions, knf_warnings, tenders, public_aid, domain, ai_scores, description, job_offers, foundation_spending, reviews, similar. Sekcja profile… |
| estimate | boolean | Nic nie pobieraj, pokaż tylko, które sekcje są w pamięci i ile by kosztowały w trybie Pro. |
{
"name": "get_company",
"title": "Profil firmy",
"description": "Tryb darmowy czyta tylko to, co serwis już zna (sekcja spoza pamięci wraca jako \"missing\" z AUTH_REQUIRED); \"id\" to KRS, NIP, REGON, adres firmy.ai albo \"p-…\" osoby; zacznij od search_companies, gdy nie masz identyfikatora. Zwraca profil firmy i sekcje z \"include\" (bez \"include\": profile, people, ownership, ai_scores, description) w jednym wywołaniu oraz mapę \"available\", która mówi, co jeszcze można dopytać (finanse, dokumenty, VAT, sankcje, przetargi i inne). Sekcje do wyboru: profile, people, ownership, subsidiaries, group_structure, sole_proprietor, financials, documents, beneficial_owners, vat, bankruptcy, sanctions, knf_warnings, tenders, public_aid, domain, ai_scores, description, job_offers, foundation_spending, reviews, similar. Użyj, gdy masz KRS, NIP, REGON albo adres strony firmy; gdy masz tylko nazwę, najpierw search_companies. Koszt w trybie Pro (operacje za sekcję, która chybiła w pamięci serwisu): profile 3, subsidiaries 1, sole_proprietor 1, financials 20, documents 1, beneficial_owners 5, vat 1, bankruptcy 4, public_aid 1, domain 1, description 1, job_offers 1, foundation_spending 20; w trybie darmowym 0, a sekcja spoza pamięci wraca jako \"missing\" z AUTH_REQUIRED. Przykład: {\"id\": \"0000006865\", \"include\": [\"financials\", \"vat\", \"sanctions\"]}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "KRS (10 cyfr), NIP (także z myślnikami), REGON (9 albo 14 cyfr) albo adres strony firmy na firmy.ai (/firma/…-krs-…, /firma/…-nip-…, także dawne /KRS/…, /NIP/…). Serwer sam rozpoznaje typ."
},
"fresh": {
"type": "boolean",
"description": "Pobierz ponownie mimo pamięci serwisu. W trybie darmowym zawsze AUTH_REQUIRED."
},
"id_type": {
"enum": [
"krs",
"nip",
"regon",
"person"
],
"type": "string",
"description": "Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam."
},
"include": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 30,
"description": "Które sekcje zwrócić: profile, people, ownership, subsidiaries, group_structure, sole_proprietor, financials, documents, beneficial_owners, vat, bankruptcy, sanctions, knf_warnings, tenders, public_aid, domain, ai_scores, description, job_offers, foundation_spending, reviews, similar. Sekcja profile jest zawsze. Bez tego pola: profile, people, ownership, ai_scores, description."
},
"estimate": {
"type": "boolean",
"description": "Nic nie pobieraj, pokaż tylko, które sekcje są w pamięci i ile by kosztowały w trybie Pro."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id_resolved",
"url",
"mode",
"as_of",
"source",
"included",
"available"
],
"properties": {
"url": {
"type": "string"
},
"vat": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"as_of": {
"type": "string"
},
"domain": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"people": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"source": {
"type": "array",
"items": {
"type": "string"
}
},
"profile": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"reviews": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"similar": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"tenders": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"estimate": {
"type": "object",
"required": [
"mode",
"sections",
"ops_total",
"note"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"note": {
"type": "string"
},
"sections": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"status",
"ops_if_missing"
],
"properties": {
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"ops_if_missing": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"ops_total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"included": {
"type": "array",
"items": {
"type": "string"
}
},
"ai_scores": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"available": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"status"
],
"properties": {
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"summary": {
"type": "string"
}
},
"additionalProperties": false
}
},
"documents": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"ownership": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"sanctions": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"bankruptcy": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"financials": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"job_offers": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"public_aid": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"description": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"id_resolved": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"krs": {
"type": "string"
},
"type": {
"enum": [
"krs",
"nip",
"regon",
"person"
],
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false
},
"knf_warnings": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"subsidiaries": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"group_structure": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"sole_proprietor": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"beneficial_owners": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"foundation_spending": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Zwraca profil osoby z KRS (funkcje w firmach, bez daty urodzenia) i sekcje z "include" (bez "include": profile, shareholdings, co_managers, sanctions, bio) w jednym wywołaniu oraz mapę "available". Sekcje do wyboru: profile, shareholdings, co_managers, beneficial_owner_in, sanctions, bio, namesakes. Użyj, gdy masz identyfikator osoby "p-…" z search_persons, z odpowiedzi get_company albo adres strony /osoba/…; gdy masz tylko imię i nazwisko, najpierw search_persons. Osoba, która sprzeciwiła się publikacji, odpowiada błędem GONE. Koszt w trybie Pro (operacje za sekcję, która chybiła w pamięci serwisu): profile 1, shareholdings 1, bio 1; w trybie darmowym 0, a sekcja spoza pamięci wraca jako "missing" z AUTH_REQUIRED. Przykład: {"id": "p-a4df0b6002743095015b98a43bddabc8", "include": ["shareholdings", "co_managers"]}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Identyfikator osoby "p-…" (z search_persons albo z odpowiedzi get_company), dawny adres z imieniem i datą albo adres strony /osoba/… na firmy.ai. |
| fresh | boolean | Pobierz ponownie mimo pamięci serwisu. W trybie darmowym zawsze AUTH_REQUIRED. |
| id_type | string | Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam. |
| include | array | Które sekcje zwrócić: profile, shareholdings, co_managers, beneficial_owner_in, sanctions, bio, namesakes. Sekcja profile jest zawsze. Bez tego pola: profile, shareholdings, co_managers, sanctions, bio. |
| estimate | boolean | Nic nie pobieraj, pokaż tylko, które sekcje są w pamięci i ile by kosztowały w trybie Pro. |
{
"name": "get_person",
"title": "Profil osoby",
"description": "Zwraca profil osoby z KRS (funkcje w firmach, bez daty urodzenia) i sekcje z \"include\" (bez \"include\": profile, shareholdings, co_managers, sanctions, bio) w jednym wywołaniu oraz mapę \"available\". Sekcje do wyboru: profile, shareholdings, co_managers, beneficial_owner_in, sanctions, bio, namesakes. Użyj, gdy masz identyfikator osoby \"p-…\" z search_persons, z odpowiedzi get_company albo adres strony /osoba/…; gdy masz tylko imię i nazwisko, najpierw search_persons. Osoba, która sprzeciwiła się publikacji, odpowiada błędem GONE. Koszt w trybie Pro (operacje za sekcję, która chybiła w pamięci serwisu): profile 1, shareholdings 1, bio 1; w trybie darmowym 0, a sekcja spoza pamięci wraca jako \"missing\" z AUTH_REQUIRED. Przykład: {\"id\": \"p-a4df0b6002743095015b98a43bddabc8\", \"include\": [\"shareholdings\", \"co_managers\"]}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Identyfikator osoby \"p-…\" (z search_persons albo z odpowiedzi get_company), dawny adres z imieniem i datą albo adres strony /osoba/… na firmy.ai."
},
"fresh": {
"type": "boolean",
"description": "Pobierz ponownie mimo pamięci serwisu. W trybie darmowym zawsze AUTH_REQUIRED."
},
"id_type": {
"enum": [
"krs",
"nip",
"regon",
"person"
],
"type": "string",
"description": "Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam."
},
"include": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 30,
"description": "Które sekcje zwrócić: profile, shareholdings, co_managers, beneficial_owner_in, sanctions, bio, namesakes. Sekcja profile jest zawsze. Bez tego pola: profile, shareholdings, co_managers, sanctions, bio."
},
"estimate": {
"type": "boolean",
"description": "Nic nie pobieraj, pokaż tylko, które sekcje są w pamięci i ile by kosztowały w trybie Pro."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id_resolved",
"url",
"mode",
"as_of",
"source",
"included",
"available"
],
"properties": {
"bio": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"url": {
"type": "string"
},
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"as_of": {
"type": "string"
},
"source": {
"type": "array",
"items": {
"type": "string"
}
},
"profile": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"estimate": {
"type": "object",
"required": [
"mode",
"sections",
"ops_total",
"note"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"note": {
"type": "string"
},
"sections": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"status",
"ops_if_missing"
],
"properties": {
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"ops_if_missing": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"ops_total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"included": {
"type": "array",
"items": {
"type": "string"
}
},
"available": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"status"
],
"properties": {
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"summary": {
"type": "string"
}
},
"additionalProperties": false
}
},
"namesakes": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"sanctions": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"co_managers": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"id_resolved": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"krs": {
"type": "string"
},
"type": {
"enum": [
"krs",
"nip",
"regon",
"person"
],
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false
},
"shareholdings": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
},
"beneficial_owner_in": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"model": {
"type": "string"
},
"status": {
"enum": [
"ready",
"missing",
"pending",
"stale",
"unavailable"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"ai_generated": {
"type": "boolean",
"const": true
}
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Zwraca stronę 100 firm z listy tak, jak ją pokazują listy na stronie: według miasta, działu PKD (dwie cyfry), formy prawnej albo litery początkowej nazwy (litera tylko z miastem). Użyj do przeglądania firm z jednego miasta, branży albo formy prawnej; gdy szukasz konkretnej firmy po nazwie, użyj search_companies. Koszt w trybie Pro: 0 operacji. Lista działu PKD czyta nocne fakty i bywa niedostępna, gdy jeszcze ich nie zbudowano. Przykład: {"pkd_division": "62", "city": "Kraków", "page": 2}.
| Parameter | Type | Description |
|---|---|---|
| city | string | Miasto z listy serwisu, np. "Kraków" (z polskimi znakami albo bez). |
| page | integer | Numer strony, od 1 (po 100 firm). |
| letter | string | Pierwsza litera albo cyfra nazwy; tylko razem z "city". |
| legal_form | string | Forma prawna, np. "Spółka z o.o." albo "Fundacja". |
| pkd_division | string | Dział PKD, dwie cyfry, np. "62". |
{
"name": "list_companies",
"title": "Lista firm",
"description": "Zwraca stronę 100 firm z listy tak, jak ją pokazują listy na stronie: według miasta, działu PKD (dwie cyfry), formy prawnej albo litery początkowej nazwy (litera tylko z miastem). Użyj do przeglądania firm z jednego miasta, branży albo formy prawnej; gdy szukasz konkretnej firmy po nazwie, użyj search_companies. Koszt w trybie Pro: 0 operacji. Lista działu PKD czyta nocne fakty i bywa niedostępna, gdy jeszcze ich nie zbudowano. Przykład: {\"pkd_division\": \"62\", \"city\": \"Kraków\", \"page\": 2}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Miasto z listy serwisu, np. \"Kraków\" (z polskimi znakami albo bez)."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Numer strony, od 1 (po 100 firm)."
},
"letter": {
"type": "string",
"pattern": "^[A-Za-z0-9]$",
"description": "Pierwsza litera albo cyfra nazwy; tylko razem z \"city\"."
},
"legal_form": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Forma prawna, np. \"Spółka z o.o.\" albo \"Fundacja\"."
},
"pkd_division": {
"type": "string",
"pattern": "^\\d{2}$",
"description": "Dział PKD, dwie cyfry, np. \"62\"."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"next_page",
"mode"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"nip",
"city",
"status",
"url"
],
"properties": {
"id": {
"type": "string"
},
"nip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
}
},
"source": {
"type": "string"
},
"next_page": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}Zwraca ranking firm według jednej miary: revenue (przychody), profit (zysk netto), growth (wzrost przychodów r/r), margin (marża netto), altman (wskaźnik Altmana Z) albo valuation (wycena AI), z wartością miary, opcjonalnie dla jednego miasta. Użyj do pytań „największe, najbardziej zyskowne, najszybciej rosnące firmy”; nie użyj do porównania dwóch konkretnych firm (wołaj dla nich get_company z sekcją financials). Koszt w trybie Pro: 0 operacji. Ranking obejmuje tylko firmy ze zbadanymi sprawozdaniami. Przykład: {"metric": "revenue", "city": "Gdańsk", "limit": 10}.
| Parameter | Type | Description |
|---|---|---|
| city | string | Miasto z listy serwisu, np. "Gdańsk"; bez niego ranking krajowy. |
| limit | integer | Ile firm (domyślnie 20, najwyżej 100). |
| metric * | string | Miara rankingu: revenue (przychody), profit (zysk netto), growth (wzrost r/r), margin (marża netto), altman (wskaźnik Altmana Z), valuation (wycena AI). |
{
"name": "rank_companies",
"title": "Ranking firm",
"description": "Zwraca ranking firm według jednej miary: revenue (przychody), profit (zysk netto), growth (wzrost przychodów r/r), margin (marża netto), altman (wskaźnik Altmana Z) albo valuation (wycena AI), z wartością miary, opcjonalnie dla jednego miasta. Użyj do pytań „największe, najbardziej zyskowne, najszybciej rosnące firmy”; nie użyj do porównania dwóch konkretnych firm (wołaj dla nich get_company z sekcją financials). Koszt w trybie Pro: 0 operacji. Ranking obejmuje tylko firmy ze zbadanymi sprawozdaniami. Przykład: {\"metric\": \"revenue\", \"city\": \"Gdańsk\", \"limit\": 10}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"metric"
],
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Miasto z listy serwisu, np. \"Gdańsk\"; bez niego ranking krajowy."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Ile firm (domyślnie 20, najwyżej 100)."
},
"metric": {
"enum": [
"revenue",
"profit",
"growth",
"margin",
"altman",
"valuation"
],
"type": "string",
"description": "Miara rankingu: revenue (przychody), profit (zysk netto), growth (wzrost r/r), margin (marża netto), altman (wskaźnik Altmana Z), valuation (wycena AI)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items",
"next_page",
"mode"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"rank",
"id",
"name",
"city",
"value",
"unit",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"rank": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": {}
}
},
"source": {
"type": "string"
},
"next_page": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}Odświeża dane firmy: unieważnia pamięć podręczną, ładuje ją od nowa razem ze sprawozdaniami, zapisuje wskaźniki i zwraca pola, które się zmieniły; ta sama blokada 6 godzin na firmę co przycisk „Odśwież” na stronie. Użyj, gdy get_company zwraca dane wyraźnie nieaktualne i potrzebujesz nowszych; w innych wypadkach get_company wystarcza. Koszt w trybie Pro: 25 operacji; w trybie darmowym narzędzie odpowiada AUTH_REQUIRED, a z "estimate": true szacunkiem (0 operacji, "allowed": false). Przykład: {"id": "0000006865"}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | KRS, NIP, REGON albo adres strony firmy na firmy.ai. |
| id_type | string | Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam. |
| estimate | boolean | Tylko oszacuj koszt, nie odświeżaj. |
{
"name": "refresh_company",
"title": "Odśwież firmę",
"description": "Odświeża dane firmy: unieważnia pamięć podręczną, ładuje ją od nowa razem ze sprawozdaniami, zapisuje wskaźniki i zwraca pola, które się zmieniły; ta sama blokada 6 godzin na firmę co przycisk „Odśwież” na stronie. Użyj, gdy get_company zwraca dane wyraźnie nieaktualne i potrzebujesz nowszych; w innych wypadkach get_company wystarcza. Koszt w trybie Pro: 25 operacji; w trybie darmowym narzędzie odpowiada AUTH_REQUIRED, a z \"estimate\": true szacunkiem (0 operacji, \"allowed\": false). Przykład: {\"id\": \"0000006865\"}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "KRS, NIP, REGON albo adres strony firmy na firmy.ai."
},
"id_type": {
"enum": [
"krs",
"nip",
"regon",
"person"
],
"type": "string",
"description": "Wymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam."
},
"estimate": {
"type": "boolean",
"description": "Tylko oszacuj koszt, nie odświeżaj."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string"
},
"estimate": {
"type": "object",
"required": [
"mode",
"ops_if_run",
"allowed",
"note"
],
"properties": {
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"note": {
"type": "string"
},
"allowed": {
"type": "boolean"
},
"ops_if_run": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Zwraca tryb, w jakim działasz (darmowy albo Pro), i czy jesteś zalogowany; w trybie darmowym także krótką instrukcję, jak korzystać z serwera. Tryb darmowy czyta tylko to, co serwis już zna (sekcja spoza pamięci wraca jako "missing" z AUTH_REQUIRED); "id" to KRS, NIP, REGON, adres firmy.ai albo "p-…" osoby; zacznij od search_companies, gdy nie masz identyfikatora. Użyj na początku rozmowy, żeby wiedzieć, czy sekcje spoza pamięci serwisu da się dociągnąć. Koszt: 0 operacji. Przykład: {}.
No parameters.
{
"name": "get_account",
"title": "Tryb i konto",
"description": "Zwraca tryb, w jakim działasz (darmowy albo Pro), i czy jesteś zalogowany; w trybie darmowym także krótką instrukcję, jak korzystać z serwera. Tryb darmowy czyta tylko to, co serwis już zna (sekcja spoza pamięci wraca jako \"missing\" z AUTH_REQUIRED); \"id\" to KRS, NIP, REGON, adres firmy.ai albo \"p-…\" osoby; zacznij od search_companies, gdy nie masz identyfikatora. Użyj na początku rozmowy, żeby wiedzieć, czy sekcje spoza pamięci serwisu da się dociągnąć. Koszt: 0 operacji. Przykład: {}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"mode",
"authenticated"
],
"properties": {
"hint": {
"type": "string"
},
"mode": {
"enum": [
"free",
"pro"
],
"type": "string"
},
"authenticated": {
"type": "boolean"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}firmy.ai to polskie rejestry firm i osób w jednym miejscu: KRS, finanse ze sprawozdań, biała lista VAT, listy sankcyjne, przetargi, powiązania. Serwer ma dwa tryby. Tryb darmowy, bez konta, czyta to, co serwis już zna (baza, pamięć podręczna, bezpłatne API KRS) i niczego nie dociąga na żądanie; sekcja, której nie ma w pamięci, wraca ze stanem "missing" i kodem AUTH_REQUIRED. Tryb Pro (jeszcze niedostępny) dociąga brakujące sekcje na żądanie i liczy operacje: jedno wywołanie kosztuje najwyżej 40 operacji, a "estimate": true pokazuje koszt bez wykonania. Identyfikator "id" podajesz jako KRS (10 cyfr), NIP (10 cyfr, także z myślnikami), REGON (9 albo 14 cyfr), adres strony firmy.ai (/firma/…-krs-…, /firma/…-nip-…, /osoba/…-p-…, także dawne /KRS/…, /NIP/…) albo identyfikator osoby "p-…" z wyników search_persons. Serwer sam rozpoznaje typ i odsyła go w "id_resolved". PESEL i dat urodzenia osób serwer nie udostępnia. Zacznij od search_companies albo search_persons, gdy nie masz identyfikatora; w przeciwnym razie od get_company albo get_person: jedno wywołanie zwraca profil i sekcje z "include", a mapa "available" mówi, co jeszcze można dopytać. get_account mówi, w jakim trybie jesteś. Treści napisane przez model (opisy, wyceny, biogramy) mają "ai_generated": true.
Names, descriptions and schemas were written by the server and are shown as data.