Skip to main content
Glama

brazil_markets

Brazil's official market numbers in one call, from Banco Central do Brasil: PTAX exchange rates (closing buy and sell, 1-day and 1-week change, intraday bulletin) for USD, EUR and up to 5 currencies; Selic target with its last change, effective Selic, CDI and the real rate; IPCA and IGP-M inflation (month and 12-month); Focus survey medians for IPCA, Selic, GDP and USD/BRL; and the bank-holiday calendar (business day today, next one, D+2). Costs $0.003 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
currencyNoPTAX currencies, comma-separated, up to 5: USD, EUR, GBP, JPY, CHF, CAD, AUD, DKK, NOK, SEK (default USD,EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does notable work: it discloses the authoritative source (Banco Central do Brasil), the cardinality limit (up to 5 currencies with a default of USD,EUR), and — crucially — the paid access model ("$0.003 USDC on Base via x402"), which an agent must know before invoking. It stops short of describing response shape, freshness/latency, or failure modes, 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.

Conciseness4/5

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

Front-loaded with the core purpose and source, then a tightly packed dataset list, closing with the pricing fact. It is a single long sentence, but each clause names a distinct data domain that helps an agent confirm coverage, so little is expendable; slight density cost keeps it below a 5.

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?

No output schema exists, so the description must convey what comes back — and it enumerates the returned metrics domain by domain, including derived fields (1-day/1-week change, intraday bulletin, month and 12-month inflation). For a one-parameter read tool this is close to sufficient; only the response structure and rate-limit/retry behavior are unaddressed.

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?

Only one optional parameter at 100% schema description coverage, so the schema already documents the comma-separated currency list, the allowed tickers, and the default. The description's mention of "USD, EUR and up to 5 currencies" restates rather than extends that information. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource framing ("Brazil's official market numbers in one call, from Banco Central do Brasil") and then enumerates the exact datasets returned: PTAX rates, Selic/CDI/real rate, IPCA/IGP-M, Focus medians, holiday calendar. An agent can tell instantly that this is a Brazilian macro/FX data aggregator, distinct from generic `prediction_markets` or chain-specific tools.

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?

Usage is implied by the data enumeration — an agent infers it should call this when it needs BRL FX, Selic, Brazilian inflation, or Focus survey data. However, there is no explicit when-to-use statement, no exclusions (e.g., non-Brazilian data or non-PTAX currencies), and no named alternative to prefer for narrower lookups.

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