Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_order

Create a new Fakturia order with customer details, addresses, payment method, and line items, then use it as the basis for converting to a customer record or contract.

Instructions

Create a new order in Fakturia. Orders represent purchases made through signup pages and contain customer information, billing/postal addresses, payment details, and ordered items. After creation, the order can be converted into a customer record and/or a contract.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address of the person placing the order. Used for order confirmation and communications.
localeNoLocale for the order (e.g. "de_DE", "en_US"). Controls language of order communications.
mobileNoMobile phone number.
phone1NoPrimary phone number.
phone2NoSecondary phone number.
euTaxIdNoEU VAT identification number (e.g. "DE123456789").
refererNoHTTP referer URL indicating where the order originated from.
telefaxNoFax number.
lastNameNoLast name of the person placing the order.
birthdateNoDate of birth in ISO 8601 format (YYYY-MM-DD).
firstNameNoFirst name of the person placing the order.
ipAddressNoIP address of the client that placed the order, for fraud prevention and logging.
taxNumberNoTax number (national tax ID).
couponCodeNoA coupon or discount code to apply to the order.
orderItemsNoList of items included in the order. Each item specifies a quantity and item number at minimum.
salutationNoSalutation / title (e.g. "Herr", "Frau", "Mr.", "Ms.").
companyNameNoCompany name, if the order is placed by a business.
customFieldsNoCustom fields as key-value pairs for storing additional metadata on the order.
customerTypeNoType of customer placing the order (e.g. "private", "business").
orderCommentNoA comment or note attached to the order by the customer.
orderCurrencyNoCurrency for the order in ISO 4217 format (e.g. "EUR", "USD").
paymentMethodNoPayment method for the order (e.g. "invoice", "sepa_debit", "credit_card").
postalAddressNoPostal / mailing address for the order.
bankAccountBicNoBIC / SWIFT code of the customer bank account.
billingAddressNoBilling address for the order.
orderReferenceNoAn external reference identifier for the order (e.g. from an external system).
bankAccountIbanNoIBAN of the customer bank account for SEPA payments.
bankAccountOwnerNoName of the bank account owner.
orderTemplatePageIdNoThe ID of the signup page template used to create this order.
sepaMandateAgreementNoWhether the customer has agreed to the SEPA direct debit mandate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only discloses the post-creation lifecycle (conversion into a customer/contract). It says nothing about permissions, whether customer emails/notifications are triggered as a side effect, whether creation is idempotent, or what happens when called with an empty body (the schema requires zero parameters).

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?

Three sentences, front-loaded with the action, followed by the resource model and the lifecycle note; every sentence contributes. Slight redundancy between naming the contained fields and the schema that already enumerates them.

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

Completeness3/5

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

For a 30-parameter tool with nested objects, no annotations, and no output schema, the description should at minimum indicate which fields matter most or what a successful call returns (e.g. the new order identifier). It covers the conceptual model and the follow-up path but leaves response shape and minimal viable payload unaddressed.

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 documents all 30 parameters thoroughly, establishing a baseline of 3. The description adds only a coarse grouping map — customer information, billing/postal addresses, payment details, ordered items — which helps an agent navigate the payload but gives no format, requiredness, or default guidance 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 opens with a specific verb and resource ("Create a new order in Fakturia") and then defines the domain object: purchases made through signup pages containing customer info, addresses, payment details, and items. This is clear and disambiguating, but it never names the sibling it hands off to (e.g. create_customer_from_order / create_contract_from_order), so differentiation is only implicit.

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?

Usage context is implied — orders originate from signup pages and may subsequently be converted to a customer record and/or contract, which points at the conversion siblings. However, there is no explicit statement of when to use this versus create_customer or create_contract_from_order, and no mention of prerequisites or preconditions for order creation.

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

Deploy Server

Other Tools