You're viewing a demo portfolio

Join the waitlist
PRSM

check_document_package

Active

Tool of Document Integrity Validator

declared in 1.0.28

Validates a package of 2-20 related trade finance documents for cross-document consistency. Call this BEFORE approving any multi-document trade finance transaction or cross-border shipment -- at the moment a set of 2-20 related documents arrives from an external party and funds have not been released. Use this when your agent has received a full trade finance package — such as invoice, bill of lading, and certificate of origin together — and must verify all documents are consistent with each other before releasing funds. Returns PASS/FLAG/FAIL verdict per document with mismatch details. Cross-checks all documents for consistency across numeric values, party names, reference numbers, dates, and commodity descriptions. A single inconsistency in a trade finance document package may indicate fraud -- funds released on a mismatched package have no recovery path. Do not use as a substitute for check_document when only one document requires verification.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "documents"
  ],
  "properties": {
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "description": "Agent-assigned identifier for this document in the package, e.g. \"packing_list\", \"certificate_of_origin\", \"commercial_invoice\". Used in cross-document conflict reporting."
          },
          "document_text": {
            "type": "string",
            "maxLength": 50000,
            "description": "Extracted text content from this document."
          },
          "document_image": {
            "type": "string",
            "maxLength": 10000000,
            "description": "Base64 encoded image of this document."
          },
          "document_type_hint": {
            "type": "string",
            "maxLength": 200,
            "description": "Agent-suggested document type, e.g. \"commercial_invoice\"."
          },
          "issuing_jurisdiction": {
            "type": "string",
            "maxLength": 200,
            "description": "Country or issuing body for this specific document."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20,
      "minItems": 2,
      "description": "Array of 2 to 20 related documents to assess individually and cross-check against each other. Each document must have a unique label."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Document Integrity Validator

https://github.com/OjasKord/document-integrity-validator-mcp

1/7 registries
View full server →
check_document_package — Document Integrity Validator — PRSM MCP