Skip to main content
Glama

X402 market summary

x402_market_summary
Read-onlyIdempotent

The x402 paid-API economy in one call: measured daily spend across the top Bazaar sellers on Base, split into organic, likely wash and known samplers/graders, with 7-day totals, the top categories by spend and the top buyer wallets (addresses, labeled when known). Measured from USDC transfers of $5 or less into each seller's payTo on Base, one UTC day at a time, with the day it covers. Costs $0.005 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
last7dNoobject
catalogNoobject
last24hNoobject
dataAsOfNoobject
topBuyersNoarray
topCategoriesNoarray

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "catalog": {
      +      "description": "object"
      +    },
      +    "dataAsOf": {
      +      "description": "object"
      +    },
      +    "last24h": {
      +      "description": "object"
      +    },
      +    "last7d": {
      +      "description": "object"
      +    },
      +    "topBuyers": {
      +      "description": "array"
      +    },
      +    "topCategories": {
      +      "description": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavior beyond that: a $0.005 USDC x402 payment requirement on Base, the data provenance (USDC transfers of $5 or less into each seller's payTo), per-UTC-day granularity, and the fact that wash/sampler buckets are inferences ('likely wash', 'known samplers/graders'). It stops short of describing freshness lag or how 'top' is bounded.

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?

Content is front-loaded with the headline value ('The x402 paid-API economy in one call') followed by the metric breakdown, the methodology, and the price. The first sentence is long and clause-dense, but each clause carries a distinct fact; the definition is not padded.

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?

An output schema exists, so return values need not be spelled out, and the description covers scope, cost, methodology and time granularity. The only loose ends are unquantified terms like 'top' sellers/categories/wallets and how current the most recent UTC day is, which an agent may want before paying per call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline 4 applies. The description correctly implies no inputs are needed beyond the x402 payment itself.

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?

Names a specific deliverable: daily spend across top Bazaar sellers on Base, broken out by organic/likely wash/sampler-grader classification, plus 7-day totals, top categories and top buyer wallets. The phrase 'in one call' signals it is the aggregate view rather than a per-seller or per-listing tool like x402_seller_stats or x402_top_sellers.

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 by 'in one call' and by the aggregate framing, so an agent can infer this is the overview tool versus the narrower x402_stats siblings. However, it never explicitly states when to prefer this over x402_top_sellers or x402_seller_stats, nor does it give any exclusions.

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