Skip to main content
Glama
asgard-ai-platform

MCP Universal EC E-Invoice Server

create_b2b_allowance

Generate a B2B allowance document (B0401) by providing allowance details, seller/buyer info, and itemized product list. Returns API response.

Instructions

Create a B2B allowance (B0401). Seller address is mandatory. Returns the API response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesList of product items. Each item: {ALLOWANCESEQUENCENUMBER, ORIGINALINVOICEDATE, ORIGINALINVOICENUMBER, ORIGINALDESCRIPTION, QUANTITY, UNITPRICE, AMOUNT, TAX, TAXTYPE, optional: UNIT, ORIGINALSEQUENCENUMBER}.
buyer_nameYesBuyer name.
tax_amountYesTax amount.
buyer_emailNoBuyer email address.
seller_nameYesSeller name.
seller_emailNoSeller email address.
total_amountYesTotal amount.
buyer_addressNoBuyer address.
allowance_dateYesAllowance date (YYYYMMDD).
allowance_typeYesAllowance type.
seller_addressYesSeller address (mandatory).
buyer_facsimileNoBuyer facsimile number.
buyer_telephoneNoBuyer telephone number.
allowance_numberYesAllowance number.
buyer_identifierYesBuyer tax ID.
seller_facsimileNoSeller facsimile (S_FACSIMILENUMBER).
seller_telephoneNoSeller telephone (S_TELEPHONENUMBER).
buyer_role_remarkNoBuyer role remark.
seller_role_remarkNoSeller role remark.
buyer_customer_numberNoBuyer customer number.
buyer_person_in_chargeNoBuyer person in charge.
seller_customer_numberNoSeller customer number.
seller_person_in_chargeNoSeller person in charge (S_PERSONINCHARGE).
original_invoice_buyer_idNoOriginal invoice buyer ID.
original_invoice_seller_idNoOriginal invoice seller ID.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states 'Returns the API response,' which is vague. There is no mention of side effects, validation rules, or prerequisites beyond seller address.

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?

The description is three short sentences with no wasted words. It efficiently conveys the core purpose and a critical constraint, though it could be slightly more structured.

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

Completeness2/5

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

Given 25 parameters and a large sibling set, the description is too sparse. It lacks context about the B2B allowance document type, relationships between parameters, and the response format, making it insufficient for complex usage.

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 100%, so baseline is 3. The description adds no new parameter meaning beyond what the schema already provides (e.g., seller_address is mandatory, already in required array).

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 clearly states it creates a B2B allowance (B0401), with a specific verb and resource. However, it does not differentiate from the sibling create_b2b_exchange_allowance, which is a closely related tool.

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?

It provides one usage hint (seller address is mandatory) but no guidance on when to use this tool versus alternatives like create_b2b_invoice or create_b2b_exchange_allowance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asgard-ai-platform/mcp-universalec-e-invoice'

If you have feedback or need assistance with the MCP directory API, please join our Discord server