# Mallampati Score Lookup (Samsoon 1987 Modified)

> Mallampati Score Lookup (Samsoon 1987 Modified) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Accepts a caller-assigned Samsoon 1987 modified Mallampati class (integer 1–4) and returns the validated score, its maximum, and a stable class label.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mallampati
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mallampati-score-lookup-samsoon-1987-modified-9ed43c87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7msrh5jVZ2SPEOPfbz4np

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mallampati-score-lookup-samsoon-1987-modified-9ed43c87
```

Example prompt: I've assessed the patient's airway and assigned a modified Mallampati class of 3 — can you look up the canonical Samsoon 1987 label and score for that class?

## When to prefer this

Use this endpoint when you have already assigned a modified Mallampati class (Samsoon 1987, classes 1–4) and need to retrieve the validated score, its maximum, and a stable canonical label — not when you need to perform the physical airway assessment itself or compute Cormack-Lehane grades.

## Known failure modes

- Input integer outside 1–4 range returns an error or unexpected result
- Non-integer value for mallampati parameter causes a 400 bad request
- Missing required query parameter mallampati results in an error response
- Confusion with the original 1985 three-class Mallampati or Cormack-Lehane grading system if caller uses wrong class numbering

## How this service works

Samsoon 1987 modified Mallampati: caller-assigned integer class 1-4 (I: soft palate, fauces, uvula, pillars; II: soft palate, fauces, uvula; III: soft palate, base of uvula; IV: soft palate not visible). Returns score, max 4, and a stable class label. Not original Mallampati 1985 three-class and not a Cormack-Lehane grade; magent does not look in the mouth or assign an intubation order.

## Output

Returns the numeric Mallampati score (matching the input class), the maximum possible score (4), and a stable canonical class label describing the anatomical structures visible (e.g. 'soft palate, base of uvula' for class 3).

## Request schema (JSON Schema)

```json
{
 "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": [
      "mallampati"
     ],
     "properties": {
      "mallampati": {
       "type": "integer",
       "description": "Samsoon 1987 modified Mallampati class 1-4 as assigned by the caller (1: soft palate, fauces, uvula, pillars; 2: soft palate, fauces, uvula; 3: soft palate, base of uvula; 4: soft palate not visible at all). Not original Mallampati 1985 three-class. Not a Cormack-Lehane grade. magent does not look in the mouth."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mallampati-score-lookup-samsoon-1987-modified-9ed43c87/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
