Skip to main content
Glama
AsharFinance

Ashar Exchange MCP Server

Official
by AsharFinance

Get FX Rate

ashar_get_fx_rate
Read-onlyIdempotent

Get a quick FX rate with platform markup for BRL, USDC, or USDT without creating a quote; returns base rate, client rate, and fee.

Instructions

Consult a quick FX rate (with platform markup) without creating a quote.

Args:

  • from (string): source currency ('BRL', 'USDC', or 'USDT')

  • to (string): target currency ('BRL', 'USDC', or 'USDT')

  • request_amount (number): amount in minor units

  • direction (string, optional): 'payin' (BRL -> crypto) or 'payout' (crypto -> BRL)

  • currency_type (string, optional): 'sender' or 'receiver'

Returns base_rate (BlindPay) and client_rate (after markup) plus platform_fee.

Input Schema

NameRequiredDescriptionDefault
toYesTarget currency
fromYesSource currency
directionNoOperation direction
currency_typeNoWho the rate applies to
request_amountYesAmount in minor units

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior, and the description adds meaningful confirmation ('without creating a quote' = no side effects) plus the shape of the result (base rate vs. rate after markup, plus fee) in the absence of an output schema. It doesn't disclose auth requirements, markup source (user markup vs. tenant default), or rate staleness/expiry, but it adds real value beyond the annotations.

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?

The first sentence is front-loaded and carries the whole selection rationale; the Args block is compact and mostly earns its place by decoding direction/currency_type. Some waste in repeating enum values already declared in the schema.

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 and five parameters, the description supplies the return fields (base_rate, client_rate, platform_fee) and the enum semantics an agent needs. Remaining gaps are modest: nothing on error cases for invalid currency pairs (e.g. USDC -> USDT) or whether direction is required to get a meaningful rate.

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%, so the baseline is 3, but the description adds semantics the schema lacks: 'payin (BRL -> crypto) or payout (crypto -> BRL)' explains the direction enum's meaning, and 'currency_type: who the rate applies to' clarifies an otherwise opaque field. Minor redundancy in restating the from/to enums keeps it below 5.

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 ('Consult a quick FX rate') plus the key scope qualifier '(with platform markup) without creating a quote', which separates it from the quote-creation siblings (ashar_create_payin_quote, ashar_create_payout_quote). An agent can pick this tool over those without opening either schema.

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

Usage Guidelines4/5

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

The phrase 'without creating a quote' gives a clear selection rule: use this for a preview/estimate rather than a binding quote. It stops short of naming the alternatives explicitly (create_payin_quote, get_fee_rates, get_partner_fee) or stating when this is insufficient, so it's clear context without exclusions.

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

Deploy Server

Other Tools