Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as factureaza.ro. If you published it, claim ownership there.

report_invoiced_by_period

Aggregate total invoiced amounts grouped by month and currency for a date range. Returns taxable base, VAT collected, and gross total per period/currency. Defaults to issued invoices only.

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

Input Schema

NameRequiredDescriptionDefault
stateNoDocument state filter: draft, open, closed, cancelled, or the alias "issued" (= open+closed). Defaults to "issued", so draft and cancelled invoices are excluded from the figures. Pass "all" to include every state.
date_toNoEnd date inclusive (YYYY-MM-DD)
currencyNoRestrict to one currency, e.g. "RON"
group_byNoGrouping granularity: "month" (default) or "year"
date_fromNoStart date inclusive (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It usefully states that results default to issued invoices only and that the output includes taxable base, VAT collected, and gross total per period/currency, but it does not clarify read-only behavior, date-range defaults when omitted, or any other operational constraints.

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 description is three tight sentences with no wasted language. The core purpose and returned metrics are front-loaded, followed by the important default-state caveat.

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 report tool with no output schema, the description explains both the aggregation dimensions and the returned financial measures. It is nearly complete, though it leaves open what date range is used if date_from and date_to are omitted.

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?

The schema has 100% description coverage, so the parameter baseline is 3. The description adds some meaning by framing the output as grouped by month and currency, but it does not add syntax or edge-case guidance beyond what the schema already documents.

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 and resource: aggregate invoiced amounts, grouped by month and currency over a date range. It also names the returned measures, taxable base, VAT collected, and gross total, making the report's purpose distinguishable from sibling reports such as report_vat_collected or report_outstanding_balances.

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?

Usage is implied by the report name and the statement that it aggregates invoiced amounts for a date range. However, it does not explicitly say when to choose this report over sibling reports like invoices_summary or report_vat_collected, nor does it state exclusions beyond the default issued-invoice filter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources