Skip to main content
Glama

EMpulse Street FX Index

Rate stack of a currency

get_rate_stack

The ladder of rates a currency has on its latest day: the central bank's official rate, the interbank rate, what banks quote (buy / sell), the customs rate duties are computed at, what international cards settle at and the street rate — each with its publication day, the number of sources and a confidence class — the gap of the street over every rung, the width of the ladder, its 7- and 30-day trend and a widening signal (none / watch / alert), with a ready citation. A rung the country does not publish on its own says which rung it equals. Free level: the official, customs and street rungs of the free currencies, one day behind. Paid keys of the FX Rate Stack: every rung, every active currency, today. banks: true adds the bank boards: the number of banks, the lowest / median / highest bank rate and the range; paid keys also get every bank's buy / sell rate and its deviation from the median.

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": {
      "currency": "<currency>"
    },
    "name": "get_rate_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the citation text (ISO 639-1 code of a site language: en, ru, es, ar, tr, uz); default English
banksNotrue adds the bank boards of the currency; default false
currencyYesISO 4217 code, for example EGP, NGN, ARS

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / banks
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "true adds the bank boards of the currency; default false",
      +  "title": "Banks"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers real behavioral context: entitlement tiers (free level covers only official, customs and street rungs of free currencies, one day behind; paid keys get every rung for every active currency today), the confidence class and source count per rung, and the widening signal states. It omits error behavior for unsupported currencies and pagination/response size, which keeps it short of a 5.

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 content is front-loaded, but the first 'sentence' is a ~120-word em-dash chain enumerating rungs, trend horizons and signals that is hard to parse in one pass. The tier and `banks` information is valuable and belongs, but the rung enumeration could be compressed or bulleted without loss.

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?

An output schema exists, so return-value detail is not required, yet the description still conveys the shape of the ladder, the entitlement/latency split and the optional bank boards. For a 3-parameter read tool this is close to complete; only failure modes for an unpublished or unsupported currency code are left unaddressed.

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 genuine meaning beyond the schema for `banks: true` — it discloses that paid keys additionally receive every bank's buy/sell rate and deviation from the median, which the schema does not say. `lang` is only indirectly covered via 'a ready citation', and `currency` gets no extra semantics, so the value added is uneven.

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 resource (the ladder of rates a currency has on its latest day) and enumerates the rungs, so an agent can tell this is the full-stack read rather than a single-rate read like the sibling get_street_rate. It never names a sibling explicitly, so differentiation is by implication 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 implied by the content: this is the tool for the complete rate ladder of one currency, with tiering context (free level vs paid keys) that helps predict what will be returned. There is no explicit when-to-use / when-not-to-use statement and no pointer to get_street_rate, get_official_vs_street or get_rate_history for narrower or historical needs.

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.