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

bcb-brazil-ptax-fx-mcp

Analyze BCB PTAX trend and spread

get_bcb_ptax_spread_analysis
Read-onlyIdempotent

Analyze BCB PTAX closing-rate trends over a lookback window, including min/max, percent change, and average bid-ask spread in basis points for a selected currency.

Instructions

Analyze closing BCB PTAX rate trends, min/max, percent change, and average bid-ask spread in bps over a lookback window.

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_ptax_spread_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNo3-letter PTAX currency code (default "USD").
days_backNoLookback window in calendar days (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds that analysis is based on closing rates and that spread is reported in basis points, which is meaningful context. It stops short of disclosing data freshness, how the lookback window is aligned, or behavior with sparse data.

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 that packs the operation and the returned metrics without filler. It is dense but every clause identifies a distinct output, so nothing is wasted.

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 carries the burden of describing return values and does so by naming the metrics computed. Defaults and bounds are handled by the schema, and the remaining gap (rate source granularity, empty-result behavior) is minor for a two-parameter read-only tool.

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%, with both currency and days_back documented including defaults and bounds, so the baseline is 3. The description's mention of a lookback window corroborates the schema but adds no syntax, format, or edge-case meaning beyond it.

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 names a specific verb and resource: analyzing closing BCB PTAX rate trends plus bid-ask spread, with the computed metrics (min/max, percent change, average spread in bps) enumerated. This distinguishes it from siblings like get_bcb_usd_ptax or convert_brl_ptax that share the same data source but different operations, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. An agent can infer this is the tool for trend/spread analytics rather than raw rate lookup, but the routing decision is left entirely to inference.

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