Skip to main content
Glama
Unofficial Lexware Office MCP Server

Unofficial Lexware Office MCP Server

create_contact

Adds a new customer or vendor contact to Lexware Office and returns its ID and version; read the contact back to see the assigned customer or vendor number.

Instructions

Create a new customer or vendor in the account.

Writes real accounting data, and the API cannot take it back: there is no call that deletes a contact, though the web app does. Confirm the organization with get_profile first, and search the name with search_contacts: Lexware allows a second contact with the same name, and later documents then attach to either at random. One API call.

Returns the id and version, not the record. Lexware assigns the customer and vendor numbers, so read the contact back to see them.

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": {
      "kind": "<kind>",
      "name": "<name>",
      "roles": "<roles>"
    },
    "name": "create_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhether this contact is a company or a private person. A contact is one or the other and cannot be changed from one into the other afterwards.
nameYesThe company name, or for a person the last name. Give the first name separately.
noteNoFree-text note on the contact, at most 1000 characters.
emailNoOne email address. On an update it replaces the ones the contact has rather than adding another.
phoneNoOne phone number. As with the email address, this replaces rather than adds.
rolesYesWhat this contact is to the account: a customer, a vendor, or both. At least one is required. On an update this replaces the roles the contact has, so pass both to keep both.
first_nameNoFirst name. Persons only.
salutationNoSalutation such as 'Frau' or 'Herr'. Persons only.
tax_numberNoNational tax number. Companies only.
billing_addressNoThe billing address. A contact has at most one.
shipping_addressNoThe shipping address. A contact has at most one.
vat_registration_idNoVAT registration id, for example 'DE123456789'. Companies only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed44 schema fields changedv0.11.0
    • changedInput schema / $defs / Address / description
      Previous value: -"One postal address.\n\nA contact holds at most one billing and one shipping address, which the\nAPI enforces: a second entry is refused with\n``addresses.billing.size: invalid_value``. Verified 2026-08-20."New value: +"One postal address."
    • removedInput schema / $defs / Address / properties / city / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / $defs / Address / properties / city / title
      Removed value: -"City"
    • addedInput schema / $defs / Address / properties / city / type
      Added value: +"string"
    • removedInput schema / $defs / Address / properties / country_code / title
      Removed value: -"Country Code"
    • removedInput schema / $defs / Address / properties / street / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / $defs / Address / properties / street / title
      Removed value: -"Street"
    • addedInput schema / $defs / Address / properties / street / type
      Added value: +"string"
    • removedInput schema / $defs / Address / properties / supplement / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / $defs / Address / properties / supplement / title
      Removed value: -"Supplement"
    • addedInput schema / $defs / Address / properties / supplement / type
      Added value: +"string"
    • removedInput schema / $defs / Address / properties / zip / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / $defs / Address / properties / zip / title
      Removed value: -"Zip"
    • addedInput schema / $defs / Address / properties / zip / type
      Added value: +"string"
    • removedInput schema / $defs / Address / title
      Removed value: -"Address"
    • addedInput schema / properties / billing_address / $ref
      Added value: +"#/$defs/Address"
    • removedInput schema / properties / billing_address / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/Address"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / email / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / email / title
      Removed value: -"Email"
    • addedInput schema / properties / email / type
      Added value: +"string"
    • removedInput schema / properties / first_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / first_name / title
      Removed value: -"First Name"
    • addedInput schema / properties / first_name / type
      Added value: +"string"
    • removedInput schema / properties / kind / title
      Removed value: -"Kind"
    • removedInput schema / properties / name / title
      Removed value: -"Name"
    • removedInput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / note / title
      Removed value: -"Note"
    • addedInput schema / properties / note / type
      Added value: +"string"
    • removedInput schema / properties / phone / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / phone / title
      Removed value: -"Phone"
    • addedInput schema / properties / phone / type
      Added value: +"string"
    • removedInput schema / properties / roles / title
      Removed value: -"Roles"
    • removedInput schema / properties / salutation / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / salutation / title
      Removed value: -"Salutation"
    • addedInput schema / properties / salutation / type
      Added value: +"string"
    • addedInput schema / properties / shipping_address / $ref
      Added value: +"#/$defs/Address"
    • removedInput schema / properties / shipping_address / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/Address"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / tax_number / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / tax_number / title
      Removed value: -"Tax Number"
    • addedInput schema / properties / tax_number / type
      Added value: +"string"
    • removedInput schema / properties / vat_registration_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / vat_registration_id / title
      Removed value: -"Vat Registration Id"
    • addedInput schema / properties / vat_registration_id / type
      Added value: +"string"
    • removedInput schema / title
      Removed value: -"create_contactArguments"
  2. Addedv0.8.4

TDQS

A4.5/5.0
Behavior4/5

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

Goes well past the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false) by disclosing that the write is effectively irreversible through the API because no contact-delete call exists, plus that only id and version are returned and that Lexware assigns customer/vendor numbers requiring a read-back. It does not contradict the annotations — nothing is being destroyed — but it does warn that the non-destructive-hint write cannot be undone, which is exactly the kind of context the description should carry. A small gap remains: it doesn't mention error behavior or rate limits.

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 irreversibility warning is front-loaded in the second sentence, every subsequent sentence adds new decision-relevant information (prerequisite tools, return shape, number assignment), and there is no filler; even the short 'One API call' clause sets an effort expectation.

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

Completeness5/5

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

For a 12-parameter mutation with no output schema, the description covers the two things structured fields cannot: that the operation is un-undoable via the API and that the return value is only id and version rather than the record, directing the agent to read back for the assigned numbers. Nothing needed to call it correctly is missing.

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%, with per-field notes on kind immutability, role replacement semantics, and address requirements, so the schema does the heavy lifting. The description adds no field-level detail beyond the schema (nothing about kind, roles, or the person/company field split), so the baseline 3 applies.

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?

States a precise verb and resource ('Create a new customer or vendor in the account') and immediately scopes it to the accounting-contact domain, so an agent can distinguish it from create_article, create_voucher, or update_contact without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions and names the exact siblings to call first: get_profile to confirm the organization and search_contacts to check for a duplicate name, with the consequence ('later documents then attach to either at random') spelled out. That is when-to-use and when-not guidance an agent can act on directly.

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