Skip to main content
Glama

Create customer

create_customer

Creates a customer in a company and returns it with its id.

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": {
      "company_id": "<company_id>",
      "type": "<type>",
      "name": "<name>"
    },
    "name": "create_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe name of the customer as printed on documents (one line).
typeYesLEGAL for a company, NATURAL for a person.
notesNoNotes about the customer; null clears them.
vat_idNoThe VAT ID with its country prefix, e.g. DE123456789; it must be registered in the EU VIES database (checked on save); null clears it.
addressNoThe address of the customer.
contactNoThe contact data of the customer.
company_idYesThe id of the company, from list_companies.
tax_numberNoThe tax number of the customer, digits only; null clears it.
payment_termsNoThe payment terms printed on the documents of the customer; null clears them.
buyer_referenceNoThe buyer reference required by the customer on e-invoices (one line); null clears it.
electronic_addressNoThe electronic address where the customer receives e-invoices (Peppol / KSeF).
registration_numberNoThe company registration number, digits only; null clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is mostly covered. The description adds only that the created entity is returned with its id; it says nothing about duplicate handling, validation failures such as the VIES check mentioned in the schema, or required permissions.

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?

It is a single front-loaded sentence with no wasted wording, stating creation, scope, and return in immediate succession. Nothing unnecessary is included.

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?

The schema fully documents a complex 12-parameter tool, and annotations cover the mutation safety profile, so the definition is workable. However, for a create operation with 12 parameters, it omits practical context such as duplicate behavior, company prerequisites, and error conditions, leaving meaningful gaps.

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 12 parameters are already thoroughly documented in the input schema, including enums and nested fields. The description adds no parameter-level meaning beyond that baseline, which is appropriate for full schema coverage.

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 states a specific verb and resource ("Creates a customer"), its scope ("in a company"), and the return value ("returns it with its id"). It is clear against get/list/update siblings by name, but it does not explicitly differentiate itself from create_company or update_customer.

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?

There is no explicit when-to-use guidance versus update_customer, create_company, or list_customers, and no stated prerequisites such as the company needing to exist first. The phrase "in a company" implies company_id is required, but the agent must infer the workflow context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources