Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_subscription_item

Adds a product or service line item to an existing subscription so it bills each cycle; specify contract number, item number, and quantity, with optional type and customer-center quantity limits.

Instructions

Create a new subscription item (line item) for an existing subscription. Adds a product or service to the subscription that will be billed on each billing cycle. Requires an item number and quantity. Optionally add extra descriptions, set the item type, and configure customer center quantity change permissions.

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>",
      "itemNumber": "<itemNumber>",
      "quantity": "<quantity>"
    },
    "name": "create_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 whose subscription should receive the new item.
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.

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 that the item 'will be billed on each billing cycle,' which is real downstream-effect context, but omits permissions/auth requirements, duplicate-item handling, and what happens on failure — significant gaps for a 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the core action and billing implication, with no wasted wording. Minor redundancy in restating the item concept ('subscription item (line item)' then 'Adds a product or service to the subscription').

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 9-parameter mutation tool with no annotations and no output schema, the description covers purpose and billing behavior but leaves out return/result expectations, permission requirements, and edge-case behavior (duplicate items, invalid contract number). It is adequate but not fully complete.

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 coverage is 100%, so all nine parameters are already documented in the schema. The description groups them meaningfully (required item number and quantity; optional descriptions, item type, customer-center quantity permissions) but adds no syntax, format, or constraint detail 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?

States a specific verb+resource ('Create a new subscription item (line item)') scoped to an existing subscription, and clarifies it adds a billable product/service to the subscription. It does not explicitly differentiate itself from siblings like create_subscription_item_price or update_subscription_item, but the core action 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied: it applies only to an existing subscription and requires an item number and quantity. There is no explicit when-to-use vs. when-not guidance and no mention of alternatives such as creating a price or updating an existing item, so the agent must infer routing from the action description alone.

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