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

iso20022-bank-profile-mcp

Get a clearing profile

get_profile
Read-onlyIdempotent

Retrieve a complete ISO 20022 clearing profile, including rule bodies, XPath targets, validation logic, and error severity, to inspect market-practice rules for a specific clearing network.

Instructions

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "profile_id": "<profile_id>"
    },
    "name": "get_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
profile_idYesThe profile to fetch (see list_profiles).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.2

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, and the description adds genuine context beyond them: determinism, no external dependencies, and concrete error states for unknown profile_id or missing entitlements. The side-effects line largely restates readOnlyHint=true, which is a small redundancy rather than a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headers are front-loaded and the when/when-not structure is easy to scan. There is mild redundancy between the opening sentence and the Purpose block, and the side-effects bullet duplicates the annotations, but no sentence is confusing or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema, the definition covers purpose, prerequisites, exclusions, alternatives, determinism, dependencies, and failure modes. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented with a pointer to list_profiles. The Args block only restates that profile_id is the profile identifier, adding no format, sourcing, or constraint detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ("Return one clearing profile in full, including its rule bodies") and the Purpose block names the exact domain objects returned: rule bodies, validation logic, and metadata. An agent can distinguish this from list_profiles and lint_payload without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit "When to use" ties the tool to inspecting market-practice rules, XPath targets, and error severity for a specific network. The "When NOT to use" block names both the prerequisite (a known profile_id, enumerable via list_profiles) and the closest alternative (lint_payload evaluates payloads), leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.