Skip to main content
Glama

BLS CPI Series Payment Quote

cpi_series_quote
Read-onlyIdempotent

Returns the payment terms for https://horizonpulse.dev/api/bls/cpi (base $0.01; USDC on Base or Polygon); this tool never runs the check or pays. Pay the 402 over HTTP with x402 v2: GET ?series=CUUR0000SA0,CUUR0000SA0L1E&start=2024&end=2026 (up to 10 CPI series ids, up to 20 years). Consumer Price Index series from the U.S. Bureau of Labor Statistics Public Data API v2: up to 10 CPI series ids (e.g. CUUR0000SA0) with an optional start and end year (up to 20 years). Data credit: U.S. Bureau of Labor Statistics; not affiliated with or endorsed by BLS. Up to 1 hour old. Bad input is refused before payment, not charged. If no requested series returns data, the request is refused and not charged; if at least one series returns data, the full price is charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description is not obligated to establish safety. It goes well beyond them anyway, disclosing base price ($0.01), accepted tokens and chains, refusal-before-payment on bad input, partial-data full-charge rules, chain-specific charging exceptions, and data freshness of up to 1 hour. The disclosure is undercut by the truncated final clause ('On Polygon (native USDC), a'), which leaves one charging rule incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key facts are front-loaded in the first sentence, but the body is a run-on that repeats itself: 'up to 10 CPI series ids' and 'up to 20 years' each appear twice, and 'USDC on Base or Polygon' appears three times. The text also cuts off mid-sentence at the end, which is a structural defect an agent has to work around. Tightening and de-duplicating would cut it substantially with no loss.

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 parameters and no output schema, the description carries the burden of explaining what 'payment terms' actually look like when returned, and it does not — the agent learns pricing and charging rules but not the response shape. It compensates well on costs, freshness, and attribution, which are the operationally critical facts for a quote tool. The truncated final sentence leaves a stated charging exception unresolved, making it only adequate rather than complete.

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. The description does add genuinely useful semantics for the query string the agent must construct itself: up to 10 CPI series ids, an example id (CUUR0000SA0), and optional start/end years capped at 20 years. It does not explain series-id structure or what happens with invalid years beyond the generic bad-input refusal, so it does not earn a 5.

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 first sentence gives a specific verb and resource: it returns payment terms for a named CPI HTTP endpoint, and it explicitly negates the sibling behavior by stating it 'never runs the check or pays'. That negation is what separates it from the actual x402 check/payment siblings, so an agent can classify it without opening a schema. The only weakness is that it never names a concrete alternative among the many sibling *_quote tools, leaving the distinction implicit.

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?

It tells the agent exactly what to do next: pay the 402 over HTTP with x402 v2, and it supplies the concrete request shape (GET ?series=...&start=...&end=...). That is actionable when-to-use context rather than vague framing. It stops short of explicit exclusions, such as when to prefer x402_check or a different sibling, so it is clear but not fully routed.

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.