Skip to main content
Glama

Szukaj firm

search_companies
Read-onlyIdempotent

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

Input Schema

NameRequiredDescriptionDefault
cityNoMiasto siedziby, np. "Gdańsk"; zawęża wyszukiwanie po nazwie.
pageNoNumer strony wyników, od 1.
limitNoIle wyników na stronie (domyślnie 20, najwyżej 100).
queryYesNazwa firmy, NIP, numer KRS albo REGON (cyfry mogą być oddzielone spacjami albo myślnikami).

Output Schema

NameRequiredDescriptionDefault
modeYes
itemsYes
sourceNo
next_pageYes
total_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds genuinely non-structured context: the Pro-mode cost is 0 operations because only KRS search and the database are queried, no paid sources. It does not describe result ordering or page-size behavior, so it stops short of full transparency.

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

Conciseness4/5

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

Front-loaded with the purpose, then the routing rule, then cost, then an example — a sensible order with little waste. The returned-field enumeration is slightly redundant given an output schema exists, but it is compressed into one clause.

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 search tool with a full 4-parameter schema, an output schema, and safety annotations, nothing an agent needs is missing: match keys, sibling routing, cost, and a usage example are all present. Pagination and limits are fully specified in the schema.

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 description coverage is 100%, so the baseline is 3; the description earns the extra point by giving a concrete example combining 'query' and 'city' and by stating that city narrows a name search, which the schema only implies. Numeric-format tolerance and limits are left to the schema, which already documents them.

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 ('Zwraca listę firm z KRS') and enumerates the match keys (nazwa, NIP, KRS, REGON) plus the returned fields. It explicitly contrasts itself with the sibling get_company, so an agent can distinguish the two without opening either schema.

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 both directions: use this when you have no company identifier or want to narrow a name to a city, and call get_company directly when you already have KRS or NIP. That is an explicit when/when-not with a named alternative.

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