Skip to main content
Glama
mcp-efile-mock

mcp-efile-mock

by b33-steve

Validate return

validate_return
Read-onlyIdempotent

Checks return JSON before submission, verifying field shapes, line math, deposit and liability rules, header/EIN rules, and returns errors, warnings, computed totals, and XSD status.

Instructions

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.

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": "validate_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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantive context: it stores nothing, it recomputes line math from the supplied inputs (a real behavioral trait affecting results), and it specifies the return payload shape (valid, errors, warnings with code/path/message/basis, computed, xsd). With no output schema present, this disclosure carries real weight.

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?

Front-loaded with the core action and scope, followed by the check list and return shape. The enumeration of checks is dense but each item maps to a distinct validation area; the sentences are long yet carry no filler.

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?

For a two-parameter validation tool with no output schema and a nested free-form data object, the description covers scope, side-effect freedom, checks performed, and the exact shape of results. An agent has enough to decide to call it and to interpret what comes back.

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% and both parameters are documented in the schema, including the enum of form types and the pointer to list_supported_forms. The description adds little parameter-level meaning beyond noting that header and EIN rules are enforced on the data object, 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 ('Check return JSON') and enumerates the exact validation domains covered: input shape, line math recomputed from inputs, deposit/liability checks, header and EIN rules. The 'without submitting anything' clause separates it cleanly from the submission siblings.

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?

'without submitting anything' establishes the precondition context (dry-run before a real submission) and implicitly excludes mock_submit_return. It does not explicitly name the alternative tool or spell out when validation must be skipped or repeated after edits, so it falls short of full when/when-not guidance.

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