Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_subscription_item_price

Creates a custom price for a subscription item, overriding the default catalog price with a specified cost and currency, plus optional validity date and quantity threshold.

Instructions

Create a custom price for a subscription item. Custom prices override the default catalog price for this specific subscription line item. Specify the cost and currency, and optionally set a validity start date and a minimum quantity threshold for tiered pricing.

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": {
      "contractNumber": "<contractNumber>",
      "subscriptionItemUUID": "<subscriptionItemUUID>",
      "cost": "<cost>",
      "currency": "<currency>"
    },
    "name": "create_subscription_item_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesThe custom unit price (cost) for this subscription item.
currencyYesThe currency code for this custom price (e.g. EUR, USD, CHF).
validFromNoThe date from which this custom price is valid in YYYY-MM-DD format. If omitted, the price is valid immediately.
contractNumberYesThe contract number that the subscription item belongs to.
minimumQuantityNoThe minimum quantity threshold for this price tier. When set, this price only applies when the billed quantity meets or exceeds this value.
subscriptionItemUUIDYesThe unique UUID identifier of the subscription item to add a custom price to.

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 usefully discloses the override effect on the line item and the validFrom default ('valid immediately'), but says nothing about required permissions, what happens if a custom price already exists for the item, whether the change affects future invoices, or what the call returns.

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 with the core action stated first and supporting detail after; nothing is padded. The second sentence partially restates the first ('custom price ... override') but adds the important override context, so waste is minimal.

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 six-parameter mutation tool with no annotations and no output schema, the description covers the concept and two optional parameters but leaves conflict handling, permissions, and post-call state undocumented. It is adequate to attempt the call but not to predict its side effects.

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 baseline is 3. The description adds tiered-pricing framing for minimumQuantity and the validFrom behavior, but does not mention contractNumber or subscriptionItemUUID, so it adds only marginal meaning 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?

The description gives a specific verb and resource ('Create a custom price for a subscription item') and clarifies that the price is scoped to a single line item rather than the catalog. It does not name the nearby alternatives (update_item_price, calculate_subscription_item_price), so the agent must infer the distinction from sibling 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?

The override semantics ('custom prices override the default catalog price') imply when this tool is appropriate instead of a catalog price, but there is no explicit when-to-use or when-not-to-use guidance versus update_item_price or calculate_subscription_item_price. The agent must infer whether this creates a new price or replaces an existing custom price.

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