Skip to main content
Glama

bcb_olinda

Retrieve official PTAX exchange rates for a chosen date or Focus market expectations for Brazilian indicators using Central Bank OData APIs, with no API key required.

Instructions

Query Brazilian Central Bank (BCB) Olinda OData APIs for PTAX exchange rates and Focus market expectations. Available queries:

  • ptax: Official PTAX buying and selling exchange rates for a target date (automatically walks back up to 7 days on weekends/holidays). Supports USD, EUR, GBP, JPY, CHF, CAD, AUD.

  • focus: Boletim Focus annual market expectations (IPCA, Selic, PIB Total, Câmbio, IGP-M) with optional reference year filter. No API key required.

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": {
      "consulta": "<consulta>"
    },
    "name": "bcb_olinda"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoTarget calendar date in YYYY-MM-DD format for PTAX lookup (defaults to today in São Paulo)
moedaNoCurrency code for PTAX lookup (default: 'USD')USD
consultaYesQuery type: 'ptax' for official exchange rates or 'focus' for Focus market expectations
indicadorNoMacroeconomic indicator for Focus expectations (default: 'IPCA')IPCA
ano_referenciaNoOptional reference year for Focus expectations (2020-2035)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses genuinely useful traits: automatic walkback of up to 7 days on weekends/holidays, the fixed list of supported currencies, the indicator set, and 'No API key required'. It omits rate limits and any statement about output shape or error behavior, which keeps it from 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.

Conciseness5/5

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

Front-loaded one-sentence summary followed by a two-bullet breakdown of the modes and a closing note on authentication; no sentence is filler and the structure mirrors how an agent would choose a mode.

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?

For a five-parameter query tool with no output schema, the description covers both modes, the fallback behavior, supported domains, and auth requirements. The main remaining gap is that, absent an output schema, it says nothing about the shape of the returned data.

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% and every parameter already carries a description, enum, and default, so the schema does the heavy lifting. The description restates the currency and indicator domains in prose but adds no constraints or interaction notes (e.g., which parameters are ignored depending on 'consulta').

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 and resource ('Query Brazilian Central Bank Olinda OData APIs') and enumerates the two query modes with the exact data each returns (PTAX rates, Boletim Focus expectations). It never differentiates itself from the sibling bacen_taxas, which plausibly covers similar territory, so it stops short of a 5.

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 bulleted 'Available queries' list effectively tells the agent which of the two enum values to pick and for what purpose, and the weekday walkback note clarifies real-world usage. There is no explicit when-not-to-use guidance and no routing to or away from the sibling rate/quotes tools.

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