Skip to main content
Glama
mohisyed

jPOS MCP Server

by mohisyed

jpos_generate_packager

Generates accurate jPOS GenericPackager XML from a plain English description by parsing field numbers and encoding, using verified field specs to avoid hallucinated class names.

Instructions

Generate a complete jPOS GenericPackager XML configuration. Parses field numbers from description, looks up correct jPOS classes, and assembles valid XML ready to save as a .xml file. Always includes fields 0 (MTI) and 1 (Bitmap).

Why this doesn't use an LLM: LLM-generated XML can contain hallucinated class names. This uses iso_fields.json as ground truth — always correct.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesPlain English description of the packager. Include field numbers and optionally encoding type (BCD or ASCII). Example: 'Visa auth packager for fields 0,2,3,4,7,11,22,35,41,42 using BCD'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses that it uses a JSON file for accurate class names, is deterministic, and always includes mandatory fields. With no annotations, it carries the burden well, though it could mention error handling or permissions.

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

Conciseness5/5

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

Two concise paragraphs, front-loaded with purpose, every sentence informative. No unnecessary words.

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?

Given single parameter with full schema coverage and presence of output schema, description covers input, process, and output purpose adequately.

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

Parameters4/5

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

Schema has 100% coverage with a good description and example. Tool description adds value by explaining how the parameter is used (parse field numbers, optionally encoding type), going beyond schema.

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?

Clearly states it generates a jPOS GenericPackager XML configuration, explains the process (parsing fields, looking up classes, assembling XML), and specifies it always includes fields 0 and 1. This distinguishes it from siblings like iso_decode_mti or iso_lookup_field.

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?

Provides context on why this tool is reliable (uses iso_fields.json ground truth vs LLM hallucinations), implying when to use it. However, lacks explicit exclusions or direct comparisons to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mohisyed/JPOS-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server