Skip to main content
Glama

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

macro_census_population

Population data (US Census, 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/census/population.

Input Schema

NameRequiredDescriptionDefault
stateNoState filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations are sparse on behavior, but the description adds substantial context the annotations lack: exact price ($0.005), payment asset/chain (USDC on Solana via x402), the required challenge-retry flow, and the _meta key for payment. There is mild tension between the 'GET' read semantics and readOnlyHint=false, but this plausibly reflects the on-chain payment side effect rather than a real contradiction.

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 pricing and payment mechanics. The payment and HTTP-equivalent details are dense but each earns its place for correct invocation; only the URL restatement is slightly redundant.

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?

For a single-param tool with no output schema, the definition covers what an agent needs to know to invoke it correctly, including the non-obvious payment handshake that would otherwise cause failures. Return data shape is unspecified but the source (US Census population) makes it reasonably predictable.

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% with a single 'state' filter that is already documented in the schema. The description adds nothing about the parameter (e.g., accepted formats or whether it's an abbreviation vs full name), so the schema carries all meaning — baseline 3.

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?

States a specific resource (US Census population data) with a concrete retrieval verb implied, and the name plus source give an agent a clear sense of the tool's scope. It does not explicitly differentiate itself from the macro_* siblings (cpi, payrolls, unemployment), leaving that to the names alone.

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?

Provides a detailed payment procedure (challenge-then-retry), which is genuinely useful usage guidance for invocation, but gives no when-to-use rationale or alternatives relative to the other macro_* tools. The usage guidance present is procedural rather than about tool selection.

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