MAGENT

LIVE

SIRS

Compute the Bone 1992 ACCP/SCCM SIRS criteria from temperature, heart rate, respiratory rate, and WBC, with optional PaCO2 and band percent.

LIVE $0.005 USDC GET /api/calc/sirs

Markdown: /docs/sirs.md · Canonical: https://magentlab.com/docs/sirs

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

What it computes

Compute the Bone 1992 ACCP/SCCM SIRS criteria from temperature, heart rate, respiratory rate, and WBC, with optional PaCO2 and band percent.

When to use

When an agent needs the published 1992 SIRS definition and must not substitute Sepsis-3, qSOFA, or SOFA, or treat the result as a diagnosis of sepsis.

When not to use

  • Not a diagnosis of sepsis, severe sepsis, or septic shock. magent does not require a suspected-infection flag.
  • This is Bone 1992 ACCP/SCCM SIRS only. It is not Sepsis-3, not qSOFA, and not SOFA.
  • Thresholds are strict inequalities as published: temperature >38 or <36 °C, heart rate >90, respiratory rate >20 or PaCO2 <32 mm Hg, WBC >12000 or <4000/µL or bands >10%.
  • PaCO2 and band percent are optional. Omitted PaCO2 uses respiratory rate only; omitted bands uses WBC only.

Formula

SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4

Citation

Title
Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis
Authors
Bone RC, Balk RA, Cerra FB, et al.
Source
Chest. 1992;101(6):1644-1655
DOI
10.1378/chest.101.6.1644

Worked example

No criteria met

Given: heart_rate_bpm=80respiratory_rate=16temperature_c=37.0wbc_ul=8000

  1. Temperature 37.0 is not >38 or <36; HR 80 is not >90; RR 16 is not >20; WBC 8000 is not >12000 or <4000
  2. sirs_criteria_met = 0; sirs_present = false (need ≥2 of 4)

Two criteria met

Given: heart_rate_bpm=91respiratory_rate=21temperature_c=37.0wbc_ul=8000

  1. HR 91 > 90 → 1; RR 21 > 20 → 1; temperature and WBC do not meet
  2. sirs_criteria_met = 2; sirs_present = true

Also searched as

  • SIRS criteria
  • systemic inflammatory response syndrome
  • Bone 1992 SIRS
  • ACCP SCCM SIRS
  • SIRS score
  • SIRS definition

Try

Opens the live endpoint. Unpaid browser requests show the paywall; agents should send Accept: application/json.

/api/calc/sirs?temperature_c=37.0&heart_rate_bpm=80&respiratory_rate=16&wbc_ul=8000

Full URL: https://api.magentlab.com/api/calc/sirs?temperature_c=37.0&heart_rate_bpm=80&respiratory_rate=16&wbc_ul=8000

Call

Expect HTTP 402 until you retry with PAYMENT-SIGNATURE. Incomplete query params return HTTP 400 before any quote or charge.

curl -i -H "Accept: application/json" "https://api.magentlab.com/api/calc/sirs?temperature_c=37.0&heart_rate_bpm=80&respiratory_rate=16&wbc_ul=8000"

Parameters

Name Type Required Description
temperature_c number required Temperature in °C (30.0-45.0). >38 or <36 scores 1 (38.0 and 36.0 do not).
heart_rate_bpm integer required Heart rate in beats/min (integer 30-220). >90 scores 1 (90 does not).
respiratory_rate integer required Respiratory rate in breaths/min (integer 4-80). >20 scores 1 for the respiratory criterion (20 does not). Optional paco2_mm_hg <32 also meets this criterion.
paco2_mm_hg number optional Arterial PaCO2 in mm Hg (8-80) when provided. Omitted uses respiratory rate only. <32 scores the respiratory criterion (32 does not).
wbc_k_ul number optional WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul. Range 0.01-500. >12000 or <4000 per µL scores 1.
wbc_ul number optional WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul. Range 10-500000. >12000 or <4000 scores 1 (12000 and 4000 do not).
band_percent number optional Immature bands as a percent of WBC (0-100) when provided. Omitted does not use bands. >10 scores the WBC criterion (10 does not).

Bulk (POST)

POST the same path with a JSON items array. Price is n times the GET unit. Invalid items return HTTP 400 before settlement.

POST /api/calc/sirs Max 25 unit_amount * n PREVIEW

  • 1 to 25 items. Each item uses the same keys as the GET query parameters.
  • 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 (fixture)

{
  "items": [
    {
      "heart_rate_bpm": "80",
      "respiratory_rate": "16",
      "temperature_c": "37.0",
      "wbc_ul": "8000"
    },
    {
      "heart_rate_bpm": "80",
      "respiratory_rate": "16",
      "temperature_c": "37.0",
      "wbc_ul": "8000"
    }
  ]
}

Open bulk paywall →

Opens a two-item fixture on the API host. Unpaid browsers get the same MetaMask paywall as GET; Pay retries POST with those items.

Example 200 (fixture)

{
  "count": 2,
  "path": "/api/calc/sirs",
  "items": [
    {
      "components": [
        {
          "value": 37.0,
          "factor": "temperature",
          "points": 0,
          "present": false
        },
        {
          "value": 80,
          "factor": "heart_rate_gt_90",
          "points": 0,
          "present": false
        },
        {
          "value": 16,
          "factor": "respiratory",
          "points": 0,
          "present": false
        },
        {
          "value": 8.0e3,
          "factor": "wbc",
          "points": 0,
          "present": false
        }
      ],
      "wbc_per_ul": 8.0e3,
      "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": "Bone RC, Balk RA, Cerra FB, et al.",
        "doi": "10.1378/chest.101.6.1644",
        "id": "bone-1992",
        "source": "Chest. 1992;101(6):1644-1655",
        "title": "Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"
      },
      "formula": "sirs",
      "formula_expression": "SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4",
      "max_score": 4,
      "temperature_c": 37.0,
      "heart_rate_bpm": 80,
      "respiratory_rate": 16,
      "sirs_criteria_met": 0,
      "sirs_present": false
    },
    {
      "components": [
        {
          "value": 37.0,
          "factor": "temperature",
          "points": 0,
          "present": false
        },
        {
          "value": 80,
          "factor": "heart_rate_gt_90",
          "points": 0,
          "present": false
        },
        {
          "value": 16,
          "factor": "respiratory",
          "points": 0,
          "present": false
        },
        {
          "value": 8.0e3,
          "factor": "wbc",
          "points": 0,
          "present": false
        }
      ],
      "wbc_per_ul": 8.0e3,
      "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": "Bone RC, Balk RA, Cerra FB, et al.",
        "doi": "10.1378/chest.101.6.1644",
        "id": "bone-1992",
        "source": "Chest. 1992;101(6):1644-1655",
        "title": "Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"
      },
      "formula": "sirs",
      "formula_expression": "SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4",
      "max_score": 4,
      "temperature_c": 37.0,
      "heart_rate_bpm": 80,
      "respiratory_rate": 16,
      "sirs_criteria_met": 0,
      "sirs_present": false
    }
  ]
}

Response

Field Type Description
formula string sirs
formula_expression string Exact expression used
sirs_present boolean true when sirs_criteria_met is ≥2. Not a diagnosis of sepsis.
sirs_criteria_met integer Count of Bone 1992 criteria met (0-4)
max_score integer Always 4
temperature_c number Temperature in °C used
heart_rate_bpm integer Heart rate used, bpm
respiratory_rate integer Respiratory rate used, breaths/min
wbc_per_ul number Normalized WBC in cells/µL used for scoring
components array Per-criterion points
citation object Bone 1992 Chest citation
disclaimer string Not-a-device notice

Example JSON

Machine form of the same example. Frozen fixture. Not a live lookup.

{
  "components": [
    {
      "value": 37.0,
      "factor": "temperature",
      "points": 0,
      "present": false
    },
    {
      "value": 80,
      "factor": "heart_rate_gt_90",
      "points": 0,
      "present": false
    },
    {
      "value": 16,
      "factor": "respiratory",
      "points": 0,
      "present": false
    },
    {
      "value": 8.0e3,
      "factor": "wbc",
      "points": 0,
      "present": false
    }
  ],
  "wbc_per_ul": 8.0e3,
  "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": "Bone RC, Balk RA, Cerra FB, et al.",
    "doi": "10.1378/chest.101.6.1644",
    "id": "bone-1992",
    "source": "Chest. 1992;101(6):1644-1655",
    "title": "Definitions for sepsis and organ failure and guidelines for the use of innovative therapies in sepsis"
  },
  "formula": "sirs",
  "formula_expression": "SIRS present iff >=2 of 4: (temperature_c >38 or <36) + (heart_rate_bpm >90) + (respiratory_rate >20 or paco2_mm_hg <32) + (wbc_per_ul >12000 or <4000 or band_percent >10); each 1; max 4",
  "max_score": 4,
  "temperature_c": 37.0,
  "heart_rate_bpm": 80,
  "respiratory_rate": 16,
  "sirs_criteria_met": 0,
  "sirs_present": false
}

Client errors (HTTP 400)

Invalid params return 400 without charge. Shared HTTP 402 and 503 meanings: Payments.

HTTP Code When
400 invalid_temperature temperature_c must be a number from 30.0 to 45.0. Returned before settlement; you are not charged.
400 invalid_heart_rate heart_rate_bpm must be an integer from 30 to 220 Returned before settlement; you are not charged.
400 invalid_respiratory_rate respiratory_rate must be an integer from 4 to 80. Returned before settlement; you are not charged.
400 invalid_wbc wbc_k_ul (0.01-500) or wbc_ul (10-500000) is required Returned before settlement; you are not charged.
400 invalid_paco2 paco2_mm_hg must be a number from 8 to 80. Returned before settlement; you are not charged.
400 invalid_band_percent band_percent must be a number from 0 to 100 Returned before settlement; you are not charged.
400 invalid_items POST body must be a JSON object with only an items array Returned before settlement; you are not charged.
400 invalid_item_count items must be an array of 1 to 25 objects Returned before settlement; you are not charged.
400 invalid_item each items entry must be a JSON object Returned before settlement; you are not charged.

Related tools

  • SOFA — Compute the Vincent 1996 SOFA score from PaO2/FiO2, platelets, bilirubin, MAP and adrenergic agents, GCS, and creatinine or urine output.
  • qSOFA — Compute the Sepsis-3 qSOFA score from respiratory rate, caller-assigned altered mentation, and systolic blood pressure.

Payment

Required query parameters must be present and valid. 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. Unpaid valid requests return HTTP 402 with a base64 PAYMENT-REQUIRED header. HTTP 503 is not a new quote: retry the same PAYMENT-SIGNATURE. Full handshake and shared payment errors: Payments. Stdio MCP: /docs/mcp.

Guarantees

  • Invalid query parameters return HTTP 400 before settlement. You are not charged.
  • Settlement finishes before the tool executes (paymentFlow upfront). 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.