Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_item

Create a new product, service, or billable unit in Fakturia by providing a name and optional category; returns the created item with its assigned item number.

Instructions

Create a new item in Fakturia. An item represents a product, service, or billable unit that can be added to contracts and invoices. At minimum a name must be provided. Optionally assign the item to a category by specifying itemCategoryName. Returns the newly created item object including the assigned item number.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name of the item shown on invoices and in the UI.
unitNoUnit of measure for the item (e.g. "piece", "hour", "license", "month").
pricesNoList of prices for the item. Each price specifies a cost, currency, and optionally a validity date and minimum quantity tier.
itemNumberNoUnique item number / SKU. If not provided, one may be auto-generated.
descriptionNoPlain-text description of the item.
customFieldsNoCustom fields as key-value pairs for storing additional metadata on the item.
nameInternalNoInternal name for the item, used for internal reference only and not shown on invoices.
htmlDescriptionNoHTML-formatted description of the item, used where rich text is supported.
itemCategoryNameNoName of the item category to assign this item to. The category must already exist in Fakturia.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does usefully disclose the return payload ("Returns the newly created item object including the assigned item number") and the auto-generation behavior for item numbers, but says nothing about permissions, idempotency, duplicate-name handling, or what happens if a price currency is invalid.

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 sentences, front-loaded with the action and its domain meaning, followed by the minimum-input rule and the return value. Nothing is redundant or padded, though the itemCategoryName sentence largely duplicates the schema.

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 nine-parameter creation tool with a nested prices array and no output schema, the description covers required input, the category prerequisite, and the return shape. The main residual gap is that it does not explain how the prices array behaves (multiple tiers, default price) even though that is the most complex part of the call.

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 every one of the nine parameters is already documented in the schema, including the nested price structure. The description restates the required name and the optional itemCategoryName without adding format, defaulting, or interaction semantics beyond what the schema provides, so the baseline of 3 applies.

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 gives a specific verb and resource ("Create a new item in Fakturia") and grounds it domain-wise as "a product, service, or billable unit that can be added to contracts and invoices." It does not explicitly distinguish this from sibling tools such as create_subscription_item, so the agent must infer the plain-item vs subscription-item split from names alone.

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?

Usage is only implied through the domain definition of an item; there is no explicit statement of when to create a top-level item versus a subscription item or when to use update_item instead. The one real constraint given — that itemCategoryName "must already exist in Fakturia" — is a prerequisite rather than selection guidance.

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