{"uid":"cap_lreWdhwc_o_VoctA3iDbK","slug":"magent-hamilton-anxiety-scale-ham-a-calculator-aa2c6c95","name":"magent Hamilton Anxiety Scale (HAM-A) Calculator","description":"Hamilton 1959 HAM-A: 14 caller-assigned integers 0-4 (0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe) for anxious mood, tension, fears, insomnia, intellectual, depressed mood, somatic muscular, somatic sensory, cardiovascular, respiratory, gastrointestinal, genitourinary, autonomic, and behaviour at interview. Sum 0-56. magent does not interview the patient. No total-score severity bands in Hamilton 1959; later 17/24 cutoffs are not applied. Not a diagnosis and not a medical device.","url":"https://api.magentlab.com/api/calc/hamilton_anxiety","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["anxious_mood","tension","fears","insomnia","intellectual","depressed_mood","somatic_muscular","somatic_sensory","cardiovascular","respiratory","gastrointestinal","genitourinary","autonomic","interview_behavior"],"properties":{"fears":{"type":"integer","description":"Caller-assigned Hamilton 1959 fears (integer 0-4): of dark, of strangers, of being left alone, of animals, of traffic, of crowds. magent does not interview the patient."},"tension":{"type":"integer","description":"Caller-assigned Hamilton 1959 tension (integer 0-4): feelings of tension, fatigability, startle response, moved to tears easily, trembling, restlessness, inability to relax. magent does not interview the patient."},"insomnia":{"type":"integer","description":"Caller-assigned Hamilton 1959 insomnia (integer 0-4): difficulty falling asleep, broken sleep, unsatisfying sleep and fatigue on waking, dreams, nightmares, night terrors. magent does not interview the patient."},"autonomic":{"type":"integer","description":"Caller-assigned Hamilton 1959 autonomic symptoms (integer 0-4): dry mouth, flushing, pallor, tendency to sweat, giddiness, tension headache, raising of hair. magent does not interview the patient."},"respiratory":{"type":"integer","description":"Caller-assigned Hamilton 1959 respiratory symptoms (integer 0-4): pressure or constriction in chest, choking feelings, sighing, dyspnea. magent does not interview the patient."},"anxious_mood":{"type":"integer","description":"Caller-assigned Hamilton 1959 anxious mood (integer 0-4: 0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe): worries, anticipation of the worst, fearful anticipation, irritability. magent does not interview the patient."},"intellectual":{"type":"integer","description":"Caller-assigned Hamilton 1959 intellectual / cognitive (integer 0-4): difficulty in concentration, poor memory. magent does not interview the patient."},"genitourinary":{"type":"integer","description":"Caller-assigned Hamilton 1959 genito-urinary symptoms (integer 0-4): frequency or urgency of micturition, amenorrhea, menorrhagia, development of frigidity, premature ejaculation, loss of libido, impotence. magent does not interview the patient."},"cardiovascular":{"type":"integer","description":"Caller-assigned Hamilton 1959 cardiovascular symptoms (integer 0-4): tachycardia, palpitations, pain in chest, throbbing of vessels, fainting feelings, missing beat. magent does not interview the patient."},"depressed_mood":{"type":"integer","description":"Caller-assigned Hamilton 1959 depressed mood (integer 0-4): loss of interest, lack of pleasure in hobbies, depression, early waking, diurnal swing. magent does not interview the patient."},"somatic_sensory":{"type":"integer","description":"Caller-assigned Hamilton 1959 somatic (sensory) (integer 0-4): tinnitus, blurring of vision, hot and cold flushes, feelings of weakness, pricking sensation. magent does not interview the patient."},"gastrointestinal":{"type":"integer","description":"Caller-assigned Hamilton 1959 gastro-intestinal symptoms (integer 0-4): difficulty in swallowing, wind, abdominal pain, burning sensations, abdominal fullness, nausea, vomiting, borborygmi, looseness of bowels, loss of weight, constipation. magent does not interview the patient."},"somatic_muscular":{"type":"integer","description":"Caller-assigned Hamilton 1959 somatic (muscular) (integer 0-4): pains and aches, twitching, stiffness, myoclonic jerks, grinding of teeth, unsteady voice, increased muscular tone. magent does not interview the patient."},"interview_behavior":{"type":"integer","description":"Caller-assigned Hamilton 1959 behaviour at interview (integer 0-4): fidgeting, restlessness or pacing, tremor of hands, furrowed brow, strained face, sighing or rapid respiration, facial pallor, swallowing. magent does not interview the patient."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JCJ_fe0M7rtcgtC3Avgs_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Hamilton 1959 HAM-A total anxiety score (0–56) from 14 caller-assigned subscale ratings, without applying unofficial severity cutoffs or performing patient interviews.","exampleAgentPrompt":"Calculate the HAM-A total score for a patient whose clinician assigned these Hamilton 1959 ratings: anxious mood 2, tension 3, fears 1, insomnia 2, intellectual 1, depressed mood 2, somatic muscular 2, somatic sensory 1, cardiovascular 1, respiratory 1, gastrointestinal 2, genitourinary 0, autonomic 2, and interview behavior 2.","exampleUseCases":[{"title":"Clinical trial anxiety baseline scoring","prompt":"I need to record a Hamilton Anxiety baseline for a trial participant — the clinician rated: anxious mood 3, tension 3, fears 2, insomnia 3, intellectual 2, depressed mood 2, somatic muscular 2, somatic sensory 2, cardiovascular 1, respiratory 1, gastrointestinal 2, genitourinary 1, autonomic 2, interview behavior 3. Can you compute the HAM-A total?"},{"title":"Pre-treatment vs post-treatment anxiety comparison","prompt":"The clinician scored a patient before therapy as: anxious mood 3, tension 2, fears 2, insomnia 2, intellectual 2, depressed mood 2, somatic muscular 1, somatic sensory 1, cardiovascular 1, respiratory 1, gastrointestinal 1, genitourinary 0, autonomic 1, interview behavior 2 — compute the Hamilton 1959 HAM-A sum so we can compare it with their post-treatment score."},{"title":"Research data pipeline anxiety quantification","prompt":"For a batch of research records I'm processing, compute the Hamilton Anxiety total for one patient with clinician-assigned scores: anxious mood 1, tension 1, fears 0, insomnia 1, intellectual 0, depressed mood 1, somatic muscular 0, somatic sensory 0, cardiovascular 0, respiratory 0, gastrointestinal 1, genitourinary 0, autonomic 1, interview behavior 1."}],"resultDescription":"Returns the HAM-A total score as a sum of the 14 subscale integer inputs (range 0–56), computed strictly per Hamilton 1959. No severity band labels or diagnostic conclusions are applied; the response reflects only the arithmetic sum.","failureModes":["Missing required subscale parameter — returns validation error","Subscale value outside 0–4 integer range — returns validation error","Non-integer value supplied for a subscale — returns schema error","Network timeout or API unavailability — returns HTTP 5xx error","Payment not attached or insufficient — returns HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a standards-compliant, reproducible Hamilton 1959 HAM-A total score from clinician-assigned subscale ratings in an automated pipeline, without needing the endpoint to conduct or interpret patient interviews. Prefer it over manual summation when auditability, consistency, and API-level logging of the 14-item input set matter. Do not use it as a diagnostic tool or medical device — it is a calculation utility only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:15:39.055Z","isFirstParty":false}