Skip to main content
Glama

Annual financial statements

lookup_financials
Read-onlyIdempotent

Annual financial statements for a Romanian company from Ministry of Finance filings, every fiscal year on record since 2008: revenue, profit, headcount and balance-sheet lines in RON with each year's ratios (growth, margins, equity ratio, liquidity), plus a summary (3/5/10-year CAGR, loss years, health score). If you only have a name, look the company up first to get its CUI.

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": {
      "cui": "<cui>"
    },
    "name": "lookup_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
cuiYesRomanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted.

Output Schema

NameRequiredDescriptionDefault
cuiNoThe company's CUI.
asOfNoWhat to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source.
errorNoSet only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted.
foundNoWhether any filing is on record.
totalNoNumber of fiscal years returned.
yearsNoPer fiscal year: revenue, profit, loss, netResult, employees, assets, debt, equity (RON) and that year's ratios.
sourceNoData source: onrc (registry) or mfp (Ministry of Finance filings).
messageNoA sentence for the caller.
summaryNoHistory, revenue growth (3/5/10-year CAGR), latest ratios, health score and band, flags.
attributionNoThe credit line to keep when redistributing the data (CC BY 4.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / description
      Previous value: -"Every annual filing on record for the firm, newest first (RON)."New value: +"Every annual filing on record for the company, newest first (RON)."
    • changedOutput schema / properties / cui / description
      Previous value: -"The firm's CUI."New value: +"The company's CUI."
  2. Changed2 schema fields changed
    • addedInput schema / properties / cui / description
      Added value: +"Romanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Every annual filing on record for the firm, newest first (RON).",
      +  "properties": {
      +    "asOf": {
      +      "description": "What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "attribution": {
      +      "description": "The credit line to keep when redistributing the data (CC BY 4.0).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cui": {
      +      "description": "The firm's CUI.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "found": {
      +      "description": "Whether any filing is on record.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "description": "A sentence for the caller.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "description": "Data source: onrc (registry) or mfp (Ministry of Finance filings).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "summary": {
      +      "description": "History, revenue growth (3/5/10-year CAGR), latest ratios, health score and band, flags.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Number of fiscal years returned.",
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "years": {
      +      "description": "Per fiscal year: revenue, profit, loss, netResult, employees, assets, debt, equity (RON) and that year's ratios.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real substance: the data source (Ministry of Finance), the historical coverage window since 2008, the currency (RON), and the exact content classes returned including a computed summary. That is meaningfully more than the annotations provide.

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?

Two sentences, front-loaded with what is returned and immediately followed by the one operational caveat. The long enumeration of fields is dense but each item is a distinct payload category an agent may need to reason about; nothing is redundant with the name or title.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, yet the description still summarizes the payload shape (per-year statements, ratios, multi-horizon summary). Combined with the source, coverage period, currency and CUI prerequisite, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the CUI parameter is already documented with format and the 'RO'/leading-zero tolerance, so the baseline is 3. The description earns above baseline by telling the agent how to obtain the CUI when only a name is known, which is workflow meaning the schema cannot express.

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?

States a specific verb+resource with unusual precision: annual financial statements for a Romanian company sourced from Ministry of Finance filings, covering every fiscal year since 2008, in RON. The one gap is that it does not explicitly separate itself from the sibling lookup_financial_ratios, which it partially overlaps with since it also returns ratios.

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?

Gives a concrete prerequisite: if you only have a company name, look it up first to obtain the CUI. That is exactly the failure mode an agent hits with this schema. It stops short of stating when to choose this over lookup_financial_ratios or lookup_business, so no exclusions are offered.

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