Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

macro_cpi

US CPI series (BLS, public domain). $0.005 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: GET https://exchangerebel.com/toll/macro/cpi.

Input Schema

NameRequiredDescriptionDefault
endNoEnd period
startNoStart period

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and readOnlyHint=false, but the description adds material context they do not carry: the $0.005 per-call price, the USDC-on-Solana payment rail, the two-step challenge/retry handshake, and an HTTP fallback URL. It does not explain granularity (monthly?), seasonality adjustment, or unit of the returned index.

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?

Purpose is front-loaded in the first clause, followed by cost and mechanics in priority order. The payment parenthetical is dense but every element is operationally necessary, and there is no filler.

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

Completeness3/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 should convey what comes back; 'US CPI series' hints at a time series but leaves the response shape, granularity, and index basis unspecified. For a two-param data-retrieval tool the payment side is well covered while the data side is left implicit.

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 description coverage is 100%, so the schema nominally documents both parameters, but its text ('Start period' / 'End period') is thin and the description adds nothing about the expected format (e.g., YYYY-MM) or inclusive/exclusive bounds. Baseline 3 applies since the schema technically carries the parameter documentation.

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 names a specific resource and provenance: 'US CPI series (BLS, public domain)', which distinguishes it from the other macro_* siblings (bills, fed_rate, payrolls, unemployment) by subject matter. There is no explicit 'use X instead' routing sentence, but the subject itself is unambiguous.

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?

The paid-invocation flow is spelled out precisely (call without payment to get the PaymentRequired challenge, then retry with payment at _meta["x402/payment"]), which is genuine how-to guidance. However, nothing says when to pick this over macro_fed_rate or macro_unemployment, nor what start/end to supply or what the defaults are.

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