4 tools. 3 can modify or destroy data without limits.
3 write tools that can modify data. Rate limits recommended.
Last updated:
Write operations (generate_invoice, generate_pdf, generate_report) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Intercept sits between your agent and Pretext Pdf. 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 @himaan4149-kv55/pretext-pdf generate_invoice:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
list_element_types:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
The Pretext Pdf server has 3 write tools including generate_invoice, generate_pdf, generate_report. 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.
4 tools across 2 categories: Read, Write. 1 are read-only. 3 can modify, create, or delete data.
One line change. Instead of running the Pretext Pdf server directly, prefix it with Intercept: intercept -c himaan4149-kv55-pretext-pdf.yaml -- npx -y @himaan4149-kv55/pretext-pdf. Download a pre-built policy from policylayer.com/policies/himaan4149-kv55-pretext-pdf and adjust the limits to match your use case.
Set budgets, approvals, and hard limits across MCP servers.
npx -y @policylayer/intercept init