Skip to main content
Glama

Aigentra x402 API

fx_idr

Read-only

Indonesian Rupiah (IDR) currency conversion using official European Central Bank reference rates. Convert any amount between IDR and 30+ currencies (USD, EUR, SGD, MYR, JPY...). Returns rate, converted amount and rate date. Price $0.001 USDC per call (x402, Base).

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": "fx_idr"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 4217 target currency (default IDR)
fromNoISO 4217 source currency (default USD)
amountNoAmount to convert (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description is not needed to establish safety. It nonetheless adds genuinely useful behavior: the data source (official ECB reference rates), the return payload (rate, converted amount, rate date), and a per-call cost of $0.001 USDC via x402 on Base, which matters before invoking. It stops short of stating rate freshness or unsupported-currency error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three short sentences, front-loaded with the core capability, then the return value, then the pricing. Every sentence carries decision-relevant information and none restates the tool name or schema verbatim.

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 three-optional-parameter read-only tool with no output schema, the description covers purpose, data source, return fields, and cost — everything needed to call it. The only gaps are rate freshness/update cadence and behavior for unsupported currency codes, which are minor for 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 coverage is 100%, with each of the three parameters already documented (ISO 4217 from/to, amount, and their defaults), so the baseline is 3. The description adds only supporting context — the breadth of 30+ supported currencies and example codes — without format or validation detail beyond the schema.

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?

Names a specific verb and resource: currency conversion for Indonesian Rupiah using ECB reference rates, with explicit scope (IDR against 30+ currencies). The IDR focus and fiat/ECB sourcing clearly separate it from sibling tools such as crypto_price, so an agent can pick it without opening the schema.

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 coverage statement ('convert any amount between IDR and 30+ currencies') and by the documented defaults, but there is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative for non-IDR or crypto conversions. An agent must infer selection from the tool name and the currency scope alone.

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.