Skip to main content
Glama
asgard-ai-platform

MCP Universal EC E-Invoice Server

create_b2b_exchange_allowance

Generate a B2B exchange allowance (B0101) for Taiwan e-invoice. Requires seller address and returns API response.

Instructions

Create a B2B exchange allowance (B0101). 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.
seller_nameYesSeller name.
seller_emailNoSeller email address.
total_amountYesTotal amount.
buyer_addressNoBuyer address.
allowance_dateYesAllowance date (YYYYMMDD).
allowance_typeYesAllowance type.
seller_addressYesSeller address (mandatory).
allowance_numberYesAllowance number.
buyer_identifierYesBuyer tax ID.
seller_facsimileNoSeller facsimile number.
seller_telephoneNoSeller telephone number.
seller_identifierYesSeller tax ID.
seller_person_in_chargeNoSeller person in charge.
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?

No annotations are provided, so the description carries full burden for behavioral disclosure. It mentions the tool creates a record and returns the API response, but omits important details such as whether the operation is idempotent, required authentication, or potential side effects. The minimal information leaves significant gaps.

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?

The description is extremely concise: two sentences with no unnecessary words. It front-loads the purpose and includes a key constraint and return value. Every sentence earns its place.

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 the tool's complexity (18 parameters, no output schema, no annotations), the description is too sparse. It lacks context on error responses, prerequisites, or usage scenarios. A more complete description would cover these aspects to assist an AI agent.

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?

The input schema has 100% description coverage for all 18 parameters, so the schema already documents each parameter's meaning. The description adds only that seller address is mandatory, which is already indicated by the 'required' list. No additional semantic value is provided beyond the schema.

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 the tool creates a B2B exchange allowance (B0101) and mentions seller address is mandatory. It uses a specific verb and resource, but does not differentiate from similar sibling tools like create_b2b_allowance or create_b2c_allowance, so it loses a point for lack of distinction.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With many sibling allowance tools, the description should indicate when a B2B exchange allowance is appropriate, but it does not.

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