Skip to main content
Glama

Official FX reference rates

get_finance_data
Read-onlyIdempotent

Use this when an agent needs official daily FX reference rates (ECB and Bank of Canada), with a Data BitScore. kind="intuitive" (the default) is one pair (default EURUSD); kind="stats" is the multi-currency table and optional remittance conversion; kind="pro" adds history; kind="signals" is notable FX moves plus official policy-rate context. Reference rates, not live tradable quotes. Informational only, not a buy, sell or hold. Example: get_finance_data(kind="stats"). Returns JSON in the data field with source attribution. Read-only; the only side effect is the payment you choose to make. Kinds and prices:

  • kind="intuitive": 10 sats or $0.01 USDC. Use this when an agent needs the latest official daily FX reference rate for one currency pair (default EURUSD; set pair=USDMXN for a remittance corridor) and a reserved gold/silver slot. These are official dailies, not live tradable quotes and not a send-money quote. MCP: get_finance_data(kind="intuitive", pair="USDMXN").

  • kind="stats": 50 sats or $0.05 USDC. Use this when an agent needs a multi-currency official FX table, cross rates and a remittance-corridor conversion (optional amount, from, to). Official dailies from the ECB and the Bank of Canada, not live tradable or send-money quotes. MCP: get_finance_data(kind="stats", amount=100, from="USD", to="MXN"). Informational only, not investment advice.

  • kind="pro": 100 sats or $0.10 USDC. Use this when an agent needs official FX history and changes, and optionally SEC EDGAR fundamentals and filings for one US ticker (?symbol=AAPL). History covers about 30 days (days=7 to 90). MCP: get_finance_data(kind="pro", pair="EURUSD", symbol="AAPL"). Not endorsed by the SEC, the ECB or the Bank of Canada. Informational only, not investment advice.

  • kind="signals": 200 sats or $0.20 USDC. Use this when an agent needs notable official FX-rate moves and ECB/BoC divergence, plus a Fed vs ECB vs Bank of Canada policy-rate comparison, the Treasury yield-curve shift versus recent history, and inversion state, with a BitScore for freshness and source agreement. Official-source speed, not a news wire. Not endorsed by the Federal Reserve, the U.S. Payment: Pay by calling without a credential, paying the Lightning invoice or the USDC amount, then retrying with l402_credential=':' or x402_payment. One payment buys one response. Details: https://api.bittuitive.ai/pay. Informational only; not financial, investment, legal or tax advice; provided as-is, with no warranty; verify before acting. https://api.bittuitive.ai/disclaimer.

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": {
      "kind": "<kind>"
    },
    "name": "get_finance_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoParameter to.
daysNoParameter days.
fromNoParameter from.
kindYesProduct to fetch. Every kind, its price and when to use it are listed in the tool description.
pairNoParameter pair.
amountNoParameter amount.
symbolNoParameter symbol.
credit_tokenNoPrepaid token (btf_..., from buy_credits). Pays this call from your prepaid sats or USDC balance with no invoice; a failed call is refunded. Balance is non-refundable.
x402_paymentNox402 payment (USDC on Base): base64 PaymentPayload signed for accepts[0] of the payment_required result. Alternative to l402_credential; also accepted in params._meta['x402/payment'].
l402_credentialNoL402 credential '<macaroon>:<preimage_hex>' from a paid invoice (or an active subscription). Omit it on the first call to receive the Lightning invoice and macaroon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, yet the description still adds real behavior: the payment side effect ('the only side effect is the payment'), one payment per response, and the credential-retry flow with l402_credential. It also discloses data provenance (ECB, BoC, SEC EDGAR) and limits like ~30 days of history. The only gap is return-shape detail beyond 'JSON in the `data` field', which is acceptable given no output schema.

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 is well front-loaded with a summary sentence, a per-kind breakdown, then payment mechanics. However the 'informational only / not investment advice' disclaimer is repeated four times, the text ends mid-sentence ('Not endorsed by the Federal Reserve, the U.S.'), and pricing is restated in both the preamble and the kind list — real waste in a long description.

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

Completeness5/5

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

For a 10-parameter, four-mode paid endpoint with no output schema, the description covers mode selection, pricing, payment and retry, provenance, and return container. An agent has everything needed to choose a kind and complete the payment handshake.

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 several schema entries are placeholders ('Parameter pair.', 'Parameter days.'), so the description carries the real meaning: pair defaults to EURUSD, days ranges 7–90, amount/from/to drive remittance conversion, symbol takes a US ticker. Kinds and prices are fully mapped. It stops short of format rules for from/to beyond examples.

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?

States a specific verb and resource — official daily FX reference rates from ECB and Bank of Canada — and enumerates the four product kinds with their scopes. It also distinguishes itself from adjacent categories ('not live tradable quotes', 'not a send-money quote'), so an agent can tell what it is and is not.

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

Usage Guidelines5/5

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

Each kind carries an explicit 'use this when' clause plus a concrete invocation example (e.g. get_finance_data(kind="stats", amount=100, from="USD", to="MXN")), and the default for kind is stated. The guidance covers when each variant applies and what it excludes.

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