Skip to main content
Glama

EMpulse Street FX Index

Afghan afghani reference rate

get_integration_afghanistan

The Afghan afghani against a currency (USD, EUR, GBP and about 37 more) on the latest day your plan covers: afghani per 1 unit, units per 1 afghani, the day, the change since the previous day, the number of sources, a confidence class and a ready citation. A dependable AFN rate for apps whose rate feed has none. Free level: USD, EUR, GBP one day behind; Starter and Pro keys of AFN Reference Rates API: every currency, today.

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

Input Schema

NameRequiredDescriptionDefault
currencyYesISO 4217 code, for example EGP, NGN, ARS

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the freshness semantics ('the latest day your plan covers'), the plan-dependent currency coverage and one-day lag on the free tier, and the shape of the returned evidence including a confidence class and ready citation. It omits rate limits, failure behavior for unsupported currency codes, and any key/auth mechanics beyond naming the API, keeping it from 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.

Conciseness4/5

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

The definition is front-loaded with the core purpose and packs the return fields, the positioning sentence, and the tier matrix into two dense sentences with no filler. It is slightly overstuffed — the free-vs-paid clause reads like marketing copy — but every clause conveys actionable information.

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 single-required-parameter lookup with an output schema, the description covers purpose, plan-dependent behavior, freshness, and returned fields, which is enough for correct invocation. The remaining gaps are minor: no explicit note on what happens for an unsupported or out-of-plan currency code, and no mention of rate limits or authentication setup.

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 would be 3, but the description adds real meaning beyond the schema: the currency is the quote side of an AFN pair, roughly 40 codes are supported ('USD, EUR, GBP and about 37 more'), and which codes are available depends on the plan tier. That last point is not derivable from the schema's example list (EGP, NGN, ARS).

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+resource: the Afghan afghani reference rate against a supplied currency, and enumerates exactly what comes back (rate both directions, day, day-over-day change, source count, confidence class, citation). An agent can tell precisely what the tool produces. It stops short of 5 because it never distinguishes itself from the parallel per-country siblings such as get_integration_turkey or from get_street_rate/get_official_vs_street, so the agent must infer which rate tool to pick.

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 context is implied rather than stated: 'A dependable AFN rate for apps whose rate feed has none' plus the free-vs-paid tier split (free = USD/EUR/GBP one day behind; Starter/Pro = every currency, today) tells an agent when this tool is viable. However, there is no explicit when-to-use/when-not guidance and no named alternative for non-AFN currencies or for historical data, so the agent must reason it out.

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.