Skip to main content
Glama
Forever Works MCP servers

Forever Works MCP servers

BNR annual average

annual_average
Read-onlyIdempotent

Computes BNR's annual average exchange rate for a currency and year for ANAF D212 foreign-income conversion from twelve monthly averages, marking incomplete years with complete: false.

Instructions

BNR's annual average rate for a year, as ANAF converts foreign income in the D212 ("cursul de schimb mediu anual comunicat de BNR"): the mean of the twelve monthly averages, each the mean of the month's daily rates, to four places, with the monthly values and their day counts. Not the mean of the daily rates, which differs. A year not over yet answers the months so far with complete: false.

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": {
      "currency": "<currency>",
      "year": "<year>"
    },
    "name": "annual_average"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesThe calendar year, e.g. 2023.
currencyYesISO 4217 code: EUR, USD, GBP, CHF, ... (XAU gold, XDR SDR); case ignored.

Output Schema

NameRequiredDescriptionDefault
okYes
noteNo
yearYes
methodYes
monthsYes
sourceYes
averageYesBNR's exact text, RON per `multiplier` units
warningNo
completeYes
currencyYes
multiplierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description still adds substantial behavior the annotations cannot: the exact aggregation method, four-decimal precision, the return shape (monthly values with their day counts), and the partial-year case answering with complete: false. The only gap is that it doesn't mention error behavior for unsupported currency/year combinations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is dense but front-loaded: the resource, the intended use, the formula, and the partial-year caveat all arrive in order with no filler. The single long sentence with a parenthetical citation is slightly harder to parse than a short multi-sentence layout would be.

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?

With an output schema present, the description need not explain return values, yet it still signals the monthly breakdown and complete flag. Method, precision, domain purpose, and partial-year semantics are all covered, so an agent can call this correctly without further inference.

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 100%, so both parameters are already documented, and the baseline is 3. The description adds meaning about the year parameter's behavior (an incomplete year returns months so far with complete: false) but says nothing about currency beyond what the schema already states.

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 names a precise resource and computation: BNR's annual average rate for a year as ANAF uses it in the D212, with an explicit formula (mean of twelve monthly averages, each the mean of daily rates, four places). That is far more specific than the title 'BNR annual average'. It does not, however, explicitly route the agent away from sibling tools like rate/rates, leaving the day-level-versus-annual distinction to be inferred from the name.

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?

It supplies clear usage context by tying the tool to ANAF's D212 foreign-income conversion and by warning that it is 'Not the mean of the daily rates, which differs' — a real disambiguation trap. It gives no explicit when-not conditions or named alternative tools, so it falls short of the 5 bar.

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