Skip to main content
Glama

Buy a dataset (paid)

buy_dataset
Read-only

PAID, $0.01-$0.09 USDC (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. Returns every row of the dataset in the requested format (json, jsonl, csv, or markdown).

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
formatNoFile format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown.json
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].
dataset_idYesDataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous 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']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Id from list_datasets."New value: +"Dataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id."
    • addedInput schema / properties / format / description
      Added value: +"File format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown."
  2. Changed3 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._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']."
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Dataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id."New value: +"Id from list_datasets."
    • removedInput schema / properties / format / description
      Removed value: -"File format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown."
  3. Changed3 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous 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']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Id from list_datasets."New value: +"Dataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id."
    • addedInput schema / properties / format / description
      Added value: +"File format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown."
  4. Changed3 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._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']."
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Dataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id."New value: +"Id from list_datasets."
    • removedInput schema / properties / format / description
      Removed value: -"File format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown."
  5. Changed3 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous 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']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / dataset_id / description
      Previous value: -"Id from list_datasets."New value: +"Dataset id from list_datasets. Format: the dataset_id string. Example: live_crypto_top500_markets. Required. The USDC price is the one list_datasets shows for that id."
    • addedInput schema / properties / format / description
      Added value: +"File format of the download. Format: one of the allowed values. Example: csv. Default: json. Allowed values: json, jsonl, csv, markdown."
  6. 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']."
  7. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds material context the annotations cannot: USDC pricing sourced from list_datasets, the x402 unpaid-call handshake, the 30-minute live-feed refresh cadence, and that the whole dataset arrives in a single download. It does not state whether payment credentials are reusable across calls or what happens on an expired pass, but the payment flow itself is well disclosed.

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?

Pricing and scope are front-loaded, which is good, but the four formats are enumerated twice ('Formats: json, jsonl, csv or markdown' and again in the return sentence) and 'every row of a dataset' is restated. Tightening away that duplication would lose nothing.

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 and a 100%-documented input schema, the description supplies what an agent still needs: cost range, where the price comes from, the unpaid-then-retry payment path, format options, and data freshness. The only gap is a few unspecified failure modes (insufficient balance, invalid key), which are minor for a single-download tool.

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%, so each of the three parameters is already documented, including the format enum and the api_key payment flow. The description only reinforces the format list and the price-lookup rule for dataset_id, adding little meaning the schema does not already carry — baseline 3.

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 states a concrete verb and resource (buy a dataset, one full download) plus price band and an example dataset_id, so the agent knows this is the paid bulk-download counterpart to the free dataset tools. It names list_datasets as the price source but does not explicitly position itself against get_dataset or preview_dataset.

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 implied rather than stated: you call this when you want every row of a dataset and are willing to pay USDC, and an unpaid call returns the x402 price. It never explicitly says when to prefer this over preview_dataset or get_dataset, so the agent must infer the boundary between paid full download and the free sibling tools.

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.