Skip to main content
Glama
mcp-efile-mock

mcp-efile-mock

by b33-steve

Mock submit return

mock_submit_return

Submit a return to an in-memory mock MeF for offline e-file workflow testing; it returns submission and message IDs plus transmission container details for acknowledgement retrieval.

Instructions

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.

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": {
      "formType": "<formType>",
      "data": "<data>"
    },
    "name": "mock_submit_return"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesReturn data as a JSON object using the field names shown by list_supported_forms. Unknown fields are rejected. Use fake values only: EINs start with 00 (e.g. 00-0000000), SSNs look like 000-00-0000.
formTypeYesForm to process: 941, 944, 4868, 7004, 941-X. Call list_supported_forms first to see each form's fields. 940, 945, 1120-S and 8868 are not available.
forceRejectNoTest hook: force a rejection (code X0000-005-01) even if the return is valid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only state readOnly=false, openWorld=false, idempotent=false, destructive=false; the description goes well beyond them by declaring the store is in-memory and non-persistent, enumerating the return values, and spelling out the duplicate-submission rule that explains idempotentHint=false. It also clarifies that rejections still count as submissions, which is behavior no annotation conveys.

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?

Five short sentences, front-loaded with what it does and its in-memory scope, then returns, then failure modes, then the next call. Every sentence carries distinct signal with no repetition of the title.

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?

There is no output schema, yet the description enumerates what comes back (20-digit submission ID, message ID, transmission container shape). Combined with the duplicate rule and the Rejected-vs-not-submitted distinction, an agent has everything needed to call it and interpret the result.

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 100%, so formType, data, and forceReject are already fully documented, including the fake-value conventions and the enum exclusions. The description adds no parameter-specific detail beyond the schema's own shape-validation framing, so the baseline 3 applies.

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?

States a specific verb and resource ("Submit a return to the in-memory mock MeF") and immediately scopes it (nothing leaves the process, nothing persisted). This clearly separates it from build_return_xml and validate_return, which do not transmit.

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?

Gives explicit sequencing ("Then call get_acknowledgement with the submission ID") and a useful failure taxonomy: shape-validation failures are not submitted, business-rule failures are submitted and come back Rejected. It does not explicitly say whether to run validate_return first, leaving one inference to the agent.

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