Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

rebill_invoice

Generate a new invoice from an existing Fakturia invoice, using the interimBilling flag to mark mid-cycle rebilling.

Instructions

Rebill an existing invoice in Fakturia. This generates a new invoice based on the original one. Use the interimBilling flag to indicate whether this is an interim billing cycle.

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": {
      "invoiceNumber": "<invoiceNumber>"
    },
    "name": "rebill_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceNumberYesThe unique invoice number identifying the invoice to rebill.
interimBillingNoWhen true, treats the rebilling as an interim (mid-cycle) billing rather than a full billing cycle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says a new invoice is generated but does not disclose permissions required, whether the original invoice is modified, whether the operation is reversible, or what the response contains—key details 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.

Conciseness5/5

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

Three short sentences, no filler, and the primary action is front-loaded. Every sentence adds some information, though the last one repeats schema content.

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 simple two-parameter mutation tool with no output schema, the description covers the basic purpose and flag. However, it omits important behavioral context such as side effects, permissions, or what happens to the original invoice.

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 restates the meaning of interimBilling ('indicate whether this is an interim billing cycle') without adding any syntax, formatting, or conditional details beyond what the schema already says.

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 states a specific verb and resource: 'Rebill an existing invoice' and that it 'generates a new invoice based on the original one.' This is clear. However, it does not distinguish from siblings like create_interim_invoice or create_invoice_report, so an agent might hesitate between them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives no explicit guidance on when to use this tool versus alternatives, nor does it state exclusions or prerequisites. It only mentions the interimBilling flag, which is parameter-level guidance rather than tool-selection guidance.

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