Skip to main content
Glama

Pension Resource EFAST

Build the EFAST2 XML

build_efast_xml
Read-only

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).

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": {
      "doc": "<doc>"
    },
    "name": "build_efast_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYesFiling JSON (see document_format from get_filing_types).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond them: the response bundles a validation result, and the artifact is meant to be uploaded and signed by the user in EFAST2, not submitted by the tool. The 5558 signature nuance is a genuine behavioral detail. It does not say whether an invalid filing still produces XML or fails outright.

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?

Two short sentences, with the primary output front-loaded before the downstream handling note. The 5558 parenthetical is slightly tangential but carries actionable signing information, so nothing is clearly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly carries the burden of describing the return value as XML plus a validation result, and it explains the handoff to EFAST2. However, it is silent on failure behavior, on what the validation result contains, and on how to act when validation fails, which matters for a build-and-validate step.

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?

There is a single parameter with 100% schema description coverage, and the schema already points to get_filing_types for the document_format. The description adds no further meaning about the doc object, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the concrete output: the EFAST2 XML for the filing plus the validation result, which lets an agent distinguish this from the pure validators in the sibling list. It is phrased as a noun phrase rather than a verb+resource sentence, and it never names an explicit alternative, so it stops short of a 5.

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 through the downstream workflow: the user uploads the XML to EFAST2 and signs it there, and the Form 5558 case needs no signature. There is no explicit statement of when to call this versus validate_5500 or file_5558, so the agent must infer that this is the generation step preceding submission.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources