Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

Malaysian ringgit exchange rates + OPR (Bank Negara Malaysia data) ($0.0021/call)

myr_rates
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Bank Negara Malaysia exchange rates against the ringgit (buying, selling, middle; MYR per unit) for one currency or ALL, plus the current Overnight Policy Rate. Source: Bank Negara Malaysia; data subject to the Terms of Use for BNM Datasets; not endorsed by BNM. Cached 15 min. ~0.5-2 s.

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

Input Schema

NameRequiredDescriptionDefault
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
currencyYes3-letter currency code to price in ringgit, e.g. USD, SGD or EUR, or ALL for every currency BNM publishes

Output Schema

NameRequiredDescriptionDefault
baseNo
toolNo
cacheNo
ratesNo
_trialNoPresent when the call was a free trial call.
sessionNo
currencyNo
providerNo
price_usdNo
attributionNo
overnight_policy_rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed1 schema field changed
    • changedInput schema / properties / currency / description
      Previous value: -"3-letter currency code (e.g. USD, SGD, EUR) or ALL"New value: +"3-letter currency code to price in ringgit, e.g. USD, SGD or EUR, or ALL for every currency BNM publishes"
  3. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "rates",
      +        "attribution"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "base": {
      +      "type": "string"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "currency": {
      +      "type": "string"
      +    },
      +    "overnight_policy_rate": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "rates": {
      +      "items": {
      +        "properties": {
      +          "buying": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "middle": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "myr_per_1": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "myr_per_1_basis": {
      +            "type": "string"
      +          },
      +          "selling": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "unit": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "session": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses cache staleness (15 min), expected latency (~0.5-2 s), the external data source and licensing caveat ('not endorsed by BNM'), and the per-call price. These are exactly the operational facts an agent needs before committing a paid call.

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?

Pricing and the core capability are front-loaded, and most sentences carry real information. The price is stated twice (title and opening sentence), and the licensing disclaimer, while relevant, competes for attention with the core data description.

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 an output schema present, return-value details needn't be restated, and the description covers source, caching, latency, and cost. It is slightly incomplete on edge behavior such as what happens for an invalid currency code or whether OPR is always included alongside rates.

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%, so both parameters are already documented, including examples and the ALL sentinel. The description's phrase 'MYR per unit' adds useful orientation on how returned values should be read, but it adds little about the parameters themselves beyond the schema–baseline 3 applies.

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?

The description states a specific resource (Bank Negara Malaysia exchange rates against MYR, with buying/selling/middle quotes) plus a second data point (the Overnight Policy Rate), names the source, and scopes it as 'one currency or ALL'. An agent can tell exactly what data comes back 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 Guidelines4/5

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

It routes the agent to an alternative path for a free call ('add "trial": true or use try_free'), which is useful when-to guidance across siblings. It does not say when NOT to use this tool (e.g. non-MYR conversions or historical rates), so it stops short of full when/when-not coverage.

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