Model Context Protocol (MCP) server for the structured-address-fix ISO 20022 postal-address remediation library. Exposes address classification, assessment, and remediation as MCP tools for AI agents.
Strong domain-specific tool set with clear naming (verb_noun pattern: list_, classify_, assess_, remediate_, etc.). All 13 tools have descriptions (avg ~150 chars, within 10-1024 baseline). Input schemas present for all tools with parameter descriptions. However, output schemas are NOT documented, critical gap for LLM planning. Tool descriptions are good but lack explicit 'when to use' guidance and dependency hints. No error handling guidance visible in descriptions. Tool composition is sound (each does one thing), but chaining requirements (e.g., list_policies → assess_address) could be more explicit.
Score a single address against a policy and return its findings.
Assess every addressed party in a pacs.008 / pain.001 message.
Classify a postal address as structured, hybrid, or unstructured. Use this for a quick shape check before deciding whether to remediate. For the specific compliance findings under a policy, use ``assess_address`` instead.
Explain what a finding code means, why it matters, and how to resolve it.
Return the binding structured-address cutover date and the scheme that sets it.
List every available address policy (rulebook) with its tier. Use this first to discover the ``policy_id`` values the other tools accept (e.g. ``cbpr-2026``, ``sepa``, ``hvps-plus``, ``generic-structured``). Returns a list of ``{"id": ..., "title": ..., "tier": ...}`` objects.
Output schemas not documented. LLMs cannot plan downstream tool calls or extract required fields (e.g., what does assess_address return? Does it include finding codes for explain_finding chaining?). Critical for multi-step agent workflows.
Descriptions lack explicit 'when to use' guidance and dependency hints. E.g., classify_address says 'Use this first' but doesn't explain why or when to prefer it over assess_address. Agents must infer intent.
No error handling guidance in tool descriptions. What happens if policy_id is invalid? If XML is malformed? If country_hint is not ISO 3166-1? Agents have no recovery path.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Normalize a country name or code to ISO 3166-1 alpha-2.
Parse a free-text address using libpostal (if available) or a deterministic fallback.
Preview the patch operations remediation would apply to a message, without producing the patched XML.
Propose the compliant form of an address, with explained changes. Returns the findings, the before/after addresses, and the patch operations (each carrying the finding it resolves, the source token, and a confidence score).
Assess and remediate every addressed party in a pacs.008 / pain.001 message.
Split a street address into street name and building number.
Validate a structured address against a postal policy.
Parameter 'as_of' (ISO 8601 date) lacks format constraint in schema. Description mentions 'YYYY-MM-DD' but schema does not enforce it. LLMs may pass invalid dates.
Tool composition clarity: remediate_address and remediate_message both accept 'apply' (boolean) and 'policy_id' but differ in behavior. Descriptions do not clarify when to use each or what 'apply' does in remediate_message context.