Skip to main content
Glama
asgard-ai-platform

MCP Universal EC E-Invoice Server

create_b2c_invoice_named

Create a B2C invoice with nested field format (C0401N) by providing required fields like invoice number, seller/buyer details, items, amounts, and tax info. Returns the API response.

Instructions

Create a B2C invoice using named nested field format (C0401N). Returns the API response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesList of product items. Each item: {Description, Quantity, UnitPrice, TaxType, Amount, SequenceNumber}.
npo_banNoNPO ban (love code) when donating.
tax_rateYesTax rate.
buyer_nameYesBuyer name.
print_markYesPrint mark ('Y' or 'N').
tax_amountYesTax amount.
carrier_id1NoCarrier ID primary (encoded).
carrier_id2NoCarrier ID secondary (plain).
donate_markYesDonate mark ('1'=donate, '0'=no).
main_remarkNoMain remark.
carrier_typeNoCarrier type code.
invoice_dateYesInvoice date (YYYYMMDD).
invoice_timeYesInvoice time (HHmmss).
invoice_typeYesInvoice type code.
sales_amountYesTaxable sales amount.
total_amountYesTotal amount including tax.
random_numberYes4-digit random number.
invoice_numberYesInvoice number.
amount_tax_typeYesTax type for amount section.
buyer_identifierYesBuyer tax ID (or empty string).
seller_identifierYesSeller tax ID.
zero_tax_rate_reasonNoZero-tax-rate reason code.
free_tax_sales_amountYesTax-exempt sales amount.
zero_tax_sales_amountYesZero-tax-rate sales amount.
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It only states the tool creates an invoice and returns an API response, lacking details about side effects, idempotency, permissions, error handling, or any constraints. This is insufficient for a mutation tool.

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 a single, efficient sentence with no wasted words. It front-loads the core action. However, it could benefit from a brief list of key parameters or behavior to aid understanding, but it remains concise.

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 has 24 parameters, 18 required, no output schema, and is one of many invoice-related siblings, the description is too minimal. It does not explain the nested field format, what the API response contains, how items are structured, or any prerequisites. The tool's complexity demands richer description.

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 the schema already explains each parameter. The description adds no additional meaning beyond mentioning 'named nested field format', which does not clarify parameter usage. Thus, baseline score of 3 is appropriate.

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?

Description clearly states the tool creates a B2C invoice using a specific named nested field format (C0401N), distinguishing it from the plain create_b2c_invoice sibling. The verb 'Create' and resource 'B2C invoice' are specific and unambiguous.

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 description does not explicitly state when to use this tool versus alternatives like create_b2c_invoice or the allowance tools. Usage context is implied by the name and format mention, but no direct guidance on when-not-to-use or prerequisites is provided.

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