Skip to main content
Glama
elster-mcp

elster-mcp

by mjmirza

elster_submit_return

Submit a signed tax return to ELSTER, defaulting to a test submission; live filing requires explicit per-return approval and operator enablement.

Instructions

Send a return to ELSTER, signed with the configured certificate. Default is a TEST submission (Testmerker 700000004): nothing is filed with the tax office. A LIVE filing needs live=true, user_confirmed_live=true (only after the user explicitly approved this exact return), and the operator setting ELSTER_ALLOW_LIVE=1. Only file for the certificate holder.

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": {
      "data_type_version": "<data_type_version>"
    },
    "name": "elster_submit_return"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlNo
liveNo
xml_pathNo
receipt_pdf_pathNo
data_type_versionYes
user_confirmed_liveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only give readOnlyHint=false and openWorldHint=true; the description adds the crucial fact that the default sends nothing to the tax office and that a live filing is externally consequential and gated behind three conditions. That is real added context beyond structured fields. The remaining gap is what happens after submission (receipt handling, receipt_pdf_path, failure modes), which is not described.

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?

Four tight sentences, front-loaded with the action and immediately followed by the safety-critical default/test distinction. No filler; the live-gating conditions are compactly packed into one sentence without losing the required logic.

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?

The high-stakes safety story is complete and well covered, and no output schema exists so return values need not be explained. However, for a tool with a single required parameter at 0% schema coverage, the description never says what a valid data_type_version or XML payload looks like, so an agent cannot construct a correct call from the definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 6 parameters, so the description must carry the burden, and it only explains live and user_confirmed_live. The required parameter data_type_version, plus xml, xml_path and receipt_pdf_path (including whether xml and xml_path are alternatives), are left entirely undocumented in both schema and description.

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?

"Send a return to ELSTER, signed with the configured certificate" names a specific verb and resource plus the signing mechanism, which separates it from validation/checker siblings. The second sentence immediately scopes the default behavior (test submission, nothing filed), so an agent knows this is the actual filing operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use and when-not: default is TEST and files nothing; LIVE requires live=true, user_confirmed_live=true only after the user explicitly approved this exact return, and the operator flag ELSTER_ALLOW_LIVE=1. It also adds the eligibility constraint (only the certificate holder), leaving no 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.