{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "firmy.ai",
    "site": "firmy.ai",
    "addresses": [
      {
        "address": "172.67.74.221",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.7.78",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.6.78",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:74e",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:4add",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:64e",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.74.221",
          "104.26.7.78",
          "104.26.6.78",
          "2606:4700:20::681a:74e",
          "2606:4700:20::ac43:4add",
          "2606:4700:20::681a:64e"
        ],
        "first_seen": "2026-11-24T04:53:03.012Z",
        "last_seen": "2026-11-24T04:53:03.012Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.74.221",
          "104.26.6.78",
          "104.26.7.78",
          "2606:4700:20::681a:74e",
          "2606:4700:20::681a:64e",
          "2606:4700:20::ac43:4add"
        ],
        "first_seen": "2026-11-23T04:52:11.478Z",
        "last_seen": "2026-11-23T04:52:11.478Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.7.78",
          "104.26.6.78",
          "172.67.74.221",
          "2606:4700:20::681a:74e",
          "2606:4700:20::ac43:4add",
          "2606:4700:20::681a:64e"
        ],
        "first_seen": "2026-11-22T04:51:02.000Z",
        "last_seen": "2026-11-22T04:51:02.000Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "firmy.ai",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "5661",
          "url": "https://netstate.co/mcp",
          "server_name": "co.netstate/netstate",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-22T07:32:01.875Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ai.firmy",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "864",
    "server_name": "ai.firmy/mcp",
    "url": "https://firmy.ai/mcp",
    "host": "firmy.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T04:53:03.012Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "b0c00e1066553d880ec68883be0dbc8cc4b99d337202da27b2d5595cef66a831",
    "first_listed_at": "2026-11-21T04:50:06.013Z",
    "created_at": "2026-11-21T04:30:18.113Z",
    "resolved_addresses": [
      "172.67.74.221",
      "104.26.7.78",
      "104.26.6.78",
      "2606:4700:20::681a:74e",
      "2606:4700:20::ac43:4add",
      "2606:4700:20::681a:64e"
    ]
  },
  "server": {
    "name": "ai.firmy/mcp",
    "title": "firmy.ai: Polish company and person registers (KRS, CEIDG) for AI agents",
    "description": "Polish companies and people: KRS, CEIDG, financials, boards, VAT, sanctions. Free, no API key.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://firmy.ai/mcp",
    "published_at": "2026-11-02T13:17:38.677Z",
    "updated_at": "2026-11-02T13:17:38.677Z",
    "first_seen": "2026-11-21T04:30:17.425Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:51:07.660Z"
  },
  "operator": {
    "key": "firmy.ai",
    "name": "firmy.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 648,
    "first_check_in_window": "2026-11-21T04:50:06.013Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "b0c00e1066553d880ec68883be0dbc8cc4b99d337202da27b2d5595cef66a831",
    "tools": 8,
    "resources": 0,
    "prompts": 2,
    "first_seen": "2026-11-21T04:50:06.680Z",
    "tool_names": [
      "search_companies",
      "search_persons",
      "get_company",
      "get_person",
      "list_companies",
      "rank_companies",
      "refresh_company",
      "get_account"
    ],
    "declared": {
      "tools": [
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "check_counterparty",
          "description": "Gotowy przebieg sprawdzenia kontrahenta: profil firmy z sekcjami ryzyka, sankcje członków zarządu i podsumowanie w stałym układzie.",
          "arguments": [
            {
              "name": "id",
              "required": true,
              "description": "KRS, NIP, REGON albo adres strony firmy na firmy.ai."
            }
          ]
        },
        {
          "name": "person_background",
          "description": "Gotowy przebieg zbadania osoby: funkcje, udziały, powiązania, sankcje i spółki, w których pełni funkcje, z podsumowaniem w stałym układzie.",
          "arguments": [
            {
              "name": "id",
              "required": true,
              "description": "Identyfikator osoby \"p-…\" z search_persons."
            }
          ]
        }
      ]
    },
    "instructions": "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.\n\nIdentyfikator \"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.\n\nZacznij 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."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}