Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_invoice_report

Create an invoice report export in Fakturia for a chosen date range, optionally including regular invoices, corrections, or both; check export results asynchronously.

Instructions

Create a new invoice report export in Fakturia. Generates an export file containing invoice data for the specified date range. Optionally choose whether to include regular invoices, invoice corrections, or both. The report is processed asynchronously; use list_export_results or get_export_result to check the status and retrieve the generated document.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_invoice_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoEnd of the date range filter in YYYY-MM-DD format. Only invoices dated on or before this date are included.
dateFromNoStart of the date range filter in YYYY-MM-DD format. Only invoices dated on or after this date are included.
includeInvoicesNoWhen true, regular invoices are included in the report. Defaults to true if omitted.
includeInvoiceCorrectionsNoWhen true, invoice corrections (credit notes applied to invoices) are included in the report. Defaults to true if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does cover the most non-obvious trait: the report is processed asynchronously and must be polled via the named result tools. It omits permission requirements, whether the export record persists or expires, and what identifier the create call itself returns, so a mutation tool with zero annotation coverage is only partially described.

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 short sentences, front-loaded with the action and then the async follow-up path; nothing is wasted. There is minor redundancy between "Create a new invoice report export" and "Generates an export file containing invoice data," keeping it just short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description correctly compensates by pointing to list_export_results and get_export_result for retrieving the generated document. The only real gap is whether the create call returns an export identifier immediately, which the agent needs in order to poll.

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%, with each of the four parameters already documented in the schema including formats and defaults. The description's note that you can include regular invoices, corrections, or both merely restates what includeInvoices and includeInvoiceCorrections already convey, adding no syntax or edge-case meaning, so the 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 names a specific verb and resource ("Create a new invoice report export in Fakturia") and scopes it to invoice data over a date range, which distinguishes it from the contract/MRR/customer report creators by domain. It does not explicitly contrast with those sibling report tools, so differentiation is implicit from the resource name rather than stated.

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

Usage Guidelines4/5

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

It gives clear operational context: the export is asynchronous and the agent should follow up with list_export_results or get_export_result to poll status and fetch the document, which is concrete next-step guidance absent from the schema. It does not say when to prefer this over create_contract_report or create_mrr_report, leaving that inference to the resource name.

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