Skip to main content
Glama

x402 Crypto Data API

crypto_snapshot

Crypto price snapshot — BTC/ETH/SOL/BNB/BASE spot + 24h change. [price: 0.001 USDC]

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

Input Schema

NameRequiredDescriptionDefault
payment_signatureNobase64 x402 PaymentPayload; omit to get the payment challenge

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a genuinely useful behavioral fact — the call costs 0.001 USDC, implying an x402 payment flow — but says nothing about data freshness, source/exchange, rate limits, or whether repeat calls are billed again.

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?

A single front-loaded line naming the asset set, the data returned, and the price. No filler, nothing buried.

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

Completeness3/5

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

For a one-parameter paid read tool with no output schema, the description states coverage and cost but leaves return shape (fields per asset, timestamp), refresh cadence, and the two-step payment challenge flow unstated in prose — the latter is only recoverable from the schema. Adequate but not complete.

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% and there is only one optional parameter, so the schema already explains the base64 x402 PaymentPayload and the 'omit to get the challenge' behavior. The description adds no further meaning about payment_signature, which is the expected baseline here.

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 concrete resource and scope: a spot price snapshot covering BTC/ETH/SOL/BNB/BASE plus 24h change. That is specific enough to distinguish it from the sibling tools (fear_greed, news, x402 utilities) by subject matter, though it never explicitly says so.

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 only implied — an agent infers 'call this when you want current crypto prices'. There is no explicit when-to-use/when-not guidance and no routing to alternatives such as crypto_news for narrative context. The '[price: 0.001 USDC]' tag hints this is a paid call but doesn't spell out the payment prerequisite.

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.