get_spanish_company_public_procurement
Public-procurement record of a Spanish company from the Plataforma de Contratación del Sector Público (Ministerio de Hacienda CODICE feeds: hosted profiles and aggregated regional platforms with archives since 2012, minor contracts of the hosted profiles since 2018, daily updates): contracts WON ...
This record as markdown: /tools/eu-sirenic-sirenic/get-spanish-company-public-procurement.md
What get_spanish_company_public_procurement does on Sirenic
AI agents call get_spanish_company_public_procurement 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 |
|---|---|---|---|
nif | string | Yes | Spanish legal-person NIF: one letter (A-D, F, G, N, P-S, U-W), seven digits and a check character, e.g. A28582013; DNI/NIE (natural persons) are refused, and an |
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 |
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 get_spanish_company_public_procurement is rated Low
Even though get_spanish_company_public_procurement 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)
Attacks that exploit this kind of access
The rule that runs get_spanish_company_public_procurement 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 get_spanish_company_public_procurement, this is the rule to start with:
get_spanish_company_public_procurement 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 get_spanish_company_public_procurement call is checked against it from then on.
Questions about get_spanish_company_public_procurement
Public-procurement record of a Spanish company from the Plataforma de Contratación del Sector Público (Ministerio de Hacienda CODICE feeds: hosted profiles and aggregated regional platforms with archives since 2012, minor contracts of the hosted profiles since 2018, daily updates): contracts WON matched by legal-person NIF (attributions: buyer with DIR3, subject, CPV, lot, closed-list result such as awarded or formalised, award date, amounts in EUR excl. and incl. tax as published, tenders received, SME flag) and notices ISSUED as a buyer (avis_emis, public entities with a NIF); minor contracts in their own lists (contrats_mineurs won, contrats_mineurs_passes as buyer), named in blocs_absents (collecte_en_cours) until first collected; newest first, capped at 100 per list, total and cut in listes_bornees. Never a natural-person winner (DNI, NIE or masked identifier; refused without charge) nor a consortium without its own NIF; a file cancelled by the source is no longer served as awarded. Partial coverage: zero never means “never won a contract”; a NIF with no row answers 404 without charge. Paid via x402 ($0.02 in USDC or EURC). 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.
get_spanish_company_public_procurement accepts 3 parameters: nif, api_key, x_payment. Required: nif. 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 get_spanish_company_public_procurement: 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.
get_spanish_company_public_procurement 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 get_spanish_company_public_procurement 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 get_spanish_company_public_procurement. 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.
get_spanish_company_public_procurement 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