classify_document

Classify a FINANCIAL document's type and issuing country. Specialised in financial-services documents: payslip, tax_invoice, bank_statement, salary_certificate, payg_summary, receipt. USE THIS WHEN someone shares a document (or a link to one) and asks: what kind of document is this? is this a pay...

Server OpenWarrant https://www.stipple.sh/mcp
Category Read
Risk class Low
Parameters 30 required

What classify_document does on OpenWarrant

AI agents call classify_document to retrieve information from OpenWarrant without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
url object
filename string
bytes_b64 object

Parameters from the server's own tool schema.

Why classify_document needs a policy

The tool reads and analyzes a document to determine its type and issuing country. It produces a classification result with no side effects — no data is written, deleted, or executed. It is a pure read/query operation. Severity is low since misuse would at worst result in a misclassification, not data loss or financial harm.

From the tool's definition Classify a FINANCIAL document's type and issuing country... what kind of document is this? is this a payslip / invoice / bank statement? route this document.

Risk signalsAccepts file system path (filename) · Accepts URL/endpoint input (url)

Questions about classify_document

What does the classify_document tool do? +

Classify a FINANCIAL document's type and issuing country. Specialised in financial-services documents: payslip, tax_invoice, bank_statement, salary_certificate, payg_summary, receipt. USE THIS WHEN someone shares a document (or a link to one) and asks: what kind of document is this? is this a payslip / invoice / bank statement? route this document. Also use it as the FIRST step before verify_document, so the right checks run. Provide the document ONE way: url (a public http(s) link to a PDF or image — fetched server-side, the cheapest call) OR bytes_b64 (inline base64, plus filename for PDF-vs-image routing). Returns {document_type, country_code, confidence, is_financial_document, evidence, ...}. HONEST SCOPE: type classification only — NOT an authenticity or fraud judgment (use verify_document for that). Below the confidence threshold it abstains with 'unknown' rather than guessing; non-financial documents classify as 'other'. The document is never stored. It is categorised as a Read tool in the OpenWarrant MCP Server, which means it retrieves data without modifying state.

What parameters does classify_document accept? +

classify_document accepts 3 parameters: url, filename, bytes_b64. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on classify_document? +

Register the OpenWarrant MCP server in PolicyLayer and add a rule for classify_document: 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 OpenWarrant. Nothing to install.

What risk level is classify_document? +

classify_document is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit classify_document? +

Yes. Add a rate_limit block to the classify_document 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.

How do I block classify_document completely? +

Set action: deny in the PolicyLayer policy for classify_document. 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.

What MCP server provides classify_document? +

classify_document is provided by the OpenWarrant MCP server (https://www.stipple.sh/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.