Skip to main content
Glama
Retirement Savings Integrity MCP

Retirement Savings Integrity MCP

check_retirement_contributions

Audits 401(k)/403(b) census and payroll contribution exports to flag missed auto-enrollment, rate or election errors, 402(g) breaches, Roth catch-up issues, and late deposits with fixes.

Instructions

Check a census export and a payroll contribution export for a 401(k)/403(b) plan. Finds: missed SECURE 2.0 automatic enrollment, wrong default rates, missed automatic increases, deductions after opt-out, deductions that do not match elections, 402(g) limit breaches, pre-tax catch-ups that must be Roth (2026+), late deposits (DOL outer limit, small-plan safe harbor, slower-than-usual deposits), and employees who dropped out of the latest payroll. Each finding has a rule ID, plain-English message, fix, legal basis and where to fix it. Employee IDs are masked; files never leave the machine.

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": {
      "census_file": "<census_file>",
      "contributions_file": "<contributions_file>"
    },
    "name": "check_retirement_contributions"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoPlan settings inline, instead of plan_file
platformNoAdds where_to_fix for this platform. Default generic.
plan_fileNoPlan settings JSON (see get_plan_template), relative to RSI_DATA_DIR
census_fileYesCensus CSV, relative to RSI_DATA_DIR
max_findingsNoDefault 200, errors first
census_mappingNoColumn-mapping profile for the census: a bundled name (e.g. "workday-example") or a JSON file in RSI_DATA_DIR
contributions_fileYesContributions CSV (one row per employee per pay date), relative to RSI_DATA_DIR
contributions_mappingNoColumn-mapping profile for the contributions file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 load and does well: it discloses privacy behavior ('Employee IDs are masked; files never leave the machine'), local execution, and the shape of each returned finding (rule ID, message, fix, legal basis, where to fix). It does not describe failure behavior for malformed exports or how the result set is bounded, which keeps it short of a 5.

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?

The description is front-loaded with the verb and inputs, then a compact enumeration of finding types, then the return shape and privacy note. The middle list is long but every clause defines real detection scope rather than restating the name, so it earns its space; it is dense but not padded.

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 an eight-parameter tool with a nested plan object and no output schema, the description covers purpose, detection scope, return fields, and privacy adequately, while the schema covers parameter details. What it omits is how plan and plan_file interact and whether the tool writes anything to disk, which would matter given 'files never leave the machine'.

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%, so the schema already documents all eight parameters, and the description only reinforces the two required files. It adds no meaning about plan vs plan_file precedence, mapping profile selection, or max_findings behavior. Baseline 3 applies when the schema does the documenting.

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 names a specific verb ('Check') and concrete resources ('a census export and a payroll contribution export') scoped to 401(k)/403(b) plans, then enumerates the exact rule classes it detects (SECURE 2.0 auto-enrollment, 402(g) breaches, late deposits, etc.). An agent can distinguish this from list_rules or get_plan_template purely from the text.

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

Usage Guidelines3/5

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

Usage is implied by the required pair of exports ('Check a census export and a payroll contribution export'), and the plan-settings dependency is hinted at, but there is no explicit when-to-use/when-not-to-use guidance and no reference to the sibling tools (get_plan_template, list_rules) that clearly precede it. An agent must infer its place in the workflow.

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