Skip to main content
Glama

CULT+MATH Decision Briefs

Where are the adults diagnosed with this condition, and how many?

run_condition_prevalence
Read-onlyIdempotent

Currently switched off: it answers "not available" and charges nothing. Use when the user is sizing a healthcare market, choosing where to put a clinic, a sales territory or clinical education, or diligencing a target's operating footprint: "which Texas counties have the most adults with diabetes?", "where is COPD most common in Ohio?". Returns CDC PLACES modelled prevalence for every county or place in the state, the spread across them, the areas holding the largest derived adult counts with the top-10 share, and a national benchmark. These are model estimates built from self-reported survey answers: diagnosed prevalence, not prevalence, and the adult counts are derived from the percentage rather than counted. The run says so in its own output, and says nothing about whether those adults are adequately treated. Refuses before you are charged if the measure matches nothing, matches more than one condition, or the rows fail their bounds. 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, one data year: PLACES is annual and two releases are not a trend; place: state, and level (county or place); segment: measure_id or condition (one of the 40 PLACES measures), type (crude or age_adjusted). For who is running trials in the condition, use run_trial_pipeline; for how many households match a profile in one area, 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_condition_prevalence"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoAreas to list in each ranking. Default 15.
typeNoCrude (default) is the share of that area's own adults and is what a headcount needs. Age-adjusted removes the area's age mix and is for comparing areas, not for multiplying by a population.
levelNoCounty (default) or place (incorporated and census-designated places).
stateYesA two-letter US state or DC code, e.g. "TX".
conditionNoA phrase matched against the measure name, e.g. "coronary heart disease". Give this or measure_id. Refuses if it matches more than one measure.
measure_idNoA PLACES measure id, e.g. "DIABETES", "BPHIGH", "COPD", "CHD", "CASTHMA", "DEPRESSION". Give this or condition.

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?

Annotations only declare readOnly/openWorld/idempotent/non-destructive, but the description discloses far more: the tool is currently switched off and answers 'not available' at no charge, a call returns a quote with price and payment_url rather than results, the run happens only on POST to that URL, and refusals happen with nothing charged. It also flags the epistemic caveats (self-reported survey model estimates, diagnosed rather than total prevalence, derived rather than counted adult counts) and that every result carries a run id, date and citation.

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?

The most consequential fact — the tool is switched off and charges nothing — is front-loaded, and almost every sentence carries operational information. It is dense and somewhat run-on in the middle (the dimensions sentence packs several clauses with colons), so it is efficient but not maximally scannable.

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, quote-then-POST tool with a rich schema, the description covers pricing flow, refusal conditions, output shape and caveats; the output schema carries the return-value detail so the description needn't. Nothing an agent needs to decide, call, or interpret the quote correctly is missing.

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 would be 3, but the description adds genuine meaning: 'each call is its own run', that PLACES is annual and two releases are not a trend, and how the segment/place dimensions map onto measure_id or condition, state and level, and crude versus age_adjusted. It stops short of restating per-parameter syntax, which the schema already handles.

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 states a specific verb and resource: it returns CDC PLACES modelled prevalence for every county or place in a state, the spread across them, the areas holding the largest derived adult counts with a top-10 share, and a national benchmark. It distinguishes itself from siblings by naming run_trial_pipeline for trials and run_audience_size for household profiles, so an agent can route without opening another 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 names concrete use cases (sizing a healthcare market, siting a clinic, sales territory or clinical education, diligence on operating footprint) and supplies example queries that anchor the intent. It also names two alternatives with the condition that selects them, and the description of the 'dimensions' explains how varying inputs narrows the answer.

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