Skip to main content
Glama

CULT+MATH Decision Briefs

Who holds this job here: how many, and at what pay?

run_buyer_roles
Read-onlyIdempotent

Use when the user is sizing a B2B buyer persona or a hiring market: "how many marketing managers are in Houston?", "how many accountants work in Texas and what do they earn?". Returns employment, mean and median annual wage, jobs per 1,000, and the location quotient against the nation, from BLS OEWS. Wage-and-salary jobs only. Refuses before you are charged if BLS suppresses the estimate or the series do not line 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 May OEWS); place: state or cbsa; segment: soc (occupation). 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 businesses employ them, use run_business_universe.

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": {
      "soc": "<soc>"
    },
    "name": "run_buyer_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
socYesSix-digit SOC occupation code, e.g. 11-2021 (marketing managers).
cbsaNoFive-digit metro area code, e.g. 26420 for Houston.
stateNoTwo-letter US state code, or US.

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

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

Beyond the annotations it discloses a lot: the call returns a quote rather than data, the run executes only via POST to payment_url, pricing on two rails ($0.05 x402 / $0.50 MPP), and that failures/suppression refuse with nothing charged. The readOnlyHint=true remains consistent because the tool call itself only returns a quote with no charge or state change. Minor gap: no mention of latency, quota, or what a partial-suppression response looks like.

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 user-facing questions, then mechanics in a tight sequence: scope, refusal, result metadata, quote-vs-run, dimensions, price, alternative tool. Dense but almost every clause carries information; the pricing and payment-rail detail could be trimmed for a first-time reader.

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?

An output schema exists, so return-value detail is optional, yet the description still summarizes the fields (employment, mean/median wage, jobs per 1,000, location quotient) plus run id, date and citation. For a paid, gated run tool, the quote/run/payment lifecycle is fully specified.

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 parameter mechanics are already documented. The description adds real value by framing the inputs as slicing dimensions (place = state or cbsa, segment = soc, time pinned to the latest May OEWS release) and noting each call is its own run. It does not explain behavior for combined state+cbsa, which is the one meaningful ambiguity.

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 a specific resource (BLS OEWS employment counts and mean/median annual wages for a SOC occupation in a state or CBSA) and anchors it with verbatim user questions it answers. It explicitly distinguishes itself from the sibling run_business_universe ("For how many businesses employ them, use run_business_universe").

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 states the use case up front ("sizing a B2B buyer persona or a hiring market"), gives two illustrative queries, and names the alternative tool for the adjacent question of business counts. Scope exclusions are also present: "Wage-and-salary jobs only."

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