AI agents call batch_ocr to retrieve information from Ocr without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool reads image files and extracts text content from them. It has no side effects on the source data, does not modify files, does not execute arbitrary code, and does not create or delete anything. The use of glob patterns for input selection does not change the fundamental read-only nature of the operation. Batch processing multiple images does not elevate the risk category, only the scale of reading.
From the tool's definition Tool name 'batch_ocr' and description indicate it performs OCR (Optical Character Recognition) on multiple images. The action is purely retrieval and recognition of text from image files—no creation, modification, deletion, or execution of external operations.
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
OCR many images. paths_or_glob is a glob (e.g. 'C:/scans/*.png') or a. It is categorised as a Read tool in the Ocr MCP Server, which means it retrieves data without modifying state.
Register the Ocr MCP server in PolicyLayer and add a rule for batch_ocr: 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 Ocr. Nothing to install.
batch_ocr 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 batch_ocr 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 batch_ocr. 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.
batch_ocr is provided by the Ocr MCP server (prekzursil/abbyy-finereader-ocr-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →