Skip to main content
Glama

BRAINIAC Exchange Rates

Brazil PTAX FX rate

fx_ptax
Read-onlyIdempotent

Official Central Bank of Brazil PTAX buy and sell quotes for USD or another listed PTAX currency, by date or the latest published bulletin. Docs: https://www.brainiac.software/api/fx/ptax Keywords: PTAX, USD/BRL, Brazil FX, BCB, Olinda, cotacao compra, cotacao venda, official rate, Brazilian Real.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fx_ptax"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNocurrency, string, length 3 to 3. Optional.
quoteDateNoquoteDate, string. Optional.
currenciesNocurrencies, array. Optional.

Output Schema

NameRequiredDescriptionDefault
buyNobuy. String.
asOfNoasOf. String.
sellNosell. String.
quotesNoquotes. Array.
sourceNosource. String.
statusNostatus. String.
currencyNocurrency. String.
quotedAtNoquotedAt. String.
quoteDateNoquoteDate. String.
sourceUrlNosourceUrl. String.
currenciesNocurrencies. Array.
missing_itemsNomissing_items. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / currencies / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds genuine behavior beyond that: the response contains both buy (compra) and sell (venda) quotes, and omitting a date falls back to the latest published bulletin. It does not mention auth, rate limits, or bulletin publication timing, which keeps it below a 5.

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?

The core sentence is front-loaded and dense with no wasted wording. The trailing keyword block ("PTAX, USD/BRL, Brazil FX, BCB, Olinda, cotacao compra...") is search-oriented padding that dilutes rather than informs, which is the main deduction.

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 described; the description still usefully flags that both buy and sell quotes come back. Combined with the annotations covering safety and the fully documented schema, 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.

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description adds a meaningful constraint that the currency field accepts "USD or another listed PTAX currency", signaling a closed set, but it does not point to fx_currencies_list to discover that set, and it says nothing about how currency and currencies interact.

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 resource and source ("Official Central Bank of Brazil PTAX buy and sell quotes") plus the retrieval modes ("by date or the latest published bulletin"). It is distinguishable from generic siblings like fx_rates_latest because it names the PTAX/BCB source, but it never explicitly contrasts itself with them.

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 "by date or the latest published bulletin" implies two usage modes (historical lookup vs. current value), which is useful context. However, there is no explicit when-to-use/when-not guidance and no pointer to fx_rates_latest or fx_rates_historical for non-BRL or non-official rates.

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