Skip to main content
Glama

CULT+MATH Decision Briefs

Where does this audience live?

run_audience_map
Read-onlyIdempotent

Use when the user is choosing where to target, open, or send sales or media: "which Texas counties have the most high-income young households?", "which Harris County tracts concentrate households 65 and over?". Ranks the counties of a state, or the tracts of a county, by the number and the concentration of households with a householder in the chosen age bands and income range, from ACS 5-year estimates, with margins of error. Refuses before you are charged if the table does not reconcile. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: one release (ACS 2020-2024); place: state (counties) or county (tracts); segment: age_bands, income_min-income_max. Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For the audience count with a margin of error, use run_audience_size.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "<state>"
    },
    "name": "run_audience_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesTwo-letter US state code.
countyNoOptional three-digit county FIPS code: ranks its tracts instead of the state’s counties.
age_bandsNoHouseholder age bands. Default all four.
income_maxNoOptional household income ceiling, at the same edges.
income_minNoHousehold income floor, one of 0, 10000, 15000, 20000, 25000, 30000, 35000, 40000, 45000, 50000, 60000, 75000, 100000, 125000, 150000, 200000.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: the call returns a quote (what it measures, price, payment_url) rather than a result, the run only executes on POST to payment_url, failed controls refuse with nothing charged, and prices differ by rail ($0.05 x402/USDC vs $0.50 MPP). It also discloses that every result carries a run id, date and citation, and that only one ACS release (2020-2024) is available. The quote-before-charge flow is consistent with readOnlyHint=true.

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?

Front-loaded with the use case and examples before the mechanics, and the paragraph order (what it does, refusal guarantee, payment flow, dimensions, price) is logical. Some sentences are dense and mildly redundant (the quote-not-result idea is stated twice), but nearly every line carries decision-relevant information.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, gated analysis run this covers everything an agent needs before calling: the geography and segment limits, the single available vintage, error margins, the quote/payment handshake, the failure-refusal guarantee, and pricing per rail. Return-value detail is carried by the output schema, so no gap remains.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: supplying county switches the geography unit from counties to tracts, and age_bands plus income_min/income_max define the segment that 'cuts the answer'. It does not restate the allowed income edges or the enum values, leaving format detail to the schema, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb (ranks), concrete resources (counties of a state, tracts of a county) and the measure (number and concentration of households by age band and income), plus the data source (ACS 5-year with margins of error). The final sentence explicitly separates it from run_audience_size, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with the exact decision context ('choosing where to target, open, or send sales or media') and gives two concrete example questions. It also names the alternative ('For the audience count with a margin of error, use run_audience_size') and instructs that each call is its own run and how to vary dimensions, which sets expectations about repeats.

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