Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_item

Modify an existing Fakturia billing item using PUT semantics. Include all fields to preserve, optionally reassign its category, and receive the updated item object.

Instructions

Update an existing item in Fakturia. Uses PUT semantics so omitted fields may be reset to defaults — include all fields you want to preserve. Optionally change the item category by specifying itemCategoryName. Returns the updated item object.

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

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay 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.
itemNumberYesThe unique item number (SKU) of the item to update.
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

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses destructive field-reset behavior under PUT semantics and states the return value ("the updated item object"). Missing are permission/auth requirements and whether the reset is recoverable, which would matter for an unannotated mutation tool.

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 sentences, front-loaded with the write semantics and the highest-risk warning first, then the optional category lever, then the return value. No filler and nothing repeated from 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?

Covers the two facts an agent most needs for a 9-parameter unannotated mutation: field-reset behavior and return shape. It leaves the tension between the single required parameter (itemNumber) and PUT reset semantics unresolved — whether a minimal call wipes existing fields is implied but not stated outright.

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 the schema already documents all 9 parameters in detail. The description adds meaning only for itemCategoryName (that it is optional) and implies the PUT-wide semantics of all other fields. That is genuine added value but thin relative to the schema, so a baseline-plus score is appropriate.

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 ("Update an existing item in Fakturia") and names the category-change capability, which lets an agent distinguish it from item-sibling tools like update_item_price. It stops short of explicitly differentiating itself from the broader update_* family, but the resource noun is unambiguous.

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?

Gives the single most important operational caveat: PUT semantics mean omitted fields may be reset, so callers must resend everything they want preserved. That is real usage guidance rather than mere description. It does not name alternatives (e.g. the sibling custom-field setters) or state when-not-to-use, so it falls short of a 5.

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