Skip to main content
Glama
zackscriven

lemma-banking-mcp

by zackscriven

lemma_get_remittance_era

Retrieve a remittance's 835 Electronic Remittance Advice as raw X12, inline or saved to a file for large ERAs.

Instructions

Fetch a remittance's 835 Electronic Remittance Advice as raw X12. Returns the X12 text inline (or save_to a file for large ERAs).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
save_toNoAbsolute file path to save the raw X12 to
remittance_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the tool returns X12 text inline and that the optional save_to parameter can direct output to a file for large ERAs, which goes beyond the schema.

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 tight sentences front-load the action and resource, then add only the essential behavioral caveat about inline vs file output. There is no filler or redundancy.

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

Completeness4/5

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

For a simple two-parameter read tool with no output schema, the description covers the core behavior and the meaningful option. It could be more explicit about what happens when save_to is used, but it is otherwise complete enough to invoke correctly.

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 50%, so the description partially compensates by explaining when save_to is useful ('for large ERAs'). However, remittance_id has no schema description and the tool description does not add explicit meaning for it, though the parameter name is fairly self-evident.

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 description states a specific verb ('Fetch'), a specific resource (a remittance's 835 ERA), and a concrete format ('raw X12'). This clearly differentiates it from sibling tools like lemma_get_pdf or lemma_get_transaction.

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

Usage Guidelines2/5

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

The description gives no guidance on when to prefer this tool over alternatives, such as lemma_get_pdf, and provides no exclusions or conditions. The only implied context is that raw X12 is the desired format, but no explicit routing information is given.

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