Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_customer_from_order

Create a permanent customer record by extracting name, address, email, and payment details from an existing order. Converts signup orders into customer records for billing.

Instructions

Create a new customer record from an existing order. This takes the customer information (name, address, email, payment details, etc.) from the order and creates a corresponding customer in Fakturia. Useful for converting signup page orders into permanent customer records.

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": {
      "orderNumber": "<orderNumber>"
    },
    "name": "create_customer_from_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNumberYesThe unique order number of the order to create a customer from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavior: which fields are lifted from the order (name, address, email, payment details) into the new customer. It stays silent on consequential traits though — duplicate/existing-customer handling, whether the source order is mutated, error cases, and permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and the source, with no filler. The middle sentence slightly restates the opening claim about creating a corresponding customer, but overall it is tight.

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?

For a one-parameter tool this is nearly sufficient, but there is no output schema, so the description should say what the caller gets back (e.g. the new customer identifier) and how collisions with existing customers are resolved. Those omissions matter for a tool that creates persistent records.

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?

There is one parameter with 100% schema description coverage, so the schema already defines orderNumber fully. The description adds only that the referenced order must be 'existing', which is marginal value; baseline 3 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?

The first sentence names a specific verb-plus-resource (create a customer record) and qualifies the source (from an existing order), which is exactly what separates it from the plain create_customer sibling. An agent can tell what this 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 Guidelines3/5

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

The closing sentence gives a concrete scenario ('converting signup page orders into permanent customer records'), which implies when to reach for it. However, it never contrasts with create_customer or create_contract_from_order, and gives no preconditions such as required order state.

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