Skip to main content
Glama

Buy a dataset (paid)

buy_dataset
Read-only

PAID, $0.01-$4.99 USDC by size (shown in list_datasets). Every row of a dataset in one download, e.g. dataset_id=live_crypto_top500_markets (~155 coins, Chainlink on-chain prices). Formats: json, jsonl, csv or markdown. Live feeds refresh about every 30 min. An unpaid call returns the exact x402 price.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "buy_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson
api_keyNoOptional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment'].
dataset_idYesId from list_datasets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint/openWorldHint, so the description carries the real burden and does add value: price band ($0.01-$4.99 by size), accepted payment paths, format choices, and a ~30 min refresh cadence for live feeds. It does not say whether a failed or malformed call is charged, which matters for a paid tool.

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?

Front-loads the most decision-relevant fact (it costs money, and roughly how much) in the first clause, then packs payment, scope, formats and freshness into three compact sentences. The parenthetical example is slightly ornamental but earns its place by anchoring dataset_id.

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 no output schema, the description does supply the important return shape (all rows, one download, four formats) and freshness. What is missing is failure/charge semantics for a paid call and any size/latency expectation for large datasets.

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 67% and the schema already documents api_key (prepaid key vs pass token vs x402) and dataset_id. The description mostly repeats the format enum but does add a concrete dataset_id example (~155 coins, Chainlink prices) and notes pricing scales with size, so it is marginally above the baseline, not well above it.

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?

Names a specific verb and resource plus the defining scope: "Every row of a dataset in one download," which implicitly separates it from preview_dataset/get_dataset. It never names those siblings explicitly, so the differentiation is inferred rather than stated.

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?

"An unpaid call returns the exact x402 price" is an explicit, actionable usage rule that tells the agent it can probe pricing safely before paying. It stops short of telling the agent to call list_datasets or preview_dataset first, which would have made routing unambiguous.

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.