Skip to main content
Glama

get_x402_revenue

Get aggregate x402 revenue statistics across all your paywalls. Returns total payments and revenue broken down by chain and token.

Instructions

Get aggregate x402 revenue statistics across all your paywalls. Returns total payments and revenue broken down by chain and token.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.2
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.7.3

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses the return shape (totals plus a per-chain and per-token breakdown), which is genuinely useful, but says nothing about auth requirements or any rate/latency behavior for an account-scoped read.

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 with zero filler, and the purpose is front-loaded before the return-value detail. Every sentence earns its place.

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 usefully compensates by stating what is returned (total payments and revenue, broken down by chain and token). For a zero-parameter aggregate read this is nearly complete, though it omits any scoping or auth caveat.

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 the baseline is 4. There are no arguments for the description to clarify, and the empty object schema plus additionalProperties:false leaves nothing ambiguous.

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 gives a specific verb (get) and resource (x402 revenue statistics) scoped to 'across all your paywalls,' which distinguishes it from the per-paywall get_paywall_payments sibling. It does not name that sibling explicitly, but the aggregate scope makes the distinction clear.

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 the aggregate framing: use this for a rolled-up revenue view rather than per-paywall payment listings. However, it never states when to prefer this over get_paywall_payments, list_payments, or get_usage, so the agent must infer the routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.