Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

update_subscription_item

Update an existing subscription item's quantity, item number, descriptions, type, and customer center quantity settings; only provided fields change while omitted fields remain unchanged.

Instructions

Update an existing subscription item. Allows modifying the item number, quantity, descriptions, type, and customer center quantity change settings. Only the fields provided will be updated; omitted fields remain unchanged.

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>",
      "itemNumber": "<itemNumber>",
      "quantity": "<quantity>"
    },
    "name": "update_subscription_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoThe subscription item type (e.g. recurring, one-time, usage-based).
quantityYesThe quantity of the item included in this subscription.
itemNumberYesThe item number (product/service SKU) for this subscription line item.
ccMaxQuantityNoThe maximum quantity the customer is allowed to set via the customer center.
ccMinQuantityNoThe minimum quantity the customer is allowed to set via the customer center.
contractNumberYesThe contract number that the subscription item belongs to.
ccQuantityChangeNoWhen true, the customer can change the quantity of this item via the customer center.
extraDescriptionNoAdditional plain-text description appended to the item description on invoices.
htmlExtraDescriptionNoAdditional HTML-formatted description appended to the item description on invoices. Supports rich text formatting.
subscriptionItemUUIDYesThe unique UUID identifier of the subscription item to update.

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?

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses patch semantics ("Only the fields provided will be updated; omitted fields remain unchanged"), which is real value beyond the schema. However, it says nothing about billing side effects (proration, invoice recalculation, in-flight subscription impact), required permissions, or whether quantity reductions are destructive — significant omissions for a billing mutation.

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 operation and closing with the most decision-relevant fact (partial update). The middle sentence largely re-enumerates schema fields and could be trimmed, but nothing is padded or buried.

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 10-parameter billing mutation with no annotations, no output schema, and enum-free inputs, the definition covers the update semantics but leaves out prerequisite state, permission requirements, and post-update effects. It is enough to invoke correctly at the field level but not enough to predict consequences.

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% across all 10 parameters, so the schema already defines each field including the cc* customer-center controls. The description's field list (item number, quantity, descriptions, type, customer center quantity settings) is a summary of what the schema already states and adds no formats, constraints, or interaction rules. Baseline 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 opens with a specific verb+resource ("Update an existing subscription item") and enumerates the mutable fields, so an agent knows exactly what the tool touches. It does not differentiate itself from the many sibling mutators (update_subscription, update_item, update_item_price), leaving that inference to the agent.

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 implied by "Update an existing subscription item" and reinforced by the partial-update note, which tells the agent it can submit a subset of fields without wiping others. There is no explicit when-to-use vs. when-not, no prerequisite (e.g., the item must already exist / be on a draft contract), and no pointer to the create_* or get_* siblings.

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