Skip to main content
Glama
elster-mcp

elster-mcp

by mjmirza

elster_convert_tax_number

Read-only

Converts a tax number from a tax notice (e.g. 053 815 08158) into the 13-digit ELSTER format using the state or tax office number; use a 4-digit tax office number for Bavarian and Berlin formats.

Instructions

Convert a tax number as printed on a tax notice (e.g. 053 815 08158) into the 13-digit ELSTER format. state is the 2-digit state number from elster_list_states (e.g. 26 = Hessen) or the 4-digit tax office number. Bavarian and Berlin numbers in the format BBB/UUUUP need the 4-digit tax office number.

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": {
      "tax_number": "<tax_number>",
      "state": "<state>"
    },
    "name": "elster_convert_tax_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYes
tax_numberYes

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 already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real domain behavior instead — the input format convention (spaced groups), the fact that state accepts either a 2-digit state code or a 4-digit tax office number, and the special case that Bavarian and Berlin BBB/UUUUP numbers require the 4-digit tax office number. It does not say what happens on an invalid or unparseable number, but overall the added behavioral context is substantial.

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 short sentences, zero waste, with the core purpose front-loaded and the parameter/edge-case notes following in priority order. Each sentence adds a distinct, callable fact.

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?

For a two-parameter, read-only conversion tool with no output schema, the description gives enough to call it correctly, including the awkward Bavarian/Berlin case that would otherwise cause failures. It does not describe the return value beyond '13-digit ELSTER format' nor any error behavior, which is minor but not fully complete.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the parameter meaning and it largely does: 'state' is explained as either the 2-digit code from elster_list_states or the 4-digit tax office number, and 'tax_number' is illustrated with an exact printed-format example. The only gap is the accepted separator/whitespace rules for tax_number and whether the 13-digit form is accepted as input.

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?

States a specific verb and resource plus the transformation target: convert a tax number as printed on a notice (with a concrete example) into the 13-digit ELSTER format. It is unmistakably distinct from validation-style siblings by name of action, though it never explicitly contrasts itself with elster_check_tax_number, which is the nearest neighbor.

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 clear driving context (a number printed on a tax notice) and, more usefully, tells the agent where to source the 'state' argument (elster_list_states, with 26 = Hessen as an example). It does not state when to prefer elster_check_tax_number or what to do if the number is already in ELSTER format, so exclusions are absent.

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