Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_crypto_prices

Spot prices for BTC, ETH, SOL, BNB and XRP ($0.002 USDC). Use when you need the current price of these majors. Not for other coins, for candles (get_historical) or for on-chain prices (get_dex_vs_cex).

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

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "Optional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, which is surprising for a price lookup — the real explanation is the x402 payment flow, and the description never mentions that calls are paid or that a first unauthenticated call is needed to obtain payment requirements. Only the schema parameter text covers this. The tick-size detail is the one behavioral addition beyond structured data.

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 returned data, then the trigger, then the exclusions. No filler, no repetition of the name or title.

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?

The description covers what is queried and what is explicitly out of scope, but with no output schema it never indicates the response shape (fields, timestamps/freshness) an agent would need to consume the result. The payment requirement, which fundamentally shapes how the tool is invoked, is entirely delegated to the schema.

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 the single parameter (payment) is fully documented in the schema, including the two-step call-sign-call flow, so the description is not required to compensate. The description adds nothing about the parameter, which is the expected baseline here.

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?

States a specific verb+resource (spot prices) and enumerates the exact asset universe (BTC, ETH, SOL, BNB, XRP), plus the quote unit and tick granularity ($0.002 USDC). An agent knows precisely what this returns without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ("Use when you need the current price of these majors") and two explicit exclusions that route to named siblings: candles go to get_historical, on-chain prices go to get_dex_vs_cex. This is exactly the when/when-not/alternative structure that prevents mis-selection.

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.