Skip to main content
Glama
cmendezs

mcp-einvoicing-de

Check Allowance Reason Code

check_allowance_reason_code

Verify if a given allowance reason code is recognized in German e-invoicing, ensuring compliance with EN 16931 and KoSIT standards.

Instructions

Check whether code is a recognized allowance reason code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries full responsibility. It does disclose the core behavior: membership testing against a recognized set of allowance reason codes. However, it does not mention matching semantics such as case sensitivity, trimming, unexpected formats, or what happens for an unrecognized/empty code. The behavior is simple but not fully transparent.

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?

One sentence with no wasted words. The verb and the object are front-loaded, and the purpose is immediately understandable. This is appropriately minimal for a single-parameter validation tool.

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 simple one-parameter membership check with an output schema, the description covers the essential purpose. The only real gap is not pointing to list_allowance_reason_codes as the source of valid codes, but that is a minor omission given the tool's simplicity.

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 description coverage is 0%, so the description needs to explain the 'code' parameter. It does confirm that *code* refers to an allowance reason code, which adds minimal semantic meaning beyond the parameter name. It does not specify expected format, example values, or that the code should come from the corresponding codelist.

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?

The description states a specific operation ('check whether code is recognized') against a specific resource ('allowance reason code'). It clearly differentiates from sibling tools like list_allowance_reason_codes by framing this as a validation/verification action rather than enumeration.

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?

The intended usage is implied by 'check whether' — the tool validates a code rather than listing codes. However, the description does not explicitly say when to use it versus list_allowance_reason_codes or whether to use list_allowance_reason_codes first to obtain valid codes. This guidance is missing but not actively misleading.

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