Skip to main content
Glama
mcp-efile-mock

mcp-efile-mock

by b33-steve

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

MOCK e-File server for IRS employment-tax and extension forms. It does not file with the IRS, does not connect to any IRS system, and is for test data only: use fake identifiers (EINs starting 00, SSNs like 000-00-0000). Typical flow: list_supported_forms -> validate_return -> build_return_xml -> mock_submit_return -> get_acknowledgement. Never present its results as an actual IRS filing, acceptance or rejection.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_supported_formsA

List the form types this mock can validate, build and submit, with each form's top-level input fields (name and whether required), the optional header block fields, and which forms are planned or not available. Call this first. Read-only; no side effects.

validate_returnA

Check return JSON without submitting anything: input shape, line math recomputed from the inputs, deposit/liability checks, header and EIN rules. Returns valid, errors and warnings (each with a code, a JSON path, a message and a basis), computed totals, and xsd status. Read-only; stores nothing.

build_return_xmlA

Validate the return and convert it to illustrative MeF-style XML. The XML uses hand-modeled element names in a mock namespace and will not pass the real IRS schema. xsd.status is 'valid' or 'invalid' only if IRS XSDs are installed locally; 'not_available' means the XML was NOT schema-validated. Returns xml: null with the validation result if the input is invalid. Read-only.

mock_submit_returnA

Submit a return to the in-memory mock MeF (nothing leaves this process, nothing is persisted after exit). Returns a 20-digit submission ID, a message ID and an illustrative transmission container shape (header, manifest, zip entry list). Input that fails shape validation is not submitted; business-rule failures are submitted and come back Rejected. Then call get_acknowledgement with the submission ID. Submitting the same accepted return twice is rejected as a duplicate.

get_acknowledgementA

Fetch the mock result for a submission ID from mock_submit_return. kind is 'StatusRecord' while status is Processing (not proof of acceptance) and 'Acknowledgement' once status is Accepted or Rejected; rejected results list errors with codes and basis. Use format 'xml' for the illustrative acknowledgement XML shape. In this mock the result is normally final on the first call; a Processing status appears only if the server is configured with polling delays, in which case repeat the call.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 5 tools

Disambiguation5/5

Each tool maps to a distinct stage of the mock e-file workflow: discovery, validation, XML rendering, submission, and acknowledgement retrieval. Although build_return_xml also validates, its description clearly separates XML conversion from the validation-only purpose of validate_return.

Naming Consistency4/5

All names use snake_case and generally follow a verb_noun pattern, such as list_supported_forms, validate_return, build_return_xml, and get_acknowledgement. mock_submit_return adds a qualifier prefix, which is a minor but readable deviation.

Tool Count5/5

The five tools are tightly scoped to the mock e-file lifecycle and each serves a clear purpose. There is no redundant tooling, and the set is small enough to stay coherent while covering the necessary workflow.

Completeness4/5

The surface covers the core end-to-end flow: discover forms, validate, build XML, submit, and fetch an acknowledgement. Minor operational gaps such as listing prior submissions or resetting mock state are absent, but they are not essential for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues