{"uid":"cap_IYulOLIRaeoZ5il5ddVl0","slug":"magent-bars-score-lookup-72c35f32","name":"magent BARS Score Lookup","description":"Swift 2002 Behavioural Activity Rating Scale (BARS): caller-assigned integer 1-7 (difficult or unable to rouse; asleep but responds normally to verbal or physical contact; drowsy, appears sedated; quiet and awake, normal activity; signs of overt physical or verbal activity, calms with instructions; extremely or continuously active, not requiring restraint; violent, requires restraint). Returns score, max 7, and a stable label. Not RASS and not a diagnosis. magent does not observe the patient.","url":"https://api.magentlab.com/api/calc/bars","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":["bars"],"properties":{"bars":{"type":"integer","description":"Swift 2002 Behavioural Activity Rating Scale integer 1, 2, 3, 4, 5, 6, or 7 as assigned by the caller (1 difficult or unable to rouse; 2 asleep but responds normally to verbal or physical contact; 3 drowsy, appears sedated; 4 quiet and awake, normal level of activity; 5 signs of overt physical or verbal activity, calms with instructions; 6 extremely or continuously active, not requiring restraint; 7 violent, requires restraint). magent does not observe 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_mHRscqGoi0VlDwQsULz4S","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":"Returns the Swift 2002 Behavioural Activity Rating Scale (BARS) label and max score for a caller-assigned integer 1–7 describing patient sedation/agitation level.","exampleAgentPrompt":"The patient is extremely and continuously active but doesn't require restraint — can you look up the BARS score and label for that level using the Swift 2002 scale? That should be a 6.","exampleUseCases":[{"title":"ICU sedation documentation","prompt":"My patient is quiet and awake with a normal level of activity — look up the BARS label for score 4 on the Swift 2002 scale so I can document it accurately."},{"title":"Agitation triage in ED","prompt":"The patient in bay 3 is violent and requires restraint. What's the BARS label and score for that — I believe that's a 7?"},{"title":"Nursing handoff standardization","prompt":"I need the official BARS label for a patient who is asleep but responds normally to verbal or physical contact — can you pull that for score 2?"}],"resultDescription":"Returns the BARS integer score as provided, the maximum possible BARS score (7), and a stable clinical label corresponding to the input integer (e.g. 'quiet and awake, normal level of activity' for a score of 4). No diagnosis is generated; magent does not observe the patient.","failureModes":["Input integer outside 1–7 range returns an error or unexpected result","Non-integer input (e.g. decimal or string) may fail schema validation","Missing required 'bars' query parameter results in a request error","Payment failure (x402 protocol) prevents response"],"whenToPreferThis":"Use this endpoint when you need a standardized, stable label for a caller-assigned Swift 2002 BARS integer within an automated or agentic clinical documentation workflow. Prefer it over RASS-based endpoints when the assessment protocol specifically calls for the Behavioural Activity Rating Scale. Not a substitute for direct clinical observation or diagnosis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:02:02.969Z","isFirstParty":false}