Skip to main content
Glama

create_abaninja_quote

Destructive

Create a quote (Offerte) in AbaNinja as a DRAFT. It is not sent. Requires customer_uuid and at least one position (title + single_price). The total is computed by AbaNinja via /calculate and submitted as returned — no VAT arithmetic happens in this tool.

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": {
      "customer_uuid": "<customer_uuid>",
      "positions": "<positions>"
    },
    "name": "create_abaninja_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoquoteDate, YYYY-MM-DD. Defaults to today.
titleNoTitle of the AbaNinja quote
currencyNoCurrency code (ISO 4217, e.g. EUR)CHF
positionsYesLine items. Each needs title and single_price; quantity defaults to 1.
referenceNoReference text of the quote
person_uuidNoFor a company: the contact person inside it. For a private person: that person, if it differs from customer_uuid.
second_dateNovalidUntilDate, YYYY-MM-DD.
address_uuidNoOverrides the customer's primary address, e.g. for a second location.
public_notesNoNotes printed on the quote
customer_uuidYesAbaNinja customer uuid from get_abaninja_customer — a company OR a private person. Which of the two it is is looked up, not asked, and so is the customer's address: AbaNinja requires an address uuid next to the customer uuid.
customer_numberNoOnly used as a fallback when no address can be found for the customer — AbaNinja then accepts the customer number on its own.
prices_include_vatNoWhether position prices include VAT (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / currency / description
      Added value: +"Currency code (ISO 4217, e.g. EUR)"
    • addedInput schema / properties / positions / items / properties / description / description
      Added value: +"Description of the line item; for product positions replaces title and text"
    • addedInput schema / properties / positions / items / properties / product_number / description
      Added value: +"AbaNinja product number (alternative to product_uuid)"
    • addedInput schema / properties / positions / items / properties / product_uuid / description
      Added value: +"AbaNinja uuid of a product for a product position"
    • addedInput schema / properties / positions / items / properties / quantity / description
      Added value: +"Quantity"
    • addedInput schema / properties / positions / items / properties / single_price / description
      Added value: +"Unit price (required)"
    • addedInput schema / properties / positions / items / properties / text / description
      Added value: +"Additional text of the line item"
    • addedInput schema / properties / positions / items / properties / title / description
      Added value: +"Title of the line item (required)"
    • addedInput schema / properties / positions / items / properties / unit_code / description
      Added value: +"Unit code of the quantity"
    • addedInput schema / properties / positions / items / properties / vat_uuid / description
      Added value: +"AbaNinja uuid of the VAT rate to apply"
    • addedInput schema / properties / prices_include_vat / description
      Added value: +"Whether position prices include VAT (default false)"
    • addedInput schema / properties / public_notes / description
      Added value: +"Notes printed on the quote"
    • addedInput schema / properties / reference / description
      Added value: +"Reference text of the quote"
    • addedInput schema / properties / title / description
      Added value: +"Title of the AbaNinja quote"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=false. The description adds genuinely useful behavior beyond that: the record is created as a draft and never sent, and the total is computed by AbaNinja via /calculate with no VAT arithmetic performed locally. It omits the duplication risk implied by idempotentHint=false and says nothing about what the call returns or how to progress the draft, so it earns a 3 rather than higher.

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 short sentences, front-loaded with the action and the state, then requirements, then the pricing caveat. No filler and nothing repeated unnecessarily; the draft status and the no-VAT-arithmetic rule are each stated exactly once.

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 12-parameter write tool with no output schema, the description covers the essentials an agent needs: default draft state, minimum required inputs, and how totals and VAT are handled. It is slightly thin on the post-create step (the draft presumably needs update_abaninja_quote or a send action) and on failure modes, which keeps it below a 5.

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% and every parameter already carries its own description, so the baseline is 3. The description only restates the required pair (customer_uuid, positions with title and single_price) and explains total calculation rather than clarifying individual optional parameters such as person_uuid, address_uuid, customer_number fallback, or prices_include_vat 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?

States a specific verb and resource ('Create a quote (Offerte) in AbaNinja') and pins down the resulting state ('as a DRAFT. It is not sent.'), which separates it from any send/finalize action. It does not name the nearest siblings (update_abaninja_quote, create_abaninja_invoice) to make the boundary explicit, so it falls short of a 5.

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 draft/not-sent framing implies when this is appropriate, and the required customer_uuid plus at least one position implies prerequisites. However, it never says when to prefer this over update_abaninja_quote or create_abaninja_invoice, nor whether a draft must be finalized afterward. Usage is inferable but not stated.

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.