10 tools. 6 can modify or destroy data without limits.
6 write tools that can modify data. Rate limits recommended.
Last updated:
Write operations (anaf_auth_callback, anaf_create_and_upload_invoice, anaf_generate_xml) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Execute tools (anaf_auth_start) trigger processes with side effects. Builds, notifications, workflows — all fired without throttling.
Intercept sits between your agent and ANAF e-Factura Romania. Every tool call checked against your policy before it executes — so your agent can do its job without breaking things.
npx -y @policylayer/intercept scan -- npx -y @hegetiby-jwao/anaf-efactura-mcp anaf_auth_callback:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
anaf_company_lookup:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
The ANAF e-Factura Romania server has 5 write tools including anaf_auth_callback, anaf_create_and_upload_invoice, anaf_generate_xml. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
10 tools across 3 categories: Execute, Read, Write. 4 are read-only. 6 can modify, create, or delete data.
One line change. Instead of running the ANAF e-Factura Romania server directly, prefix it with Intercept: intercept -c hegetiby-jwao-anaf-efactura-mcp.yaml -- npx -y @hegetiby-jwao/anaf-efactura-mcp. Download a pre-built policy from policylayer.com/policies/hegetiby-jwao-anaf-efactura-mcp and adjust the limits to match your use case.
Starter policies available for each. Same risk classification, same one-command setup.
Set budgets, approvals, and hard limits across MCP servers.
npx -y @policylayer/intercept init