Skip to main content
Glama

SiteCheck Crypto & Finance

DIA crypto price oracle: current USD price for one asset

crypto_dia_oracle
Read-only

DIA crypto price oracle: current USD price for one asset symbol (e.g. BTC, ETH), yesterday's price and volume, from DIA's public quotation endpoint. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "symbol": "<symbol>"
    },
    "name": "crypto_dia_oracle"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesAsset ticker, e.g. BTC, ETH, SOL

Output Schema

NameRequiredDescriptionDefault
nameNo
sourceNo
symbolNo
priceUsdNo
checkedAtNo
updatedAtNo
blockchainNo
priceYesterdayUsdNo
volumeYesterdayUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description carries the important load and does: cost of $0.002 per successful call, payment via x402 in USDC on Base, Solana and 10+ networks, and failed calls are not charged. These billing and payment preconditions materially change how an agent should invoke the tool and are not derivable from any structured field.

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?

Two sentences, front-loaded with what the tool returns and followed by the payment terms. No filler; each clause conveys either scope or a cost/payment constraint.

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?

Return values are covered by an existing output schema, and the cost/payment details are fully disclosed. What is missing for a one-param oracle in a crowded price-tool family is guidance on when to prefer DIA over sibling price feeds.

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% and the single parameter already documents 'Asset ticker, e.g. BTC, ETH, SOL'. The description repeats the same examples without adding format rules, case sensitivity, or symbol-resolution behavior, so it meets but does not exceed the baseline.

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?

States a specific verb and resource: current USD price for one asset symbol, plus yesterday's price and volume, sourced from DIA's public quotation endpoint. The DIA provenance implicitly distinguishes it from sibling price tools like crypto_binance_prices or crypto_chainlink_price_feeds, though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives among the many sibling price oracles. The only implied guidance is that it fits single-asset USD pricing with a one-day lookback, which an agent must infer.

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