MAGENT

Emergency · LIVE

Geriatric Depression Scale 15-item (GDS-15)

GDS-15

Sum fifteen Sheikh 1986 GDS-15 yes/no items using that paper's reverse-scoring key and return the published 0-15 total. Does not apply later total-score severity bands.

LIVE $0.005 USDC GET /api/calc/gds_15

Markdown: /docs/gds-15.md · Canonical: https://magentlab.com/docs/gds-15

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

What it computes

Sum fifteen Sheikh 1986 GDS-15 yes/no items using that paper's reverse-scoring key and return the published 0-15 total. Does not apply later total-score severity bands.

When to use

When an agent already has Sheikh 1986 GDS-15 yes/no answers (as asked, not pre-scored points) and needs the published total. magent does not interview the patient, diagnose depression, score PHQ-9, score the 30-item GDS, or apply later 0-4/5-9/10+ cutoffs.

When not to use

  • Not a medical device and not a depression diagnosis or treatment order.
  • Each of the fifteen items is a caller-assigned yes/no answering the question as asked. magent does not interview the patient.
  • This is Sheikh 1986 GDS-15 only (15-item short form; max 15). magent does not score the 30-item GDS or PHQ-9.
  • Sheikh 1986 published no total-score severity bands. This tool returns score and max_score only. It does not apply later Almeida or website 0-4/5-9/10+ cutoffs.

Formula

GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands

Citation

Title
Geriatric Depression Scale (GDS): recent evidence and development of a shorter version
Authors
Sheikh JI, Yesavage JA
Source
Clin Gerontol. 1986;5(1-2):165-173
DOI
10.1300/J018v05n01_09

Worked example

No-depression profile

Given: afraid_something_bad=falsedropped_activities=falsefull_of_energy=truegood_spirits=truehappy_most_of_time=truelife_empty=falsemore_memory_problems=falsemost_people_better_off=falseoften_bored=falseoften_helpless=falseprefer_stay_home=falsepretty_worthless=falsesatisfied_with_life=truesituation_hopeless=falsewonderful_to_be_alive=true

  1. satisfied_with_life, good_spirits, happy_most_of_time, wonderful_to_be_alive, and full_of_energy are true (reverse-scored; not scored)
  2. the other ten items are false (not scored)
  3. Score = 0 (max 15). Sheikh 1986 published no total-score severity band.

All depression-direction answers

Given: afraid_something_bad=truedropped_activities=truefull_of_energy=falsegood_spirits=falsehappy_most_of_time=falselife_empty=truemore_memory_problems=truemost_people_better_off=trueoften_bored=trueoften_helpless=trueprefer_stay_home=truepretty_worthless=truesatisfied_with_life=falsesituation_hopeless=truewonderful_to_be_alive=false

  1. satisfied_with_life, good_spirits, happy_most_of_time, wonderful_to_be_alive, and full_of_energy are false (reverse-scored; each scores 1)
  2. the other ten items are true (each scores 1)
  3. Score = 15 (max 15). No total-score severity band.

Also searched as

  • GDS-15
  • Geriatric Depression Scale 15-item
  • Sheikh Yesavage GDS short form
  • GDS short form
  • 15-item GDS
  • Sheikh 1986 GDS
  • geriatric depression screen

Try

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

/api/calc/gds_15?satisfied_with_life=true&dropped_activities=false&life_empty=false&often_bored=false&good_spirits=true&afraid_something_bad=false&happy_most_of_time=true&often_helpless=false&prefer_stay_home=false&more_memory_problems=false&wonderful_to_be_alive=true&pretty_worthless=false&full_of_energy=true&situation_hopeless=false&most_people_better_off=false

Full URL: https://api.magentlab.com/api/calc/gds_15?satisfied_with_life=true&dropped_activities=false&life_empty=false&often_bored=false&good_spirits=true&afraid_something_bad=false&happy_most_of_time=true&often_helpless=false&prefer_stay_home=false&more_memory_problems=false&wonderful_to_be_alive=true&pretty_worthless=false&full_of_energy=true&situation_hopeless=false&most_people_better_off=false

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/gds_15?satisfied_with_life=true&dropped_activities=false&life_empty=false&often_bored=false&good_spirits=true&afraid_something_bad=false&happy_most_of_time=true&often_helpless=false&prefer_stay_home=false&more_memory_problems=false&wonderful_to_be_alive=true&pretty_worthless=false&full_of_energy=true&situation_hopeless=false&most_people_better_off=false"

Parameters

Name Type Required Description
satisfied_with_life boolean required Are you basically satisfied with your life? (Sheikh 1986 GDS-15 item 1). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.
dropped_activities boolean required Have you dropped many of your activities and interests? (Sheikh 1986 GDS-15 item 2). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
life_empty boolean required Do you feel that your life is empty? (Sheikh 1986 GDS-15 item 3). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
often_bored boolean required Do you often get bored? (Sheikh 1986 GDS-15 item 4). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
good_spirits boolean required Are you in good spirits most of the time? (Sheikh 1986 GDS-15 item 5). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.
afraid_something_bad boolean required Are you afraid that something bad is going to happen to you? (Sheikh 1986 GDS-15 item 6). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
happy_most_of_time boolean required Do you feel happy most of the time? (Sheikh 1986 GDS-15 item 7). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.
often_helpless boolean required Do you often feel helpless? (Sheikh 1986 GDS-15 item 8). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
prefer_stay_home boolean required Do you prefer to stay at home, rather than going out and doing new things? (Sheikh 1986 GDS-15 item 9). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
more_memory_problems boolean required Do you feel you have more problems with memory than most? (Sheikh 1986 GDS-15 item 10). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
wonderful_to_be_alive boolean required Do you think it is wonderful to be alive now? (Sheikh 1986 GDS-15 item 11). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.
pretty_worthless boolean required Do you feel pretty worthless the way you are now? (Sheikh 1986 GDS-15 item 12). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
full_of_energy boolean required Do you feel full of energy? (Sheikh 1986 GDS-15 item 13). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient.
situation_hopeless boolean required Do you feel that your situation is hopeless? (Sheikh 1986 GDS-15 item 14). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.
most_people_better_off boolean required Do you think that most people are better off than you are? (Sheikh 1986 GDS-15 item 15). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient.

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.

POST /api/calc/gds_15 Max 25 unit_amount + extra_item_amount * (n - 1) extra $0.002 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 (fixture)

{
  "items": [
    {
      "afraid_something_bad": "false",
      "dropped_activities": "false",
      "full_of_energy": "true",
      "good_spirits": "true",
      "happy_most_of_time": "true",
      "life_empty": "false",
      "more_memory_problems": "false",
      "most_people_better_off": "false",
      "often_bored": "false",
      "often_helpless": "false",
      "prefer_stay_home": "false",
      "pretty_worthless": "false",
      "satisfied_with_life": "true",
      "situation_hopeless": "false",
      "wonderful_to_be_alive": "true"
    },
    {
      "afraid_something_bad": "false",
      "dropped_activities": "false",
      "full_of_energy": "true",
      "good_spirits": "true",
      "happy_most_of_time": "true",
      "life_empty": "false",
      "more_memory_problems": "false",
      "most_people_better_off": "false",
      "often_bored": "false",
      "often_helpless": "false",
      "prefer_stay_home": "false",
      "pretty_worthless": "false",
      "satisfied_with_life": "true",
      "situation_hopeless": "false",
      "wonderful_to_be_alive": "true"
    }
  ]
}

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/gds_15",
  "items": [
    {
      "components": [
        {
          "factor": "satisfied_with_life",
          "points": 0,
          "present": false
        },
        {
          "factor": "dropped_activities",
          "points": 0,
          "present": false
        },
        {
          "factor": "life_empty",
          "points": 0,
          "present": false
        },
        {
          "factor": "often_bored",
          "points": 0,
          "present": false
        },
        {
          "factor": "good_spirits",
          "points": 0,
          "present": false
        },
        {
          "factor": "afraid_something_bad",
          "points": 0,
          "present": false
        },
        {
          "factor": "happy_most_of_time",
          "points": 0,
          "present": false
        },
        {
          "factor": "often_helpless",
          "points": 0,
          "present": false
        },
        {
          "factor": "prefer_stay_home",
          "points": 0,
          "present": false
        },
        {
          "factor": "more_memory_problems",
          "points": 0,
          "present": false
        },
        {
          "factor": "wonderful_to_be_alive",
          "points": 0,
          "present": false
        },
        {
          "factor": "pretty_worthless",
          "points": 0,
          "present": false
        },
        {
          "factor": "full_of_energy",
          "points": 0,
          "present": false
        },
        {
          "factor": "situation_hopeless",
          "points": 0,
          "present": false
        },
        {
          "factor": "most_people_better_off",
          "points": 0,
          "present": false
        }
      ],
      "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": "Sheikh JI, Yesavage JA",
        "doi": "10.1300/J018v05n01_09",
        "id": "sheikh-1986",
        "source": "Clin Gerontol. 1986;5(1-2):165-173",
        "title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"
      },
      "formula": "gds_15",
      "formula_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands",
      "max_score": 15,
      "score": 0
    },
    {
      "components": [
        {
          "factor": "satisfied_with_life",
          "points": 0,
          "present": false
        },
        {
          "factor": "dropped_activities",
          "points": 0,
          "present": false
        },
        {
          "factor": "life_empty",
          "points": 0,
          "present": false
        },
        {
          "factor": "often_bored",
          "points": 0,
          "present": false
        },
        {
          "factor": "good_spirits",
          "points": 0,
          "present": false
        },
        {
          "factor": "afraid_something_bad",
          "points": 0,
          "present": false
        },
        {
          "factor": "happy_most_of_time",
          "points": 0,
          "present": false
        },
        {
          "factor": "often_helpless",
          "points": 0,
          "present": false
        },
        {
          "factor": "prefer_stay_home",
          "points": 0,
          "present": false
        },
        {
          "factor": "more_memory_problems",
          "points": 0,
          "present": false
        },
        {
          "factor": "wonderful_to_be_alive",
          "points": 0,
          "present": false
        },
        {
          "factor": "pretty_worthless",
          "points": 0,
          "present": false
        },
        {
          "factor": "full_of_energy",
          "points": 0,
          "present": false
        },
        {
          "factor": "situation_hopeless",
          "points": 0,
          "present": false
        },
        {
          "factor": "most_people_better_off",
          "points": 0,
          "present": false
        }
      ],
      "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": "Sheikh JI, Yesavage JA",
        "doi": "10.1300/J018v05n01_09",
        "id": "sheikh-1986",
        "source": "Clin Gerontol. 1986;5(1-2):165-173",
        "title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"
      },
      "formula": "gds_15",
      "formula_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands",
      "max_score": 15,
      "score": 0
    }
  ]
}

Response

Field Type Description
formula string gds_15
formula_expression string Exact expression used
score integer Sheikh 1986 GDS-15 sum of fifteen yes/no items after reverse scoring (total 0-15)
max_score integer Always 15
components array Per-item points. present is true when the answer is in the Sheikh 1986 depression direction.
citation object Sheikh and Yesavage Clin Gerontol 1986 citation
disclaimer string Not-a-device notice

Example JSON

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

{
  "components": [
    {
      "factor": "satisfied_with_life",
      "points": 0,
      "present": false
    },
    {
      "factor": "dropped_activities",
      "points": 0,
      "present": false
    },
    {
      "factor": "life_empty",
      "points": 0,
      "present": false
    },
    {
      "factor": "often_bored",
      "points": 0,
      "present": false
    },
    {
      "factor": "good_spirits",
      "points": 0,
      "present": false
    },
    {
      "factor": "afraid_something_bad",
      "points": 0,
      "present": false
    },
    {
      "factor": "happy_most_of_time",
      "points": 0,
      "present": false
    },
    {
      "factor": "often_helpless",
      "points": 0,
      "present": false
    },
    {
      "factor": "prefer_stay_home",
      "points": 0,
      "present": false
    },
    {
      "factor": "more_memory_problems",
      "points": 0,
      "present": false
    },
    {
      "factor": "wonderful_to_be_alive",
      "points": 0,
      "present": false
    },
    {
      "factor": "pretty_worthless",
      "points": 0,
      "present": false
    },
    {
      "factor": "full_of_energy",
      "points": 0,
      "present": false
    },
    {
      "factor": "situation_hopeless",
      "points": 0,
      "present": false
    },
    {
      "factor": "most_people_better_off",
      "points": 0,
      "present": false
    }
  ],
  "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": "Sheikh JI, Yesavage JA",
    "doi": "10.1300/J018v05n01_09",
    "id": "sheikh-1986",
    "source": "Clin Gerontol. 1986;5(1-2):165-173",
    "title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version"
  },
  "formula": "gds_15",
  "formula_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands",
  "max_score": 15,
  "score": 0
}

Client errors (HTTP 400)

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

HTTP Code When
400 invalid_gds GDS-15 needs the fifteen Sheikh 1986 yes/no items as true or false. Returned before settlement; you are not charged.
400 invalid_flag boolean clinical flags must be true or false 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

  • PHQ-9 — Sum nine caller-assigned Kroenke 2001 PHQ-9 integers (0-3) and return the published total (max 27), severity cutpoints, and ≥10 screen.
  • MADRS — Sum ten caller-assigned Montgomery 1979 MADRS items (each integer 0-6) and return the published 0-60 total. Does not apply later total-score severity bands.
  • HAM-D — Sum seventeen caller-assigned Hamilton 1960 items (eight integers 0-4 and nine integers 0-2) and return the published 0-50 total. Does not apply later total-score severity bands or the four excluded 21-item variables.

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. 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

  • 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.