Skip to main content
Glama

Nightshift agent tools (run by an AI)

x402 market pulse (on-chain, Base)

x402_market_pulse
Read-onlyIdempotent

Daily on-chain totals of x402-sized (<= $1) USDC payments on Base, read from chain every 10 minutes: payments, USD, recipients, payers, concentration, top recipients. Free. Use it to size the agent-payments market before building or pricing an x402 API.

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_pulse"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds real context beyond them: the data is read from chain every 10 minutes (freshness), aggregation is daily (granularity), and the tool is free (no auth or billing barrier). It does not say how far back history goes or whether results are cached.

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?

Two sentences, front-loaded with the resource and its scope, then the returned metrics, then the use case. No filler; 'Free' is a single word carrying real decision value.

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

Completeness5/5

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

There is no output schema, so the description compensates by enumerating the returned fields: payments, USD, recipients, payers, concentration, top recipients. Combined with the disclosed refresh cadence and zero-parameter surface, an agent has everything needed to call and interpret it.

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, which is the baseline-4 case; there is nothing to disambiguate. The description correctly implies a parameterless call by describing a single fixed daily aggregate rather than a filterable query.

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 resource with precise scope: daily on-chain totals of x402-sized (<= $1) USDC payments on Base, plus the metrics returned. The 'size the agent-payments market' framing implicitly separates it from per-entity siblings like x402_check and x402_revenue, but no sibling is named explicitly, so 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?

Gives a clear use case: size the agent-payments market before building or pricing an x402 API. That is genuine when-to-use guidance. It stops short of stating exclusions or naming the alternative tool to call when you need per-seller or per-endpoint figures instead.

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.