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 only); 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 only.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: states the price ($0.01 base, USDC on Base only), the payment protocol (x402 v2, HTTP 402), the charging rules (bad input refused before payment and not charged; no series returning data → refused and not charged; partial data → full price charged), and data freshness (up to 1 hour old). These are exactly the behavioral facts an agent needs before spending money.

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?

Front-loading is good, but the text is a dense run-on with clear duplication: 'USDC on Base only' appears twice, 'up to 10 CPI series ids' twice, 'up to 20 years' twice, and the BLS attribution is restated. The payment-mechanics sentences and the API-spec sentences are interleaved rather than grouped, making the key fact (it returns a quote, not data) harder to extract.

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?

There is no output schema, so the description should convey the shape of the returned quote; it gives the price and currency but not what the response contains (e.g. payment requirements, header template, request body to replay). Given a 0-param tool this is adequate but leaves the agent guessing about how to act on the quote.

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 additionally documents the shape of the underlying paid request (series list up to 10 ids, optional start/end year, up to 20 years), which is useful context even though it technically belongs to the downstream endpoint rather than this schema.

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?

Opens with a specific verb and resource — 'Returns the payment terms for https://horizonpulse.dev/api/bls/cpi' — and immediately disambiguates that 'this tool never runs the check or pays', which separates it from an execution/fetch tool. However, the bulk of the text then describes the downstream paid GET endpoint (?series=...&start=...&end=...), which blurs what this tool itself does versus what the API it prices does.

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 use case is implied (get a quote, then 'Pay the 402 over HTTP with x402 v2') and refusal/charge rules are stated, but there is no explicit when-to-use versus the sibling quote tools or x402_check / x402_check_deep. An agent must infer that this is the pre-payment step rather than being told so.

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.