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

bcb-brazil-ptax-fx-mcp

Get BCB USD/BRL PTAX rates

get_bcb_usd_ptax
Read-onlyIdempotent

Fetch official BCB USD/BRL PTAX closing buy, sell, midpoint, and spread settlement rates for current or historical date ranges.

Instructions

Fetch latest or historical official BCB USD/BRL PTAX closing buy, sell, midpoint, and spread (bps) settlement rates.

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": "get_bcb_usd_ptax"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds genuine value beyond them by disclosing what data is returned (buy, sell, midpoint, spread in bps) and that these are official closing settlement values, which an agent cannot get from annotations or the schema. It stops short of covering publication timing or rate limits.

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 front-loaded sentence with no filler; the field enumeration and '(bps)' qualifier each carry information. It is dense but not padded, and an agent can read the scope in one pass.

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?

With no output schema, the description usefully names the returned measures, and the fully documented schema plus rich annotations cover safety and parameters. Gaps are minor: it does not state default-window behavior or whether non-business days are skipped when returning 'latest'.

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%, with start_date, end_date, and days_back fully documented including the default of 10 and the 90-day cap. The description adds only the implicit 'latest or historical' framing and no date syntax or default behavior of its own, so the baseline of 3 applies.

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 (Fetch) and a precisely scoped resource: official BCB USD/BRL PTAX closing buy, sell, midpoint, and spread rates. Naming USD/BRL explicitly separates it from the generic sibling get_bcb_currency_ptax, though no sibling is named as an alternative.

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 'latest or historical' implies the two usage modes, but there is no explicit when-to-use guidance, no exclusions, and no routing to siblings like get_bcb_ptax_spread_analysis or convert_brl_ptax. The agent must infer which tool to pick from names alone.

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