Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_item_price

Modify an existing item's price entry by price UUID, including cost, currency, validity date, and quantity tier. Retrieve price UUIDs first with get_item.

Instructions

Update a specific price entry on an item. Each item can have multiple prices (e.g. different currencies or quantity tiers), each identified by a unique price UUID. Use get_item to find the price UUIDs first. Returns the updated price 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>",
      "priceUUID": "<priceUUID>",
      "cost": "<cost>",
      "currency": "<currency>"
    },
    "name": "update_item_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesThe new unit cost / price amount.
currencyYesCurrency code (ISO 4217, e.g. "EUR", "USD").
priceUUIDYesThe UUID of the specific price entry to update. Retrieve price UUIDs via get_item.
validFromNoDate from which this price is valid, in ISO 8601 format (YYYY-MM-DD).
itemNumberYesThe unique item number (SKU) of the item whose price should be updated.
minimumQuantityNoMinimum quantity required for this price tier to apply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.4/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 behavioral burden; it does disclose that this is a mutation, that a price is one of several per item, and that the updated price object is returned. It does not say whether this is a full overwrite (cost and currency are required) or whether omitted optional fields like validFrom and minimumQuantity are cleared, nor whether existing subscriptions/contracts referencing the price are affected.

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?

Four short sentences, front-loaded with the action and the identifier model, with no filler. The only mild redundancy is restating the get_item hint already present in the schema.

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 mutation tool with no annotations and no output schema, the description does well to state the return value and the identifier workflow, and the parameter schema is fully documented. It is still missing the update semantics an agent needs to act safely: partial vs. full replacement, side effects on dependent pricing, and any permission requirements.

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 all six parameters are already documented, giving a baseline of 3. The description adds conceptual value by explaining why priceUUID exists (multiple prices per item, e.g. currencies or quantity tiers), but it repeats the schema's own "retrieve price UUIDs via get_item" note and says nothing about cost/currency/quantity-tier interaction.

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 names a specific verb and resource ("Update a specific price entry on an item") and explains the multi-price model with UUID identification, which clearly separates it from price-calculation and creation siblings. It never explicitly names an alternative tool for the same job, so it stops 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?

It gives a concrete prerequisite workflow ("Use get_item to find the price UUIDs first"), which is genuinely useful before calling. However, it offers no when-to-use vs. when-not guidance against siblings such as create_subscription_item_price or update_item, and no statement that this is the tool for correcting an existing price rather than adding a new one.

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