Skip to main content
Glama
elster-mcp

elster-mcp

by mjmirza

elster_validate_return

Read-only

Validates German tax return XML locally with ERiC before submission and can generate a preview PDF, helping catch errors without sending data to ELSTER.

Instructions

Validate a tax return locally with ERiC, without sending it. data_type_version is e.g. UStVA_2026 or ESt_2025. Optionally writes a preview PDF. Requires ELSTER_HERSTELLER_ID.

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_validate_return"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlNo
xml_pathNo
preview_pdf_pathNo
data_type_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real context: local execution, no transmission, and the ELSTER_HERSTELLER_ID prerequisite, plus the note that a preview PDF may be written. It does not say what a failed validation returns or whether the optional PDF write counts as a side effect, which matters given readOnlyHint.

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?

Three compact sentences, no filler, with the core purpose and the key differentiator front-loaded. Each sentence carries distinct information: what it does, a parameter example, and a config prerequisite.

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

Completeness4/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 would ideally say what a validation result looks like (error list, severity, codes), and it is silent on the xml/xml_path duality. Otherwise the essential operational facts — local-only, no submission, required environment variable, PDF option — are all present.

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%, so the description must carry the parameter burden. It documents data_type_version with concrete examples (UStVA_2026, ESt_2025) and implies preview_pdf_path via 'Optionally writes a preview PDF', but never explains the xml vs xml_path pair — the most consequential choice about how the return content is supplied.

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 ('Validate a tax return') plus the decisive scope qualifier 'locally with ERiC, without sending it', which separates it from elster_submit_return. An agent knows exactly what this does without opening the schema.

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?

The phrase 'without sending it' implicitly defines when to use this instead of submitting, and 'Optionally writes a preview PDF' hints at a secondary use. It stops short of explicitly naming the alternative tool or stating when validation is a prerequisite, so no explicit when-not guidance.

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