Skip to main content
Glama

Profil firmy

get_company

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"]}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesKRS (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.
freshNoPobierz ponownie mimo pamięci serwisu. W trybie darmowym zawsze AUTH_REQUIRED.
id_typeNoWymusza typ identyfikatora, gdy wiesz lepiej: krs, nip, regon albo person. Zwykle zbędne: serwer rozpoznaje typ sam.
includeNoKtó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.
estimateNoNic nie pobieraj, pokaż tylko, które sekcje są w pamięci i ile by kosztowały w trybie Pro.

Output Schema

NameRequiredDescriptionDefault
urlYes
vatNo
modeYes
as_ofYes
domainNo
peopleNo
sourceYes
profileNo
reviewsNo
similarNo
tendersNo
estimateNo
includedYes
ai_scoresNo
availableYes
documentsNo
ownershipNo
sanctionsNo
bankruptcyNo
financialsNo
job_offersNo
public_aidNo
descriptionNo
id_resolvedYes
knf_warningsNo
subsidiariesNo
group_structureNo
sole_proprietorNo
beneficial_ownersNo
foundation_spendingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"KRS (10 cyfr), NIP (także z myślnikami), REGON (9 albo 14 cyfr) albo adres strony firmy na firmy.ai (/KRS/…, /NIP/…). Serwer sam rozpoznaje typ."New value: +"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."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false; the description adds what actually matters here — free mode reads only cached data and uncached sections return "missing" with AUTH_REQUIRED, Pro mode bills per section with a published price table, and estimate performs no fetch. That is substantive behavioural context (cost, auth, caching) the annotations cannot convey, with no contradiction of the read-only/destructive hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is valuable but the free-mode rule is stated twice (opening sentence and again in the cost paragraph), and the long section/cost enumerations are dense prose rather than a scannable list. Front-loading the free-mode caveat before stating what the tool does slightly buries the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, multi-mode tool with an output schema already present, the description covers everything an agent needs: identifier forms, default sections, full section catalogue, cost model per mode, auth failure behaviour, and an example. No material gap remains for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still earns extra credit by restating the accepted identifier forms (KRS/NIP/REGON/URL/person id) and by documenting the default include set and the returned "available" map. It adds a concrete example call, though it does not explain id_type or fresh beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (returns a company profile plus the sections requested via "include") and names the exact sibling to use when no identifier exists (search_companies). The explicit section list and the "available" map make the tool's scope unmistakable against get_person, list_companies or search_companies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use conditions (you already have KRS, NIP, REGON, a firmy.ai URL, or a "p-…" person id) and an explicit alternative for the missing case (only a name → search_companies first). It also routes the agent to estimate mode for cost preview and explains the fresh flag's behaviour in free mode.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources