Skip to main content
Glama

get_ptax

Official PTAX exchange rate from the Central Bank of Brazil: USD/BRL (default), EUR/BRL and other currencies, buy and sell, closing (Fechamento) and intraday bulletins, today or a past date. Price: $0.002.

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

Input Schema

NameRequiredDescriptionDefault
dateNoOptional YYYY-MM-DD (default: today, Brasilia time).
currencyNoISO 4217 code, e.g. USD (default), EUR, GBP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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; it does disclose the upstream source (Central Bank of Brazil), the two bulletin types (Fechamento vs. intraday), and even the price ($0.002), which is useful cost context. It says nothing about authentication, rate limits, or what the payload looks like.

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 dense sentence front-loads the core capability, with the nominal cost appended. It is compact with little waste, though the enumeration of features is slightly list-like rather than prioritized.

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 two-optional-parameter lookup with no output schema and no nested objects, the description covers the domain (BCB PTAX), currency scope, date range, and bulletin variants. Only the return shape is left implicit, which is minor at this complexity.

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%, so both parameters are already documented in-schema, including the USD and today defaults. The description restates those defaults and adds the currency examples (EUR) but contributes no syntax or format detail beyond the schema, so baseline 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?

The description names a specific verb ('get') and a well-defined resource (PTAX exchange rate from the Central Bank of Brazil), with concrete coverage: USD/BRL, EUR/BRL, buy/sell, closing vs. intraday. It does not explicitly differentiate itself from the sibling get_rates, so it falls 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?

It states defaults (USD/BRL, today) and that a past date is allowed, which implies when to call it, but it never says when to prefer it over get_rates or other rate-related siblings. Usage is inferable rather than guided.

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