Skip to main content
Glama

marketscrypto__bcb_ptax_rate

Get BRL per USD PTAX rate from Banco Central do Brasil by currency code, e.g. query "USD". Official public data — free use with attribution. License: Official central bank reference rates — public data, free use with attribution.

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": {
      "query": "<query>"
    },
    "name": "marketscrypto__bcb_ptax_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/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 does disclose a real behavioral constraint: the data is official public data requiring attribution. However, it says nothing about which date or reference period the PTAX rate reflects, freshness/caching, rate limits, or what the response contains — key gaps for a rate-fetching tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The core sentence is front-loaded and efficient, but the trailing attribution/license content is duplicated almost verbatim ("free use with attribution" appears twice), wasting space without adding information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter, no-output-schema tool, the description covers the source, the pair, and the input format. Because there is no output schema, the description should ideally say what the returned rate looks like (e.g. a single latest value vs. a dated series), and it does not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

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

Schema coverage is 100%, but the schema's description of `query` is a placeholder that explicitly defers to the tool description ("see the tool description for what it expects"). The description fills that gap by specifying a currency code with the example "USD", which is genuine added meaning beyond the schema; only `limit` is left to the schema, which handles it adequately.

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 states a specific verb and resource (get the BRL-per-USD PTAX rate) plus the authoritative source (Banco Central do Brasil), which is enough to identify it among the many central-bank FX tools in the sibling list. It stops short of explicitly contrasting itself with near-neighbors like bcb_selic_rate or ecb_fx_rates, so sibling differentiation is by source name only.

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 only implied: the "e.g. query \"USD\"" example shows what input to pass, which is a useful nudge. There is no statement of when to prefer this over the other BRL/FX rate sources, no prerequisites, and no exclusions.

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.