Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_interim_invoice

Create an interim invoice or credit note for a contract, triggering an off-cycle billing run that generates documents for the current period.

Instructions

Create an interim invoice and/or credit note for a contract. This triggers an off-cycle billing run for the contract, generating invoices and/or credit notes for the current period.

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>"
    },
    "name": "create_interim_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNumberYesThe unique contract number to create an interim invoice for.
includeInvoicesNoWhether to include invoices in the interim billing.
includeCreditNotesNoWhether to include credit notes in the interim billing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the call triggers an off-cycle billing run and generates invoices and/or credit notes for the current period, but it omits permissions, reversibility, idempotency, error conditions, and what happens if the run already exists.

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?

Two sentences, front-loaded and free of filler. The second sentence efficiently explains the key side effect of the call.

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 definition covers purpose and the key billing side effect. It still leaves out operational caveats, permission requirements, response handling, and sibling-tool guidance that would help an agent invoke it confidently.

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 three parameters. The description's 'and/or' wording loosely reflects the includeInvoices and includeCreditNotes toggles, but it adds no format, default, or conditional semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (Create), resource (interim invoice and/or credit note for a contract), and scope (off-cycle billing run for the current period). This is specific enough to distinguish it from regular invoice creation and other invoice-related siblings.

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 implies usage for interim or off-cycle billing on a contract, but gives no explicit when-to-use, when-not-to-use, or alternative guidance such as when to use rebill_invoice or another invoice tool instead.

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