Skip to main content
Glama

x402_datausa_get_v1_data

Query US public data cubes such as ACS, PUMS, BLS, and NPS by drilldowns, measures, and filters to retrieve demographic, economic, and population statistics.

Instructions

datausa — DataUSA Tesseract API: US public data cubes (ACS, PUMS, BLS, NPS...) queryable by drilldowns, measures and filters. Free, no key. [GET /v1/data] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/data?cube=acs_yg_total_population_5&drilldowns=State&measures=Population&limit=5

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral load and does add real value: it discloses the HTTP method, that the API is free and keyless, and the exact price ($0.005 USDC) with the supported chains (eip155:8453/137/42161/480). It does not cover pagination limits, rate limits, or what a failed paid call returns, which is a meaningful gap for a paid endpoint.

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 dense, front-loaded segments — provider/endpoint purpose first, then cost and a worked example. No filler sentences, and the example earns its space by clarifying the query shape that the schema example gets wrong.

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 paid API-wrapper with no output schema, the description covers identity, query construction, cost, and auth. It is thin on return-value shape and error/retry expectations for a paid call, which an agent would need given the absence of an output schema and annotations.

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 baseline is 3. The description does partially compensate for the schema's generic and misleading query example ({base:'USD', quote:'EUR'}) by showing the actual parameter names used by this endpoint (cube, drilldowns, measures, limit), but it never documents body/restart/operationId beyond what the schema already says.

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 states a specific verb and resource: query US public data cubes (ACS, PUMS, BLS, NPS) by drilldowns, measures and filters, and pins it to GET /v1/data on DataUSA Tesseract. The concrete example URL with cube/drilldowns/measures/limit makes the operation unmistakable. It does not, however, name the sibling cubes endpoint that supplies valid cube ids, so differentiation is implicit rather than stated.

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 example: supply a cube plus drilldowns/measures/filters. The description does not say when to prefer this over sibling endpoints (e.g. x402_datausa_get_v1_cubes for discovering cubes), nor does it state prerequisites before querying. It also omits the schema-provided retry semantics for restart/operationId, leaving the agent to read the schema.

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

Deploy Server

Other Tools