Skip to main content
Glama

Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres

Financial statement

financial_statement
Read-only

A balance sheet or an income statement for a period, on the scheme the country pack declares — the Belgian abbreviated model, the French liasse — or on the generic framework by account type. Each line is summed from the accounts its rules catch and the totals are derived from the lines; no country rule lives in this tool. It also returns the accounts no line catches: if that list is not empty, say so instead of presenting a statement that does not tie out. It prepares figures; it files nothing.

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": {
      "company_id": "<company_id>",
      "statement_code": "<statement_code>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "financial_statement"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
company_idYesThe company to work in. Ask list_companies if unsure.
statement_codeYesWhich scheme, from list_statements (BE-BNB-ABBR-BS, FR-2050, IFRS-SME-BS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / company_id / description
      Added value: +"The company to work in. Ask list_companies if unsure."
    • addedInput schema / properties / company_id / format
      Added value: +"uuid"
    • addedInput schema / properties / company_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedInput schema / properties / from / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / statement_code / description
      Added value: +"Which scheme, from list_statements (BE-BNB-ABBR-BS, FR-2050, IFRS-SME-BS)."
    • addedInput schema / properties / statement_code / minLength
      Added value: +1
    • addedInput schema / properties / to / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the read-only annotation, the description discloses important behavior: lines are summed from accounts caught by rules, totals are derived, no country rule lives in the tool, and uncaught accounts are returned so the caller can avoid presenting an untied statement. It also clarifies that the tool prepares figures and files nothing, which is valuable for an agent deciding what side effects to expect.

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 dense and front-loaded: it starts with the resource and period, then explains computation, the uncaught-accounts caveat, and the filing boundary. Every sentence carries relevant information, with no filler or redundant restatement of the tool name.

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?

Given the absence of an output schema, the description does a good job explaining the conceptual return (statement lines, derived totals, uncaught accounts) and the critical caveat about untied statements. It stops short of describing output shape or line-level fields, and parameter date semantics remain implicit, leaving a modest gap for a complex financial tool.

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 only 50%, with company_id and statement_code documented in the schema while from/to have no descriptions. The description adds meaning by explaining that statement_code selects a country-pack scheme or generic framework and that the statement is for a period, but it does not clarify date range semantics or compensate fully for the undocumented date parameters.

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 clearly identifies the resource as a balance sheet or income statement for a period, and specifies the scheme variants (Belgian abbreviated, French liasse, generic framework). It also states that the tool prepares figures and files nothing, but it does not explicitly differentiate itself from nearby siblings such as financial_analysis, trial_balance, or general_ledger.

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 context is implied through the scheme and period framing, and there is a useful instruction to report uncaught accounts rather than present a statement that does not tie out. However, the description does not explicitly say when to choose this tool over alternatives like financial_analysis, trial_balance, or general_ledger, nor does it name prerequisites or exclusions.

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.