# AUA symptom index

AUA-SI

Status: LIVE
Price: $0.005 USDC
`GET /api/calc/aua_si`
HTML: https://magentlab.com/docs/aua-si
Markdown: https://magentlab.com/docs/aua-si.md

Not a medical device. Not a diagnosis, dose, or listing recommendation.

## What it computes

Sum seven caller-assigned Barry 1992 AUA-SI items (each integer 0-5) and return the published 0-35 total. Does not apply later total-score severity bands and does not score the IPSS quality-of-life item.

## When to use

When an agent already has Barry 1992 0-5 integers for the seven AUA-SI items and needs the published total. magent does not take a voiding history, diagnose BPH, order treatment, or apply later 0-7/8-19/20-35 cuts.

## When not to use

- Not a medical device and not a BPH treatment order.
- Each of the seven items is a caller-assigned integer 0-5. magent does not take a voiding history.
- This is Barry 1992 AUA-SI only (seven items; max 35). magent does not score the later IPSS 8th quality-of-life item.
- Barry 1992 published no total-score severity bands. This tool returns score and max_score only. It does not apply later AUA-guideline 0-7/8-19/20-35 mild/moderate/severe cuts.

## Formula

```
AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item
```

## Citation

[The American Urological Association symptom index for benign prostatic hyperplasia](https://doi.org/10.1016/S0022-5347(17)36966-5)
Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT
J Urol. 1992;148(5):1549-1557
DOI: [10.1016/S0022-5347(17)36966-5](https://doi.org/10.1016/S0022-5347(17)36966-5)

## Worked example

### All items 0

Given: `frequency=0, incomplete_emptying=0, intermittency=0, nocturia=0, straining=0, urgency=0, weak_stream=0`

1. incomplete_emptying, frequency, intermittency, urgency, weak_stream, straining, and nocturia are 0 as assigned by the caller
2. Score = 0 (max 35). Barry 1992 published no total-score severity band.


### Seven items at 3

Given: `frequency=3, incomplete_emptying=3, intermittency=3, nocturia=3, straining=3, urgency=3, weak_stream=3`

1. each of the seven Barry 1992 AUA-SI items is 3 as assigned by the caller
2. Score = 21 (max 35). No total-score severity band.


## Also searched as

- AUA-SI
- AUA symptom index
- American Urological Association symptom index
- Barry 1992 AUA-SI
- BPH symptom score
- 7-item AUA symptom index
- IPSS (7-item AUA-SI, not 8-item QoL)
- prostate symptom index
- LUTS AUA-SI

## Parameters

- `incomplete_emptying` (integer, required): Caller-assigned Barry 1992 incomplete emptying (integer 0-5: 0 not at all, 1 less than 1 time in 5, 2 less than half the time, 3 about half the time, 4 more than half the time, 5 almost always): sensation of not emptying the bladder completely after finishing urination. magent does not take a voiding history.
- `frequency` (integer, required): Caller-assigned Barry 1992 frequency (integer 0-5: 0 not at all to 5 almost always): urinating again less than two hours after finishing. magent does not take a voiding history.
- `intermittency` (integer, required): Caller-assigned Barry 1992 intermittency (integer 0-5: 0 not at all to 5 almost always): stopping and starting again several times when urinating. magent does not take a voiding history.
- `urgency` (integer, required): Caller-assigned Barry 1992 urgency (integer 0-5: 0 not at all to 5 almost always): difficulty postponing urination. magent does not take a voiding history.
- `weak_stream` (integer, required): Caller-assigned Barry 1992 weak urinary stream (integer 0-5: 0 not at all to 5 almost always). magent does not take a voiding history.
- `straining` (integer, required): Caller-assigned Barry 1992 hesitancy/straining (integer 0-5: 0 not at all to 5 almost always): push or strain to begin urination. magent does not take a voiding history.
- `nocturia` (integer, required): Caller-assigned Barry 1992 nocturia (integer 0-5: 0 none, 1 one time, 2 two times, 3 three times, 4 four times, 5 five or more times): times typically getting up to urinate from bedtime until morning. magent does not take a voiding history.

## Bulk (POST)

POST the same path with a JSON items array. The first item is the GET unit; each additional item is $0.002. Invalid items return HTTP 400 before settlement.

Method: `POST /api/calc/aua_si`
Max items: 25
Price: unit_amount + extra_item_amount * (n - 1) (unit 5000 atomic, extra 2000 atomic)
Status: PREVIEW

- 1 to 25 items. Each item uses the same keys as the GET query parameters.
- POST of 1 item costs the same as GET. Lists longer than 25: chunk into multiple POSTs. Extra items still execute; do not pad dummy rows.
- The first invalid item fails the whole request (index in the 400 JSON). You are not charged.
- HTTP 200 is {count, path, items}. Each items[i] is the GET 200 body for that row.
- Catalog misses (empty matches, found=false) stay paid 200s inside that slot.
- x402 resource URL is this path plus n and body_sha256. Browsers that prefer text/html get the same paywall as GET; Pay retries POST with the same items.

Example request:

```json
{
  "items": [
    {
      "frequency": "0",
      "incomplete_emptying": "0",
      "intermittency": "0",
      "nocturia": "0",
      "straining": "0",
      "urgency": "0",
      "weak_stream": "0"
    },
    {
      "frequency": "0",
      "incomplete_emptying": "0",
      "intermittency": "0",
      "nocturia": "0",
      "straining": "0",
      "urgency": "0",
      "weak_stream": "0"
    }
  ]
}
```

Human paywall (two-item fixture): https://api.magentlab.com/paywall/bulk/aua-si

Example 200:

```json
{
  "count": 2,
  "path": "/api/calc/aua_si",
  "items": [
    {
      "components": [
        {
          "value": 0,
          "factor": "incomplete_emptying",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "frequency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "intermittency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "urgency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "weak_stream",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "straining",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "nocturia",
          "points": 0,
          "present": true
        }
      ],
      "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
      "citation": {
        "authors": "Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT",
        "doi": "10.1016/S0022-5347(17)36966-5",
        "id": "barry-1992",
        "pmid": "1279218",
        "source": "J Urol. 1992;148(5):1549-1557",
        "title": "The American Urological Association symptom index for benign prostatic hyperplasia"
      },
      "formula": "aua_si",
      "formula_expression": "AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item",
      "max_score": 35,
      "score": 0
    },
    {
      "components": [
        {
          "value": 0,
          "factor": "incomplete_emptying",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "frequency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "intermittency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "urgency",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "weak_stream",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "straining",
          "points": 0,
          "present": true
        },
        {
          "value": 0,
          "factor": "nocturia",
          "points": 0,
          "present": true
        }
      ],
      "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
      "citation": {
        "authors": "Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT",
        "doi": "10.1016/S0022-5347(17)36966-5",
        "id": "barry-1992",
        "pmid": "1279218",
        "source": "J Urol. 1992;148(5):1549-1557",
        "title": "The American Urological Association symptom index for benign prostatic hyperplasia"
      },
      "formula": "aua_si",
      "formula_expression": "AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item",
      "max_score": 35,
      "score": 0
    }
  ]
}
```

## Response fields

- `formula` (string): aua_si
- `formula_expression` (string): Exact expression used
- `score` (integer): Barry 1992 AUA-SI sum of seven caller-assigned 0-5 items (0-35)
- `max_score` (integer): Always 35
- `components` (array): Per-item caller-assigned points
- `citation` (object): Barry et al. J Urol 1992 citation
- `disclaimer` (string): Not-a-device notice

## Example JSON

Frozen fixture. Not a live lookup.

```json
{
  "components": [
    {
      "value": 0,
      "factor": "incomplete_emptying",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "frequency",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "intermittency",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "urgency",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "weak_stream",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "straining",
      "points": 0,
      "present": true
    },
    {
      "value": 0,
      "factor": "nocturia",
      "points": 0,
      "present": true
    }
  ],
  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
  "citation": {
    "authors": "Barry MJ, Fowler FJ Jr, O'Leary MP, Bruskewitz RC, Holtgrewe HL, Mebust WK, Cockett AT",
    "doi": "10.1016/S0022-5347(17)36966-5",
    "id": "barry-1992",
    "pmid": "1279218",
    "source": "J Urol. 1992;148(5):1549-1557",
    "title": "The American Urological Association symptom index for benign prostatic hyperplasia"
  },
  "formula": "aua_si",
  "formula_expression": "AUA-SI = incomplete_emptying + frequency + intermittency + urgency + weak_stream + straining + nocturia; each caller-assigned 0-5; max 35; Barry 1992; no total-score severity bands; not IPSS quality-of-life item",
  "max_score": 35,
  "score": 0
}
```

## Errors

- HTTP 400 `invalid_aua_si`: AUA symptom index items must be integers in the Barry 1992 published 0-5 range. Returned before settlement; you are not charged.
- HTTP 400 `invalid_items`: POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
- HTTP 400 `invalid_item_count`: items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
- HTTP 400 `invalid_item`: each items entry must be a JSON object Returned before settlement; you are not charged.

Shared HTTP 402 and 503: https://magentlab.com/docs/payments

## Related tools

- [MUST](https://magentlab.com/docs/must) — Sum Stratton 2004 MUST (BMI, unplanned weight-loss percent, and acute disease with no nutritional intake >5 days) and return score 0–6 with risk low, medium, or high.
- [Charlson CCI](https://magentlab.com/docs/charlson) — Sum the nineteen Charlson 1987 original comorbidity weights and return the published 1-year mortality group.
- [G8](https://magentlab.com/docs/g8) — Sum the eight Bellera 2012 G8 items (seven MNA items A, B, C, E, F, H, P plus age) and return whether the published ≤14 impaired-screen cutoff is met.

## Payment

Unpaid requests return HTTP 402 even if query parameters or POST items are missing or invalid, so CDP and agents can index the path. After a PAYMENT-SIGNATURE, invalid params return HTTP 400 JSON before settlement. magent does not charge. Fix the params, then request a new 402 quote for that complete URL. Catalog misses (empty matches, found=false) are valid paid 200s.

- GET the tool with Accept: application/json (do not send Accept: text/html unless you want the human paywall).
- HTTP 402 means you have not paid. Decode the base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote.
- Sign accepts[0] (exact, EIP-3009) with validBefore = now + maxTimeoutSeconds (600 seconds), or accepts[1] (batch-settlement deposit/voucher) on product GET. Ping and POST {items} stay exact. Magent retries transient facilitator 429/5xx before answering.
- Retry the same URL with PAYMENT-SIGNATURE (base64 JSON of accepted and payload). Magent attaches canonical extensions.bazaar on CDP verify/settle; echoing 402 bazaar is optional.
- Success is HTTP 200 JSON plus PAYMENT-RESPONSE. exact settles before the tool. batch-settlement verifies (and deposit-settles) before the tool and commits the charge after HTTP 2xx. HTTP 503: retry the same PAYMENT-SIGNATURE. Mint a new exact nonce only after a new HTTP 402.

- offered `exact` on eip155:8453: Fixed-price USDC on Base. The buyer authorizes the advertised amount (EIP-3009). magent settles before the tool runs (paymentFlow upfront). extra.assetTransferMethod=eip3009 extra.paymentFlow=upfront.
- offered `batch-settlement` on eip155:8453: Payment-channel vouchers claimed later in batches. Exact stays accepts[0]. Same-path POST {items} is still exact. extra.assetTransferMethod=eip3009 extra.paymentFlow=authorization.

- not offered `upto`: Not offered. Usage-based: buyer authorizes a ceiling, seller settles the actual amount after work. Reserved for a future metered tool. Not for current calculators or code search.

Same-path POST {items} is still scheme exact: one EIP-3009 authorization for GET unit plus $0.002 per extra item. That is not x402 batch-settlement (payment channels / vouchers).

Shared HTTP 402 and 503 table: https://magentlab.com/docs/payments

Stdio MCP (one process per host): https://magentlab.com/docs/mcp

## Guarantees

- HTTP 402 is unpaid, including a missing query. After PAYMENT-SIGNATURE, invalid parameters return HTTP 400 before settlement. You are not charged. HTTP 402 never includes the tool JSON.
- exact: settlement finishes before the tool (paymentFlow upfront). batch-settlement: verify/deposit before the tool; chargedCumulativeAmount commits after HTTP 2xx. Uncertain or failed settlement fails closed (HTTP 503). Retry the same PAYMENT-SIGNATURE.
- HTTP 402 is unpaid only. Do not sign a second authorization because of a 503.
- Execution is timeout-bounded and concurrency-capped.
- Calculator inputs are stored encrypted for allowlisted operators (Magent Console). They are not in public logs, SSH lookups, catalog, or rollups. Request logs store path without query.
