Skip to main content
Glama

create_abaninja_customer

Destructive

Create a customer in AbaNinja. Either a company (name required) or a person (first_name + last_name). Optional: customer_number, vat_number, currency_code, language, payment_terms, and an address (street, zip, city, country_code). Returns the created record including its uuid. Does NOT check for duplicates first — run compare_customers or get_abaninja_customer if you might already have this customer, because AbaNinja will happily store the same firm twice.

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_abaninja_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoPostal code
cityNoCity
nameNoCompany name — required for type=company.
typeNocompany (default, name required) or person (first_name + last_name)company
emailNoEmail address
phoneNoPhone number
stateNoCanton, e.g. ZH. Optional for Swiss addresses — derived from the zip when omitted.
streetNoStreet and house number
languageNoe.g. de
last_nameNoLast name
first_nameNoFirst name
vat_numberNoVAT ID number
country_codeNoe.g. CH (default CH for a 4-digit zip)
currency_codeNoe.g. CHF
payment_termsNoDays; AbaNinja accepts -1, 7, 10, 14, 15, 20, 30, 60, 90.
customer_numberNoCustomer number to assign in AbaNinja

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / city / description
      Added value: +"City"
    • addedInput schema / properties / customer_number / description
      Added value: +"Customer number to assign in AbaNinja"
    • addedInput schema / properties / email / description
      Added value: +"Email address"
    • addedInput schema / properties / first_name / description
      Added value: +"First name"
    • addedInput schema / properties / last_name / description
      Added value: +"Last name"
    • addedInput schema / properties / phone / description
      Added value: +"Phone number"
    • addedInput schema / properties / street / description
      Added value: +"Street and house number"
    • addedInput schema / properties / type / description
      Added value: +"company (default, name required) or person (first_name + last_name)"
    • addedInput schema / properties / vat_number / description
      Added value: +"VAT ID number"
    • addedInput schema / properties / zip / description
      Added value: +"Postal code"
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true. The description adds genuine value beyond that by spelling out the no-dedup behavior ("AbaNinja will happily store the same firm twice"), which concretizes idempotentHint=false, and by noting the returned uuid. It does not explain the destructiveHint=true profile, credential prerequisites, or failure behavior, so it is above baseline but not rich.

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?

Three dense sentences, front-loaded with the action and the type variants, then options, then the return value and the dedup warning. Every clause carries information; no boilerplate or restatement of the title.

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 16-parameter write tool with no output schema, the description covers the essential contract: required-by-type fields, optional extras, and the returned uuid. It does not mention that AbaNinja credentials must be configured first (a sibling exists for that) or what happens on validation failure, which are the only notable gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds real meaning by expressing the conditional requirement that the schema only states per-property: company requires name, person requires first_name + last_name. It groups optional fields (vat_number, currency_code, payment_terms, address, etc.), helping the agent see the intended shape at a glance. Format details for individual fields are left to the schema, which 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?

States a specific verb+resource ("Create a customer in AbaNinja") and immediately disambiguates the two shapes it can take (company with name, person with first_name + last_name). It also states what comes back (the created record including its uuid), so the agent knows exactly what the tool does without opening the schema.

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

Usage Guidelines4/5

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

Explicitly names the when-not case and the alternatives: run compare_customers or get_abaninja_customer first if the customer may already exist, and warns that AbaNinja will not dedupe. It does not address when to prefer this over the other customer-creation siblings (e.g. create_clockin_customer), but the guidance it does give is concrete and actionable.

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.