Validate the required-field subset of an ISO 20022 auth.030 derivative trade report: action type, counterparty LEIs, UTI, UPI, notional, currency, and asset class (art-153) → validate UTI format (ISO 23897, ≤52 chars) and T+1 10:00 CET sharing timing (art-154) → validate UPI format (ISO 4914, 12-char ANNA DSB) and product classification (art-155). Pre-submission validation catches rejections before reaching the Trade Repository. Zero network, zero PII.
validate_emir_trade_report{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "validate_emir_trade_report",
"arguments": {
"report": {
"action_type": "New",
"reporting_counterparty_lei": "MAES062Z21O4RZ2U7M96",
"other_counterparty_lei": "7LTWFZYICNSX8D621K86",
"uti": "UTI-EXAMPLE-001-20240429",
"upi": "DJMM0VX7HY4A",
"notional": 1000000,
"notional_currency": "EUR",
"effective_date": "2024-04-29",
"asset_class": "IR"
}
}
},
"id": 1
}
check_emir_uti_completeness{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "check_emir_uti_completeness",
"arguments": {
"uti": "UTI-EXAMPLE-001-20240429",
"generating_party": "MAES062Z21O4RZ2U7M96",
"trade_unix": 1714348800,
"uti_shared_unix": 1714406400
}
},
"id": 2
}
validate_emir_upi{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "validate_emir_upi",
"arguments": {
"upi": "DJMM0VX7HY4A",
"asset_class": "IR",
"instrument_type": "IRS"
}
},
"id": 3
}
Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this whole workflow on the server and check one field that answers a real question.
Question: Our EMIR report keeps bouncing at the trade repository. Does the UPI itself clear ISO 4914 format rules before we escalate to the counterparty?
Run the AINumbers MCP tool `run_chain` with {"chain":"emir-trade-report-validation"} and read `art-155-emir-upi-validator.upi_valid`.
Verify: call `verify_execution_hash` (https://mcp.ainumbers.co/mcp) with `claimed_hash` set to `composite_execution_hash` and the full `composite_artifact`.
Ledger, for a human re-check: https://ledger.ainumbers.co/
PII rule: send synthetic or anonymised inputs only. The MCP server runs these kernels and logs no payloads.
Chain page: https://ainumbers.co/chaingraph/chains/emir-trade-report-validation.html