Skip to main content
Glama
bcb-brazil-ptax-fx-mcp

bcb-brazil-ptax-fx-mcp

Get BCB currency PTAX rates

get_bcb_currency_ptax
Read-onlyIdempotent

Fetch official BCB PTAX BRL buy/sell rates and USD parity for any PTAX currency with bulletin and date filters to support BRL conversion and FX trend analysis.

Instructions

Fetch official BCB PTAX BRL buy/sell rates and USD parity for any PTAX currency with bulletin filtering.

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>"
    },
    "name": "get_bcb_currency_ptax"
  }
}

Input Schema

NameRequiredDescriptionDefault
bulletinNoPTAX bulletin type (default "Fechamento" for closing settlement rate).
currencyYes3-letter PTAX currency code (e.g. "EUR", "GBP", "JPY", "CHF", "CAD", "USD").
end_dateNoOptional end date in YYYY-MM-DD format.
days_backNoCalendar days to look back when dates are omitted (default 10).
start_dateNoOptional start date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, covering the safety profile. The description adds that rates are 'official BCB' and mentions bulletin filtering, but says nothing about the default lookback window, date-range interaction, or result shape. With annotations doing most of the work, this is adequate but not rich.

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?

A single dense sentence with no filler, and the core verb and resource are front-loaded. Terms like 'USD parity' and 'bulletin filtering' are somewhat jargon-heavy, which slightly reduces immediate clarity.

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

Completeness3/5

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

With five parameters and no output schema, the description does not describe return values or row structure at all, leaving the agent to infer the response. The date-window defaults are covered by the schema, but a brief note on return shape would make this complete.

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 description coverage is 100%, so every parameter is already documented with types, defaults, enums and bounds. The description only echoes 'bulletin filtering' and multi-currency support, adding little beyond the schema. Baseline 3 is appropriate.

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 uses a specific verb ('Fetch') plus a concrete resource ('official BCB PTAX BRL buy/sell rates and USD parity') scoped to 'any PTAX currency'. This distinguishes it implicitly from the USD-only sibling get_bcb_usd_ptax, though no sibling is named explicitly.

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?

The phrase 'for any PTAX currency' hints that this is the general-purpose retrieval tool versus narrower siblings, but there is no explicit when-to-use or when-not-to-use guidance. An agent must infer that convert_brl_ptax or get_bcb_ptax_spread_analysis should be preferred for their respective use cases.

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