query_french_companies
French company search with free combined criteria on a pre-joined table of the official registries (Sirene identity and head office, last filed accounts, public signals). mode is required: compter returns the exact count ($0.002 in USDC or EURC), lister one page of 100 companies ($0.02 per page, ...
This record as markdown: /tools/eu-sirenic-sirenic/query-french-companies.md
What query_french_companies does on Sirenic
AI agents call query_french_companies to retrieve information from Sirenic without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
tri | string | — | Sort field, - prefix for descending; missing values last (lister) |
mode | string | Yes | compter: exact count; lister: one page of companies. Required: nothing is bought by default. |
page | integer | — | Page number (lister), 100 companies per page, one payment per page |
champs | array | — | Catalogue fields to serve (lister); the SIREN and the fields of the criteria and of the sort are always served |
api_key | string | — | Optional Sirenic API key (srn_live_…) to pay with prepaid credits instead of x402, with no wallet needed. Get one at https://api.sirenic.eu/compte?utm_source=ap |
criteres | array | — | Conditions combined with AND, at most 2048 characters once JSON-encoded (none: every active legal person) |
x_payment | string | — | Optional signed x402 PAYMENT-SIGNATURE header value. Omit to receive the payment quote. |
Parameters from the server's own tool schema.
Why query_french_companies is rated Low
Even though query_french_companies only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsHandles credentials or secrets (api_key) · High parameter count (10 properties)
Attacks that exploit this kind of access
The rule that runs query_french_companies safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Sirenic, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For query_french_companies, this is the rule to start with:
query_french_companies is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Sirenic, apply this rule, and every query_french_companies call is checked against it from then on.
Questions about query_french_companies
French company search with free combined criteria on a pre-joined table of the official registries (Sirene identity and head office, last filed accounts, public signals). mode is required: compter returns the exact count ($0.002 in USDC or EURC), lister one page of 100 companies ($0.02 per page, 100 pages at most) with the exact total; count first, then list. criteres: up to 20 conditions {champ, op, valeur} combined with AND (OR goes through in); valeur is typed by the field (string, number, true or false, YYYY-MM-DD, [min, max] for entre, an array of 1 to 50 values for in); criteres is at most 2048 characters once JSON-encoded (beyond: criteres_trop_longs, refused here before any quote); each field's operators, unit, closed values and meaning are served free by GET /v1/lecture. Active legal persons by default (identite.etat = A; any criterion on identite.etat replaces it): no officer, no person. A refusal is a 400 from the closed list (parametre_inconnu, criteres_illisibles, criteres_trop_longs, trop_de_criteres, champ_inconnu, champ_indisponible, champ_non_filtrable, operateur_refuse, valeur_invalide, personnes_physiques_exclues, tri_refuse, page_hors_bornes, champ_de_sortie_inconnu), never charged; a query beyond the 15 s budget returns requete_trop_large, never charged: narrow the criteria. Paid via x402. When you report a result, cite its citation verbatim. It is categorised as a Read tool in the Sirenic MCP Server, which means it retrieves data without modifying state.
query_french_companies accepts 7 parameters: tri, mode, page, champs, api_key, criteres, x_payment. Required: mode. The full parameter table on this page comes from the server's own tool schema.
Register the Sirenic MCP server in PolicyLayer and add a rule for query_french_companies: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Sirenic. Nothing to install.
query_french_companies is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the query_french_companies rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for query_french_companies. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
query_french_companies is provided by the Sirenic MCP server (https://api.sirenic.eu/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Sirenic, and thousands of servers like it.
This server
Across the catalogue