Pension Resource EFAST
Form 5500, 5500-EZ, and 5558 tools for retirement plan filing workflows.
Should I use this
Quality & Safety
Findings (3)
- LOWin get_instructions
- LOWin list_law_citations
- LOWin create_extension_enrollment_draft
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"efast": {
"url": "https://pensionresource.website/api/v1/efast/mcp"
}
}
}Remote endpoints
https://pensionresource.website/api/v1/efast/mcpstreamable-httpWhat it can do
Tool inventory
Tools (21)
🟢get_filing_types(year)
Filing types (5500, 5500-SF, 5500-EZ, 5558), the forms and schedules each can include, and the filing JSON format with an example. Call this first.
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
}
}
}🟢get_line_reference(year, root, line)
For a form line (e.g. "7a", "8b(1)") or element path (e.g. "SF/TotAssetsBoyAmt"): the EFAST2 element paths, formats and allowed values, the official line instructions, EFAST2 edit tests and law links.
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
},
"root": {
"type": "string",
"description": "Form root: SF, Form5500, EZ, Form5558, SchA, SchC, SchD, SchDCG, SchG, SchH, SchI, SchMB, SchMEP, SchR, SchSB."
},
"line": {
"type": "string",
"description": "Line number or element path"
}
},
"required": [
"root",
"line"
]
}🟢get_instructions(year, root, line)
Every line of a form with an excerpt of its instructions; pass "line" for the full text of one line.
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
},
"root": {
"type": "string",
"description": "Form root: SF, Form5500, EZ, Form5558, SchA, SchC, SchD, SchDCG, SchG, SchH, SchI, SchMB, SchMEP, SchR, SchSB."
},
"line": {
"type": "string"
}
},
"required": [
"root"
]
}🟢search_instructions(year, root, query)
Keyword search over the official instructions (all forms, or one form with "root").
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
},
"root": {
"type": "string",
"description": "Form root: SF, Form5500, EZ, Form5558, SchA, SchC, SchD, SchDCG, SchG, SchH, SchI, SchMB, SchMEP, SchR, SchSB."
},
"query": {
"type": "string",
"maxLength": 300
}
},
"required": [
"query"
]
}🟢list_law_citations(year, root, line)
Code sections, ERISA sections, regulations, Field Assistance Bulletins and other guidance linked to a form or one of its lines, with links.
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
},
"root": {
"type": "string",
"description": "Form root: SF, Form5500, EZ, Form5558, SchA, SchC, SchD, SchDCG, SchG, SchH, SchI, SchMB, SchMEP, SchR, SchSB."
},
"line": {
"type": "string"
}
},
"required": [
"root"
]
}🟢validate_5500(doc, prior)
EFAST2 schema check, field formats, the official EFAST2 edit tests (codes like P-330SF) and our own checks (math, cross-schedule consistency, required schedules); with "prior", also compares with last year. Nothing is stored or filed.
Input Schema
{
"type": "object",
"properties": {
"doc": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
},
"prior": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
}
},
"required": [
"doc"
]
}🟢compare_prior_year(doc, prior)
Line-by-line differences from last year's filing, with large swings flagged.
Input Schema
{
"type": "object",
"properties": {
"doc": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
},
"prior": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
}
},
"required": [
"doc",
"prior"
]
}🟢rollforward_prior_year(prior, year, type)
Carries plan, sponsor and administrator information forward, moves the plan year forward and sets beginning-of-year amounts from last year's end-of-year amounts.
Input Schema
{
"type": "object",
"properties": {
"prior": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
},
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
},
"type": {
"type": "string",
"enum": [
"5500",
"5500-SF",
"5500-EZ",
"5558"
]
}
},
"required": [
"prior"
]
}🟢build_efast_xml(doc)
The EFAST2 XML for the filing, with the validation result. The user uploads it to EFAST2 and signs it there (a Form 5558 needs no signature: the person submits it in EFAST2 themselves by the Form 5500 due date).
Input Schema
{
"type": "object",
"properties": {
"doc": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
}
},
"required": [
"doc"
]
}🟢import_filing(filename, content_base64, year)
Converts a filed EFAST2 XML (or ZIP, or our JSON) into the filing JSON, e.g. last year's filing for rollforward or comparison.
Input Schema
{
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"content_base64": {
"type": "string"
},
"year": {
"type": "integer",
"description": "Form year, e.g. 2025 (the year the plan year began)."
}
},
"required": [
"content_base64"
]
}🟡create_review_draft(doc, label)
Saves the filing as an encrypted draft (up to 7 days) and returns a one-time review_url. Give it to the user exactly as returned; when they open it the filing moves into their browser and the server copy is erased. Needs the 5500.draft permission.
Input Schema
{
"type": "object",
"properties": {
"doc": {
"type": "object",
"description": "Filing JSON (see document_format from get_filing_types)."
},
"label": {
"type": "string",
"maxLength": 120,
"description": "Short note shown to the user, e.g. the plan name."
}
},
"required": [
"doc"
]
}🟢get_draft_status(draft_id)
Status of a draft created with this API key: open, opened, deleted or expired. Never returns the filing.
Input Schema
{
"type": "object",
"properties": {
"draft_id": {
"type": "string",
"pattern": "^efd_[0-9a-f]{20}$"
}
},
"required": [
"draft_id"
]
}🟢get_5558_schedule(plan_year_end, year)
For a plan year end (MM-DD): the Form 5500 due date (last day to file Form 5558), the extended due date, when we would email the heads-up and file, the cancel/skip cutoff, the $5-per-year price and refund rules, and what an extension does and does not cover. No API key needed.
Input Schema
{
"type": "object",
"properties": {
"plan_year_end": {
"type": "string",
"pattern": "^\\d{2}-\\d{2}$"
},
"year": {
"type": "integer",
"description": "Plan year (the year it begins); default is the next one to file"
}
},
"required": [
"plan_year_end"
]
}🟢validate_5558(plan, plan_year, short_year, extend_to, extend_8955_to, ...)
Runs the EFAST2 edit checks and our own on the plan details, and compares them with the plan's public Form 5500 filings on EFAST2: sponsor and plan name, city, state, plan number, a plan year that was already filed, other plans of the sponsor, and no filings at all (a first return or a Form 5500-EZ filer, whose returns aren't public). Returns status red (errors), yellow (warnings, or line 2 earlier than the latest date) or green, with each issue and the matching filings (PDF links). Files nothing. No API key needed.
Input Schema
{
"type": "object",
"properties": {
"plan": {
"type": "object",
"description": "Plan details exactly as they should print on Form 5558.",
"required": [
"sponsorName",
"addressLine1",
"city",
"state",
"zip",
"ein",
"pn",
"planName",
"planYearEnd"
],
"properties": {
"sponsorName": {
"type": "string",
"maxLength": 70,
"description": "Plan sponsor (employer) name"
},
"addressLine1": {
"type": "string",
"maxLength": 35
},
"addressLine2": {
"type": "string",
"maxLength": 35
},
"city": {
"type": "string",
"maxLength": 22
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"zip": {
"type": "string",
"description": "5 or 9 digits"
},
"ein": {
"type": "string",
"description": "Sponsor EIN, 9 digits (ask the user; never guess)"
},
"pn": {
"type": "string",
"description": "3-digit plan number, e.g. 001"
},
"planName": {
"type": "string",
"maxLength": 140
},
"planYearEnd": {
"type": "string",
"pattern": "^\\d{2}-\\d{2}$",
"description": "Plan year end as MM-DD, e.g. 12-31"
},
"extend8955": {
"type": "boolean",
"description": "Also extend Form 8955-SSA"
},
"firstYear": {
"type": "integer",
"description": "Plan year (year it begins) of the plan's first Form 5500 series return, if that is a year we would file"
},
"notifyEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 3,
"description": "Extra addresses that get every notice"
},
"confirmEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 5,
"description": "Third parties (CPA, TPA) who get only a copy of the filed confirmation (plan, plan year, EFAST2 acknowledgment ID, new due date)"
}
}
},
"plan_year": {
"type": "integer",
"description": "Plan year (the year it begins); default is the next one due"
},
"short_year": {
"type": "object",
"required": [
"begin",
"end"
],
"properties": {
"begin": {
"type": "string",
"format": "date"
},
"end": {
"type": "string",
"format": "date"
},
"reason": {
"type": "string",
"enum": [
"terminating",
"change",
"first"
]
}
}
},
"extend_to": {
"type": "string",
"format": "date",
"description": "Line 2 date; default the latest allowed"
},
"extend_8955_to": {
"type": "string",
"format": "date",
"description": "Line 3 date (Form 8955-SSA, when plan.extend8955 is true); default the latest allowed"
},
"check_prior_filings": {
"type": "boolean",
"description": "Compare with the plan's earlier Form 5500 filings (default true)"
}
},
"required": [
"plan"
]
}🟡create_extension_enrollment_draft(plan, years, note, label)
Checks the plan details against the EFAST2 rules and saves an encrypted enrollment draft with the number of years to prepay. Returns a one-time review_url: give it to the user exactly as returned. They sign in, check the details, accept the filing authorization and pay. Needs 5558.prepare. Agents cannot pay, authorize filing, cancel, refund or file: the user does that signed in on the Form 5558 page.
Input Schema
{
"type": "object",
"properties": {
"plan": {
"type": "object",
"description": "Plan details exactly as they should print on Form 5558.",
"required": [
"sponsorName",
"addressLine1",
"city",
"state",
"zip",
"ein",
"pn",
"planName",
"planYearEnd"
],
"properties": {
"sponsorName": {
"type": "string",
"maxLength": 70,
"description": "Plan sponsor (employer) name"
},
"addressLine1": {
"type": "string",
"maxLength": 35
},
"addressLine2": {
"type": "string",
"maxLength": 35
},
"city": {
"type": "string",
"maxLength": 22
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"zip": {
"type": "string",
"description": "5 or 9 digits"
},
"ein": {
"type": "string",
"description": "Sponsor EIN, 9 digits (ask the user; never guess)"
},
"pn": {
"type": "string",
"description": "3-digit plan number, e.g. 001"
},
"planName": {
"type": "string",
"maxLength": 140
},
"planYearEnd": {
"type": "string",
"pattern": "^\\d{2}-\\d{2}$",
"description": "Plan year end as MM-DD, e.g. 12-31"
},
"extend8955": {
"type": "boolean",
"description": "Also extend Form 8955-SSA"
},
"firstYear": {
"type": "integer",
"description": "Plan year (year it begins) of the plan's first Form 5500 series return, if that is a year we would file"
},
"notifyEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 3,
"description": "Extra addresses that get every notice"
},
"confirmEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 5,
"description": "Third parties (CPA, TPA) who get only a copy of the filed confirmation (plan, plan year, EFAST2 acknowledgment ID, new due date)"
}
}
},
"years": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Years to prepay ($5 each)"
},
"note": {
"type": "string",
"maxLength": 1000,
"description": "Note shown to the user"
},
"label": {
"type": "string",
"maxLength": 120
}
},
"required": [
"plan"
]
}🟢get_enrollment_draft_status(draft_id)
Status of a Form 5558 draft created with this API key: pending (not opened yet), opened, enrolled, expired or deleted. Needs 5558.prepare or 5558.read.
Input Schema
{
"type": "object",
"properties": {
"draft_id": {
"type": "string",
"pattern": "^efd_[0-9a-f]{20}$"
}
},
"required": [
"draft_id"
]
}🟢list_extension_enrollments
Each enrolled plan with its prepaid years, next filing dates and recent EFAST2 results (acknowledgment IDs). Needs 5558.read.
Input Schema
{
"type": "object",
"properties": {}
}🟢get_extension_filings(enrollment_id)
Every year's automatic Form 5558 filing for an enrollment: status, dates, EFAST2 acknowledgment ID and any problem. Needs 5558.read.
Input Schema
{
"type": "object",
"properties": {
"enrollment_id": {
"type": "string",
"pattern": "^fxe_[0-9a-f]{20}$"
}
},
"required": [
"enrollment_id"
]
}🟡request_extension_change(enrollment_id, change, plan, years, note, ...)
Proposes updated plan details (update), skipping this year (skip_year), filing this year after all (resume_year), buying more years (add_years) or cancelling with a refund of unused years (cancel). Returns a one-time review_url for the user; nothing changes until they confirm. Needs 5558.prepare. Agents cannot pay, authorize filing, cancel, refund or file: the user does that signed in on the Form 5558 page.
Input Schema
{
"type": "object",
"properties": {
"enrollment_id": {
"type": "string",
"pattern": "^fxe_[0-9a-f]{20}$"
},
"change": {
"type": "string",
"enum": [
"update",
"skip_year",
"resume_year",
"add_years",
"cancel"
]
},
"plan": {
"type": "object",
"description": "For update: only the fields that change (same names as create_extension_enrollment_draft)."
},
"years": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "For add_years"
},
"note": {
"type": "string",
"maxLength": 1000
},
"label": {
"type": "string",
"maxLength": 120
}
},
"required": [
"enrollment_id",
"change"
]
}⚪file_5558(plan, plan_year, short_year, signer, auto, ...)
Files a Form 5558 with EFAST2 right away for the key owner and returns the EFAST2 acknowledgment ID. Uses one prepaid filing (the plan's, then the account's; buy them on the API tab of the Form 5558 page). Line 2 is the latest date allowed. Needs a key created with "Allow this key to file Form 5558" (scope 5558.file). Ask the user for the EIN, plan number and the name and capacity of the person authorizing the filing; never invent them. For the final year of a terminated plan, the plan year ends on the date all assets were distributed: pass short_year.
Input Schema
{
"type": "object",
"properties": {
"plan": {
"type": "object",
"description": "Plan details exactly as they should print on Form 5558.",
"required": [
"sponsorName",
"addressLine1",
"city",
"state",
"zip",
"ein",
"pn",
"planName",
"planYearEnd"
],
"properties": {
"sponsorName": {
"type": "string",
"maxLength": 70,
"description": "Plan sponsor (employer) name"
},
"addressLine1": {
"type": "string",
"maxLength": 35
},
"addressLine2": {
"type": "string",
"maxLength": 35
},
"city": {
"type": "string",
"maxLength": 22
},
"state": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"zip": {
"type": "string",
"description": "5 or 9 digits"
},
"ein": {
"type": "string",
"description": "Sponsor EIN, 9 digits (ask the user; never guess)"
},
"pn": {
"type": "string",
"description": "3-digit plan number, e.g. 001"
},
"planName": {
"type": "string",
"maxLength": 140
},
"planYearEnd": {
"type": "string",
"pattern": "^\\d{2}-\\d{2}$",
"description": "Plan year end as MM-DD, e.g. 12-31"
},
"extend8955": {
"type": "boolean",
"description": "Also extend Form 8955-SSA"
},
"firstYear": {
"type": "integer",
"description": "Plan year (year it begins) of the plan's first Form 5500 series return, if that is a year we would file"
},
"notifyEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 3,
"description": "Extra addresses that get every notice"
},
"confirmEmails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 5,
"description": "Third parties (CPA, TPA) who get only a copy of the filed confirmation (plan, plan year, EFAST2 acknowledgment ID, new due date)"
}
}
},
"plan_year": {
"type": "integer",
"description": "Plan year (the year it begins); default is the next one due"
},
"short_year": {
"type": "object",
"required": [
"begin",
"end"
],
"description": "Short plan year (final year of a terminated plan, change of plan year)",
"properties": {
"begin": {
"type": "string",
"format": "date"
},
"end": {
"type": "string",
"format": "date"
},
"reason": {
"type": "string",
"enum": [
"terminating",
"change",
"first"
]
}
}
},
"signer": {
"type": "object",
"required": [
"name",
"capacity"
],
"description": "Person authorizing this filing",
"properties": {
"name": {
"type": "string"
},
"capacity": {
"type": "string",
"enum": [
"plan_administrator",
"employer",
"authorized_agent"
]
},
"title": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
},
"firm": {
"type": "string",
"description": "Required for authorized_agent"
}
}
},
"auto": {
"type": "boolean",
"description": "Also file automatically every year (default false)"
},
"confirmation_emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"maxItems": 5,
"description": "Third parties (CPA, TPA) who get a copy of the filed confirmation; same as plan.confirmEmails. Omit to keep the plan's current list."
},
"check_prior_filings": {
"type": "boolean",
"description": "Compare with the plan's earlier Form 5500 filings first; on any warning nothing is filed and the issues come back (409). Run validate_5558 first to see them."
}
},
"required": [
"plan",
"signer"
]
}🟢get_prepaid_balance
How many account prepaid filings the key owner has left, the price per filing and whether this key can file. Needs 5558.read or 5558.file.
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence