Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

create_mrr_report

Generate an asynchronous MRR report in Fakturia to analyze recurring revenue, filter by date, currency, drafts, activities, and choose contract-level or aggregated output.

Instructions

Create a new MRR (Monthly Recurring Revenue) report in Fakturia. Generates an export analyzing recurring revenue metrics. Optionally filter by date, currency, and whether to include draft contracts or activity-based revenue. The report can be contract-based (per-contract breakdown) or aggregated. Processed asynchronously; use list_export_results or get_export_result to check status and retrieve the 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_mrr_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToNoThe reference date for the MRR calculation in YYYY-MM-DD format. MRR is calculated as of this date. If omitted, the current date is used.
currencyNoFilter by currency code (e.g. EUR, USD). Only subscriptions billed in this currency are included in the MRR calculation.
includeDraftNoWhen true, draft contracts (not yet activated) are included in the MRR calculation.
contractBasedNoWhen true, the report provides a per-contract breakdown of MRR. When false, MRR is aggregated across all contracts.
includeActivitiesNoWhen true, activity-based (usage/consumption) revenue is included in the MRR calculation in addition to subscription revenue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4/5.0
Behavior4/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, and it does disclose the most consequential trait: the job is asynchronous and must be polled/retrieved through sibling tools. It also explains what the toggles mean semantically (drafts not yet activated, usage/consumption revenue added to subscription revenue). It omits permissions, failure modes, and whether repeated calls create duplicate exports.

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?

The text is four tight sentences: purpose first, output semantics second, options third, and the async workflow last. There is no repetition of the title and no filler, and the most actionable instruction (polling) is placed at the end where an agent deciding how to follow up will find it.

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?

For a five-parameter, all-optional, no-output-schema tool, the description supplies enough to call it correctly and to know the result must be retrieved separately through get_export_result or list_export_results. The remaining gap is that no output schema exists, so nothing states what the export document contains beyond "MRR metrics" and the contract-based versus aggregated distinction.

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 every parameter is already documented in detail within the input schema, including the YYYY-MM-DD format and currency-code semantics. The description mirrors that surface (date, currency, draft contracts, contract-based, activity revenue) without adding format or interaction detail beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 uses a specific verb and resource ("Create a new MRR report") and immediately clarifies what the artifact is ("an export analyzing recurring revenue metrics"). It distinguishes this from the other create_*_report siblings only implicitly via the MRR domain, so an agent must infer that contract/customer/invoice reports are different tools, but the resource itself 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 Guidelines4/5

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

The description gives clear operational context: filtering is optional, the report can be contract-based or aggregated, and processing is asynchronous, with explicit routing to list_export_results or get_export_result to check status. It does not state when to prefer this MRR report over the neighboring contract or customer report tools, which leaves a small gap in alternative selection.

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