Skip to main content
Glama
iso20022-bank-profile-mcp

iso20022-bank-profile-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ISO20022_BANK_PROFILE_TOKENNoStatic dev-mode token for HTTP transport (alternative to OAuth)
ISO20022_BANK_PROFILE_ENTITLEMENTSNoComma- or space-separated list of premium profile IDs the operator is licensed for, or '*' for all
ISO20022_BANK_PROFILE_OAUTH_ISSUERNoOAuth 2.1 issuer URL for token validation (required when using OAuth with HTTP transport)
ISO20022_BANK_PROFILE_OAUTH_SCOPESNoRequired OAuth scopes (optional)
ISO20022_BANK_PROFILE_OAUTH_AUDIENCENoOAuth 2.1 audience for token validation (required when using OAuth with HTTP transport)
ISO20022_BANK_PROFILE_OAUTH_JWKS_URLNoJWKS URL for token validation (defaults to <issuer>/.well-known/jwks.json)<issuer>/.well-known/jwks.json

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_profilesA

List the available clearing profiles as lightweight summaries.

Purpose:
    Discover and enumerate all built-in and registered ISO 20022 clearing
    profiles, including supported messages and rule counts.

When to use:
    Call this tool first to discover valid `profile_id` values before
    fetching full profile rules with `get_profile` or linting payloads
    with `lint_payload`.

When NOT to use:
    Returns lightweight summaries only; use `get_profile` when full rule
    bodies and validation expressions are required.

Behavioral transparency:
    - Deterministic: Returns identical summaries for registered profiles.
    - External dependencies: None (reads internal registry).
    - Side effects: Pure read-only operation; modifies no state.
    - Error states: Always succeeds and returns a list.
get_profileA

Return one clearing profile in full, including its rule bodies.

Purpose:
    Retrieve the complete definition of an ISO 20022 clearing profile,
    including rule bodies, validation logic, and metadata.

When to use:
    Use when inspecting the specific market-practice rules, XPath
    targets, or error severity configured for a specific clearing network.

When NOT to use:
    Requires a known `profile_id` (`list_profiles` enumerates available
    profiles) and inspects definitions without evaluating payloads
    (`lint_payload` evaluates messages).

Behavioral transparency:
    - Deterministic: Given the same profile_id and entitlements, returns
      identical profile data.
    - External dependencies: None (local memory/registry).
    - Side effects: Pure read-only operation; modifies no state.
    - Error states: Returns an error object if profile_id is unknown
      or requires ungranted entitlements.

Args:
    profile_id: The clearing profile identifier.
lint_payloadA

Evaluate a payload against a clearing profile and return findings.

Purpose:
    Validate an ISO 20022 XML or JSON message payload against the
    market-practice rules and constraints of a specific bank clearing profile.

When to use:
    Use before submitting payment messages to clearing rails (CBPR+, SEPA,
    FedNow) to identify rule violations, missing elements, or format defects.

When NOT to use:
    Evaluates market-practice clearing rules rather than XSD schemas or
    rule-pack definitions; use structural XML validators for XSD
    conformance and `validate_profile_definition` for rule-pack JSON.

Behavioral transparency:
    - Deterministic: Identical payload and profile_id produce identical
      findings.
    - External dependencies: None (defusedxml parser only).
    - Side effects: Pure read-only operation; writes no data.
    - Error states: Returns an error object on XML syntax error,
      unknown profile_id, or entitlement failure.

Args:
    payload_content: The raw ISO 20022 message text.
    profile_id: The clearing profile to lint against.
validate_profile_definitionA

Validate a bank-supplied profile / rule-pack definition (raw JSON).

Purpose:
    Verify that a candidate clearing profile or rule-pack JSON text meets
    all schema, syntactic, and semantic requirements.

When to use:
    Use before registering new custom bank profiles or importing external
    rule packs into the engine.

When NOT to use:
    Checks profile and rule-pack JSON schemas only, not ISO 20022
    payment messages; use `lint_payload` to evaluate payment payloads.

Behavioral transparency:
    - Deterministic: Evaluates strictly according to the Pydantic profile
      schema.
    - External dependencies: None (standard JSON parsing).
    - Side effects: Pure read-only validation; does not register the profile.
    - Error states: Returns `is_valid: False` with descriptive error details
      if validation fails.

Args:
    definition_content: The candidate profile definition, as JSON text.

Prompts

Interactive templates invoked by user choice

NameDescription
lint_bank_payloadGuide an agent through linting a payload against a clearing profile. Teaches the canonical three-step workflow: discover the available profiles with ``list_profiles``, inspect the chosen one with ``get_profile``, then evaluate a payload with ``lint_payload``. Args: profile_id: The clearing profile the guidance should target.

Resources

Contextual data attached and managed by the client

NameDescription
profiles_resourceExpose the clearing-profile summaries as a static JSON resource. Mirrors the ``list_profiles`` tool for clients that prefer to read context as a resource rather than invoke a tool.

TDQS

A4.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a clearly distinct object and action: enumerating profiles, retrieving one profile, linting a payment payload, and validating a profile definition. The descriptions explicitly distinguish payload linting from profile-definition validation and from profile retrieval.

Naming Consistency5/5

All tool names use consistent snake_case and follow a verb-led pattern: list_profiles, get_profile, lint_payload, validate_profile_definition. The longer validate_profile_definition name is still predictable and readable.

Tool Count5/5

Four tools is well-scoped for a profile discovery, inspection, and validation server. Each tool has a clear purpose and none appear redundant.

Completeness4/5

The surface covers discovery, retrieval, payload validation, and profile-definition validation, which are the core workflows. A minor gap is the absence of a tool for actually registering or importing a validated profile/rule pack, despite the descriptions referencing that workflow.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues