Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_customer

Update an existing Fakturia customer's details, changing only the fields you provide. Include all fields to preserve, since omitted fields may reset to defaults.

Instructions

Update an existing customer in Fakturia. Only the fields provided will be changed; all fields are optional. Uses PUT semantics so omitted fields may be reset to defaults — include all fields you want to preserve.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "customerNumber": "<customerNumber>"
    },
    "name": "update_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoPrimary email address of the customer. Used for invoice delivery and communications.
localeNoLocale for the customer (e.g. "de_DE", "en_US"). Controls language of invoices and communications.
mobileNoMobile phone number.
phone1NoPrimary phone number.
phone2NoSecondary phone number.
dueUnitNoPayment due period unit (e.g. "days", "months").
euTaxIdNoEU VAT identification number (e.g. "DE123456789").
telefaxNoFax number.
lastNameNoLast name of the customer.
noteTextNoInternal note or comment about the customer. Not visible to the customer.
birthdateNoDate of birth in ISO 8601 format (YYYY-MM-DD).
duePeriodNoPayment due period value (combined with dueUnit, e.g. 14 days).
firstNameNoFirst name of the customer.
taxNumberNoTax number (national tax ID).
taxRegionNoTax region for the customer (determines tax rates applied).
salutationNoSalutation / title (e.g. "Herr", "Frau", "Mr.", "Ms.").
websiteUriNoWebsite URL of the customer.
companyNameNoCompany name, if the customer is a business.
orderNumberNoCustomer-side order or reference number to include on invoices.
customFieldsNoCustom fields as key-value pairs for storing additional metadata on the customer.
emailInvoiceNoWhether invoices should be sent via email.
paymentMethodNoDefault payment method for the customer (e.g. "invoice", "sepa_debit").
postalAddressNoPostal / mailing address of the customer.
bankAccountBicNoBIC / SWIFT code of the customer bank account.
billingAddressNoBilling address of the customer. If not set, the postal address is used for billing.
customerNumberYesThe unique customer number of the customer to update.
bankAccountIbanNoIBAN of the customer bank account.
dunningDisabledNoWhether dunning (payment reminder) processing is disabled for this customer.
bankAccountOwnerNoName of the bank account owner.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers the most important fact: omitted fields may be reset to defaults under PUT semantics, which is a destructive side effect an agent must know. It stops short of covering permissions, error behavior, or what the call returns.

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?

Two short sentences, zero filler, with the highest-risk fact (omitted fields reset) placed where it will be read. Nothing could be cut without losing signal.

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 29-parameter mutation with no annotations and no output schema, the description surfaces the one behavior that could cause data loss and states the optionality rule. It leaves gaps around return values and routing to the custom-field-specific siblings, but covers what matters most for correct invocation.

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 all 29 parameters are already documented at field level, including nested address objects. The description adds only the general rule that all fields are optional, which is baseline-appropriate but not supplementary.

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?

"Update an existing customer in Fakturia" states a specific verb and resource with clear scope. It does not distinguish itself from siblings such as patch_customer_custom_fields or set_customer_custom_fields, so the agent must infer that this is the general-purpose field updater.

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 gives practical guidance on how to call it (include all fields you want to preserve) but names no alternatives and gives no conditions for choosing this over patch_customer_custom_fields, set_customer_custom_fields, or update_customer_sepa_mandate. Usage context is implied rather than explicit.

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