{
  "x402Version": 2,
  "id": 39050,
  "slug": "39050",
  "resource": "https://api.magentlab.com/api/calc/madrs",
  "description": "Montgomery 1979 MADRS: ten caller-assigned integers 0-6 (apparent sadness, reported sadness, inner tension, reduced sleep, reduced appetite, concentration difficulties, lassitude, inability to feel, pessimistic thoughts, suicidal thoughts). Sum 0-60. magent does not interview. Montgomery 1979 printed no total-score severity bands; later 0-6/7-19/20-34/35-60 cutoffs are not applied. Not a diagnosis, not Hamilton 1960, not PHQ-9, and not a medical device.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "apparent_sadness": 0,
                "concentration_difficulties": 0,
                "inability_to_feel": 0,
                "inner_tension": 0,
                "lassitude": 0,
                "pessimistic_thoughts": 0,
                "reduced_appetite": 0,
                "reduced_sleep": 0,
                "reported_sadness": 0,
                "suicidal_thoughts": 0
              },
              {
                "apparent_sadness": 0,
                "concentration_difficulties": 0,
                "inability_to_feel": 0,
                "inner_tension": 0,
                "lassitude": 0,
                "pessimistic_thoughts": 0,
                "reduced_appetite": 0,
                "reduced_sleep": 0,
                "reported_sadness": 0,
                "suicidal_thoughts": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Montgomery SA, Åsberg M",
                  "doi": "10.1192/bjp.134.4.382",
                  "id": "montgomery-1979",
                  "pmid": "444788",
                  "source": "Br J Psychiatry. 1979;134:382-389",
                  "title": "A new depression scale designed to be sensitive to change"
                },
                "components": [
                  {
                    "factor": "apparent_sadness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reported_sadness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "inner_tension",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reduced_sleep",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reduced_appetite",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "concentration_difficulties",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "lassitude",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "inability_to_feel",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pessimistic_thoughts",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "suicidal_thoughts",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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.",
                "formula": "madrs",
                "formula_expression": "MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands",
                "max_score": 60,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Montgomery SA, Åsberg M",
                  "doi": "10.1192/bjp.134.4.382",
                  "id": "montgomery-1979",
                  "pmid": "444788",
                  "source": "Br J Psychiatry. 1979;134:382-389",
                  "title": "A new depression scale designed to be sensitive to change"
                },
                "components": [
                  {
                    "factor": "apparent_sadness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reported_sadness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "inner_tension",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reduced_sleep",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "reduced_appetite",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "concentration_difficulties",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "lassitude",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "inability_to_feel",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pessimistic_thoughts",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "suicidal_thoughts",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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.",
                "formula": "madrs",
                "formula_expression": "MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands",
                "max_score": 60,
                "score": 0
              }
            ],
            "path": "/api/calc/madrs"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "apparent_sadness": {
                          "description": "Caller-assigned Montgomery 1979 apparent sadness (integer 0-6): despondency, gloom, and despair reflected in speech, facial expression, and posture, rated by depth and inability to brighten up. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "concentration_difficulties": {
                          "description": "Caller-assigned Montgomery 1979 concentration difficulties (integer 0-6): difficulty collecting one's thoughts mounting to incapacitating lack of concentration. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "inability_to_feel": {
                          "description": "Caller-assigned Montgomery 1979 inability to feel (integer 0-6): reduced interest in surroundings or activities that normally give pleasure, or reduced ability to react with adequate emotion. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "inner_tension": {
                          "description": "Caller-assigned Montgomery 1979 inner tension (integer 0-6): ill-defined discomfort, edginess, inner turmoil, or mental tension mounting to panic, dread, or anguish. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "lassitude": {
                          "description": "Caller-assigned Montgomery 1979 lassitude (integer 0-6): difficulty getting started or slowness initiating and performing everyday activities. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "pessimistic_thoughts": {
                          "description": "Caller-assigned Montgomery 1979 pessimistic thoughts (integer 0-6): thoughts of guilt, inferiority, self-reproach, sinfulness, remorse, or ruin. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "reduced_appetite": {
                          "description": "Caller-assigned Montgomery 1979 reduced appetite (integer 0-6): loss of desire for food or the need to force oneself to eat compared with when well. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "reduced_sleep": {
                          "description": "Caller-assigned Montgomery 1979 reduced sleep (integer 0-6): reduced duration or depth of sleep compared with the subject's own normal pattern when well. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "reported_sadness": {
                          "description": "Caller-assigned Montgomery 1979 reported sadness (integer 0-6): reports of depressed mood, low spirits, despondency, or feeling beyond help, regardless of appearance. magent does not interview the patient.",
                          "type": "integer"
                        },
                        "suicidal_thoughts": {
                          "description": "Caller-assigned Montgomery 1979 suicidal thoughts (integer 0-6): feeling that life is not worth living, that a natural death would be welcome, suicidal thoughts, or preparations for suicide. A suicide attempt should not in itself influence the rating. magent does not interview the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "apparent_sadness",
                        "reported_sadness",
                        "inner_tension",
                        "reduced_sleep",
                        "reduced_appetite",
                        "concentration_difficulties",
                        "lassitude",
                        "inability_to_feel",
                        "pessimistic_thoughts",
                        "suicidal_thoughts"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "madrs",
    "depression",
    "montgomery",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:06:30.615Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T08:06:30.497Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "apparent_sadness": 0,
                  "concentration_difficulties": 0,
                  "inability_to_feel": 0,
                  "inner_tension": 0,
                  "lassitude": 0,
                  "pessimistic_thoughts": 0,
                  "reduced_appetite": 0,
                  "reduced_sleep": 0,
                  "reported_sadness": 0,
                  "suicidal_thoughts": 0
                },
                {
                  "apparent_sadness": 0,
                  "concentration_difficulties": 0,
                  "inability_to_feel": 0,
                  "inner_tension": 0,
                  "lassitude": 0,
                  "pessimistic_thoughts": 0,
                  "reduced_appetite": 0,
                  "reduced_sleep": 0,
                  "reported_sadness": 0,
                  "suicidal_thoughts": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Montgomery SA, Åsberg M",
                    "doi": "10.1192/bjp.134.4.382",
                    "id": "montgomery-1979",
                    "pmid": "444788",
                    "source": "Br J Psychiatry. 1979;134:382-389",
                    "title": "A new depression scale designed to be sensitive to change"
                  },
                  "components": [
                    {
                      "factor": "apparent_sadness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reported_sadness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "inner_tension",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reduced_sleep",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reduced_appetite",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "concentration_difficulties",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "lassitude",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "inability_to_feel",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pessimistic_thoughts",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "suicidal_thoughts",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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.",
                  "formula": "madrs",
                  "formula_expression": "MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands",
                  "max_score": 60,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Montgomery SA, Åsberg M",
                    "doi": "10.1192/bjp.134.4.382",
                    "id": "montgomery-1979",
                    "pmid": "444788",
                    "source": "Br J Psychiatry. 1979;134:382-389",
                    "title": "A new depression scale designed to be sensitive to change"
                  },
                  "components": [
                    {
                      "factor": "apparent_sadness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reported_sadness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "inner_tension",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reduced_sleep",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "reduced_appetite",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "concentration_difficulties",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "lassitude",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "inability_to_feel",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pessimistic_thoughts",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "suicidal_thoughts",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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.",
                  "formula": "madrs",
                  "formula_expression": "MADRS = apparent_sadness + reported_sadness + inner_tension + reduced_sleep + reduced_appetite + concentration_difficulties + lassitude + inability_to_feel + pessimistic_thoughts + suicidal_thoughts; each caller-assigned 0-6; Montgomery 1979 ten items; max 60; no total-score severity bands",
                  "max_score": 60,
                  "score": 0
                }
              ],
              "path": "/api/calc/madrs"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "apparent_sadness": {
                            "description": "Caller-assigned Montgomery 1979 apparent sadness (integer 0-6): despondency, gloom, and despair reflected in speech, facial expression, and posture, rated by depth and inability to brighten up. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "concentration_difficulties": {
                            "description": "Caller-assigned Montgomery 1979 concentration difficulties (integer 0-6): difficulty collecting one's thoughts mounting to incapacitating lack of concentration. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "inability_to_feel": {
                            "description": "Caller-assigned Montgomery 1979 inability to feel (integer 0-6): reduced interest in surroundings or activities that normally give pleasure, or reduced ability to react with adequate emotion. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "inner_tension": {
                            "description": "Caller-assigned Montgomery 1979 inner tension (integer 0-6): ill-defined discomfort, edginess, inner turmoil, or mental tension mounting to panic, dread, or anguish. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "lassitude": {
                            "description": "Caller-assigned Montgomery 1979 lassitude (integer 0-6): difficulty getting started or slowness initiating and performing everyday activities. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "pessimistic_thoughts": {
                            "description": "Caller-assigned Montgomery 1979 pessimistic thoughts (integer 0-6): thoughts of guilt, inferiority, self-reproach, sinfulness, remorse, or ruin. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "reduced_appetite": {
                            "description": "Caller-assigned Montgomery 1979 reduced appetite (integer 0-6): loss of desire for food or the need to force oneself to eat compared with when well. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "reduced_sleep": {
                            "description": "Caller-assigned Montgomery 1979 reduced sleep (integer 0-6): reduced duration or depth of sleep compared with the subject's own normal pattern when well. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "reported_sadness": {
                            "description": "Caller-assigned Montgomery 1979 reported sadness (integer 0-6): reports of depressed mood, low spirits, despondency, or feeling beyond help, regardless of appearance. magent does not interview the patient.",
                            "type": "integer"
                          },
                          "suicidal_thoughts": {
                            "description": "Caller-assigned Montgomery 1979 suicidal thoughts (integer 0-6): feeling that life is not worth living, that a natural death would be welcome, suicidal thoughts, or preparations for suicide. A suicide attempt should not in itself influence the rating. magent does not interview the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "apparent_sadness",
                          "reported_sadness",
                          "inner_tension",
                          "reduced_sleep",
                          "reduced_appetite",
                          "concentration_difficulties",
                          "lassitude",
                          "inability_to_feel",
                          "pessimistic_thoughts",
                          "suicidal_thoughts"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}