Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

reopen_invoice

Reopens a paid or cancelled invoice in Fakturia, returning it to unpaid status and optionally skipping the debit entry.

Instructions

Reopen a previously paid or cancelled invoice in Fakturia, setting it back to unpaid status. Optionally skip creating a debit entry when reopening.

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": "reopen_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipDebitNoWhen true, skips creating a debit entry when reopening the invoice. Useful when the debit should not be recorded.
invoiceNumberYesThe unique invoice number identifying the invoice to reopen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.5/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 burden, and it does disclose the key mutation (paid/cancelled → unpaid) and a side effect (debit entry creation). It omits permission requirements, reversibility, and what happens if the invoice is in an ineligible state or already has a debit entry.

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 tight sentences; the action and its state outcome come first and the optional parameter follows. Nothing is wasted.

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?

A mutation tool with no annotations and no output schema needs the description to cover safety and failure behavior. It covers the state transition and the debit opt-out but leaves error cases, permissions, and reversibility unaddressed.

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 both parameters are already fully documented. The description's mention of optionally skipping the debit entry only restates the schema's skipDebit description, adding no new syntax or interaction detail.

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 and resource ('Reopen a ... invoice in Fakturia') plus the resulting state ('back to unpaid status'), which clearly distinguishes it from pay_invoice or cancel_invoice. It stops short of explicitly naming a sibling, but the precondition (previously paid or cancelled) makes the scope 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?

The description supplies a precondition for use — the invoice must have been previously paid or cancelled — which is real guidance. It gives no explicit when-not rule or named alternative (e.g., for invoices that are merely overdue), so the agent must infer routing.

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