Skip to main content
Glama

Payment Message Reference (MT and ISO 20022)

swift_message_reference
Read-only

Look up SWIFT message types — MT (FIN) and MX (ISO 20022).

Pass a specific type to get full details, or omit to list all types. Covers customer payments (MT103, pacs.008), FI transfers (MT202, pacs.009), trade finance (MT700, MT760), cash management (MT940, camt.053), and payment status (pacs.002).

Also use this tool to answer questions about where specific payment fields live — e.g., where the UETR sits in an MT103 (Field 121, Block 3 header), where charges appear (71A/71F/71G), or which fields carry routing info (56/57). MT103 and pacs.008 responses include a tracing_note explaining UETR recovery for customers who only have a reference number.

Examples: swift_message_reference("MT103") swift_message_reference("pacs.008") swift_message_reference()

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "swift_message_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_typeNoOptional message type, e.g. "MT103", "pacs.008", "MT940". Case-insensitive. Omit it to list every type.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. Changed1 schema field changed
    • addedInput schema / properties / message_type / description
      Added value: +"Optional message type, e.g. \"MT103\", \"pacs.008\", \"MT940\". Case-insensitive. Omit it to list every type."
  3. Changed1 schema field changed
    • addedOutput schema / description
      Added value: +"Generic wrapper for non-object return types."
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: matching is case-insensitive, and MT103/pacs.008 responses include a tracing_note about UETR recovery. With an output schema present, further return-value detail is unnecessary, so this is adequate rather than rich.

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?

Front-loaded with the core purpose, then mode selection, then coverage, then the secondary field-location use case, closing with three compact examples. The type enumeration is long but each entry maps to a distinct domain, so little is wasted; the field-location paragraph is the only part that could be tighter.

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 read-only reference tool with one optional parameter, an output schema, and clear annotations, the description covers everything an agent needs: what it returns, both call modes, how matching works, the domains covered, and the fields-in-message use case. Nothing material is left to inference.

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 description coverage is 100% and the single parameter already documents case-insensitivity and the omit-to-list behavior, so the baseline is 3. The description reinforces the modes and supplies concrete value families across domains, but adds no syntax or format rules beyond what the schema states.

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

Purpose4/5

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

The description opens with a specific verb and resource ('Look up SWIFT message types — MT (FIN) and MX (ISO 20022)') and then enumerates the exact coverage domains (MT103/pacs.008, MT202/pacs.009, MT700/MT760, MT940/camt.053, pacs.002), so an agent knows precisely what the tool returns. It does not, however, differentiate itself from the sibling 'swift_lookup', which a reader might reasonably assume overlaps.

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

Usage Guidelines4/5

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

It states both invocation modes explicitly ('Pass a specific type to get full details, or omit to list all types') and adds a second use case — answering field-location questions such as where the UETR sits in an MT103 or where charges appear (71A/71F/71G). There are no stated exclusions or named alternatives, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources