wFirma icon

wFirma

Interact with wFirma Polish accounting software via MCP server

Analytics → Calculate Profit

AI-generated

Summary

Calculate profit for a specified period or defined by month and year parameters using the wFirma accounting software MCP server.

Inputs

  • Date From — Optional start date for the profit calculation period in YYYY-MM-DD format.
  • Date To — Optional end date for the profit calculation period in YYYY-MM-DD format.
  • Additional Fields — Optional fields to specify month (1-12) and year (e.g. 2025) used when date range is not provided.

Output shape

a single JSON object with the calculated profit data for the specified period

If the date range (Date From and Date To) is provided, it is used for the calculation; otherwise year and month parameters from Additional Fields are used if specified. The output shape depends on the MCP server response for the 'calculate_profit' tool and is returned parsed as JSON or raw text if parsing fails.

Examples

Example 1: Calculate profit for full year

Set 'Date From' to '2024-01-01' and 'Date To' to '2024-12-31'.

Example 2: Calculate profit for a specific month

Leave date range empty and set 'Year' to 2024 and 'Month' to 6 in Additional Fields.

Links

Discussion