# search_companies

Search ARES by company name, city, street, PSČ, or NACE code. Combines all filters with AND. Useful when user knows name but not IČO, looking for companies in a building, or all businesses in a sector.

Agent View of the PolicyLayer registry record for `search_companies`. HTML page: https://policylayer.com/tools/dev-cz-agents-ares/search-companies

## Facts

- Tool: `search_companies`
- Server: Ares (`https://ares.cz-agents.dev/mcp`) — https://policylayer.com/tools/dev-cz-agents-ares.md
- Homepage: https://github.com/martinhavel/cz-agents-mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: yes
- Parameters: 7
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `psc` | integer | no | Filter by postal code (PSČ), 5-digit number. |
| `city` | string | no | Filter by city (nazev obce), e.g. "Praha". |
| `nace` | array | no | Filter by CZ-NACE activity codes, 2-6 digits. E.g., ["62"] for IT. |
| `pocet` | integer | no | Max results (1-100, default 10). |
| `query` | string | no | Partial or full company name (obchodní jméno). |
| `start` | integer | no | Pagination offset (default 0). |
| `street` | string | no | Filter by street name (nazev ulice), e.g. "Radlická". |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_companies",
    "arguments": {}
  }
}
```

## Why search_companies is rated Low

The search_companies tool retrieves and queries publicly available company information from the Czech Business Register without modifying, deleting, or executing any operations. It is a passive read operation with no side effects. The combination of filters with AND logic is a standard query feature. Low severity reflects that misuse would only expose already-public business registry data.

From the tool's own definition: "Tool performs 'search' operation on company registry using filter criteria (name, city, street, postal code, NACE code). The description explicitly states it 'searches' and 'looks for' companies, indicating query-only functionality."

## Use case

AI agents call search_companies to retrieve information from Ares without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Ares:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "search_companies": {}
  }
}
```

## Other tools on Ares (9)

- `check_vat_payer` — Read — https://policylayer.com/tools/dev-cz-agents-ares/check-vat-payer.md
- `get_bank_accounts` — Read — https://policylayer.com/tools/dev-cz-agents-ares/get-bank-accounts.md
- `get_history` — Read — https://policylayer.com/tools/dev-cz-agents-ares/get-history.md
- `get_statutaries` — Read — https://policylayer.com/tools/dev-cz-agents-ares/get-statutaries.md
- `lookup_by_ico` — Read — https://policylayer.com/tools/dev-cz-agents-ares/lookup-by-ico.md
- `search_by_address` — Read — https://policylayer.com/tools/dev-cz-agents-ares/search-by-address.md
- `search_by_nace` — Read — https://policylayer.com/tools/dev-cz-agents-ares/search-by-nace.md
- `validate_dic` — Read — https://policylayer.com/tools/dev-cz-agents-ares/validate-dic.md
- `watch_entity` — Write — https://policylayer.com/tools/dev-cz-agents-ares/watch-entity.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=dev-cz-agents-ares · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/dev-cz-agents-ares
