Skip to main content
Glama

Data onchain query

data_onchain_query
Read-only

One data.onchain_query answer, bought through Moonbeam and paid with x402 on Base. One call is 0.016 USDC, paid with x402 on Base.

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": {
      "token": "<token>",
      "chain": "<chain>"
    },
    "name": "data_onchain_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesBase and Arbitrum One and Robinhood Chain and Arc and Monad and Gnosis and Unichain and Solana
tokenYessend token (a token contract address) and chain (Base and Arbitrum One and Robinhood Chain and Arc and Monad and Gnosis and Unichain and Solana)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.4/5.0
Behavior3/5

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

The description adds genuinely useful behavior beyond the annotations: the call costs 0.016 USDC and payment is settled via x402 on Base. However, it repeats that payment fact twice, and stays silent on payment failure handling, rate limits, or what the returned answer looks like.

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?

Two sentences, so it is short, but the second clause of sentence one and all of sentence two say the same thing about x402 payment on Base. That duplicated clause does no work while the core purpose stays unstated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a paid, open-world query, the description carries the burden of explaining what comes back and what the cost buys. It explains only the price and payment rail, leaving the agent unable to predict the response or know when the result would be sufficient.

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 description coverage is 100%, so the schema already documents both required parameters; baseline is 3. The description adds no meaning about how 'token' and 'chain' shape the query or answer, and the schema's own descriptions are themselves garbled.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the name ("One data.onchain_query answer") rather than stating a specific verb and resource. It never says what is actually being queried or returned, so an agent cannot distinguish this from siblings like chain_read, market_price, or risk_address on the basis of the text.

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, when-not-to-use, or alternative-tool guidance. The only implicit usage signal is that a call is a single paid answer ("One call is 0.016 USDC"), which hints at one-shot consumption but gives no conditions for selecting this tool.

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