Skip to main content
Glama

CULT+MATH Decision Briefs

Which businesses make up this industry here, and how big are they?

run_business_universe
Read-onlyIdempotent

Use when the user is sizing a B2B market in firms, planning a roll-up or territory, or asks how many companies of a kind exist: "how many CPA firms are in Texas?", "how many restaurants are in Harris County, and how big are they?". Returns employer establishments, employees and payroll from County Business Patterns, the split by employee size, and solo businesses with no payroll from Nonemployer Statistics. Refuses before you are charged if the code matches nothing or the size classes do not add up. 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 (latest County Business Patterns and Nonemployer year); place: state, county, cbsa or zip; segment: naics; size class (in the result). 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 how many people hold the buyer’s job in the area, use run_buyer_roles.

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": {
      "naics": "<naics>"
    },
    "name": "run_business_universe"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoFive-digit ZIP code (employer data only).
cbsaNoFive-digit metro area code, e.g. 26420 for Houston.
naicsYesNAICS industry code, 2-6 digits.
stateNoTwo-letter US state code, or US.
countyNoThree-digit county FIPS code, with state.

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.7/5.0
Behavior5/5

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

Annotations only declare read-only/open-world/idempotent; the description adds the crucial non-obvious behavior: a call returns a quote with a payment_url rather than the result, the run occurs only after POSTing to that URL, pricing is stated with both rails ($0.05 x402/USDC, $0.50 MPP), and refusal happens before any charge when the code matches nothing or size classes fail to reconcile. It also discloses that every result carries a run id, date and citation line — context the annotations cannot provide.

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

Conciseness3/5

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

It is dense and mostly value-bearing, but it opens with usage conditions rather than a one-line statement of what the tool returns, and the charging rule is stated twice ('Refuses before you are charged…' and 'a run that fails its controls refuses there with nothing charged'). The pricing/flow block is long enough to bury the core capability for a scanning agent.

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, two-step, multi-variable tool this covers everything an agent needs: trigger, data sources, allowed dimension variations, refusal conditions, payment mechanics and price differentials, and the sibling to use for a different question. An output schema exists, so return-field detail is correctly omitted.

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; the description earns an extra point by mapping inputs to dimensions — place as state/county/cbsa/zip, segment as naics, over time fixed to one release, and size class only appearing in the result rather than as an input. It does not clarify combination rules between place parameters (e.g., county FIPS requiring state), which the schema only partially conveys.

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?

The description names the exact resource and its sources: employer establishments, employees and payroll from County Business Patterns, the employee-size split, and nonemployer solo businesses from Nonemployer Statistics. It also states scope (one release per run; place/segment dimensions) and points to run_buyer_roles for the adjacent question, so an agent can separate it from siblings without opening the 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?

It gives explicit trigger conditions (sizing a B2B market in firms, planning a roll-up or territory, counting companies of a kind) plus two verbatim user phrasings, and it names the alternative (run_buyer_roles) with the condition that selects it. The 'vary these inputs to cut the answer' note further tells the agent how to steer results.

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