{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.hlaverify.com",
    "site": "hlaverify.com",
    "addresses": [
      {
        "address": "104.21.62.202",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.48.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.232",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::ac43:8ae8",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3034::6815:3eca",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3034::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.202",
          "172.67.138.232",
          "2606:4700:3032::ac43:8ae8",
          "2606:4700:3034::6815:3eca"
        ],
        "first_seen": "2026-11-23T14:57:03.103Z",
        "last_seen": "2026-11-23T14:57:03.103Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.138.232",
          "104.21.62.202",
          "2606:4700:3032::ac43:8ae8",
          "2606:4700:3034::6815:3eca"
        ],
        "first_seen": "2026-11-22T14:56:03.046Z",
        "last_seen": "2026-11-22T14:56:03.046Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "hla-verify",
      "version": "1.0.1",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "29056",
          "url": "https://kr-public-mcp.songdonghyeon01.workers.dev/mcp",
          "server_name": "io.github.donghyeon01/kr-public-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T23:47:01.206Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.hlaverify",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/jasonbrelsford/verifiable-science-envs",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "10996",
    "server_name": "com.hlaverify/hla-verify",
    "url": "https://api.hlaverify.com/mcp",
    "host": "api.hlaverify.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T14:57:03.103Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "511293f5adc71cbc657a247bf40bdb7be85d2dd2b97ca9b66b60ee9539f4c5df",
    "first_listed_at": "2026-11-21T08:58:03.619Z",
    "created_at": "2026-11-21T06:00:03.535Z",
    "resolved_addresses": [
      "104.21.62.202",
      "172.67.138.232",
      "2606:4700:3032::ac43:8ae8",
      "2606:4700:3034::6815:3eca"
    ]
  },
  "server": {
    "name": "com.hlaverify/hla-verify",
    "title": "HLA-Verify",
    "description": "HLA nomenclature and match checks against a pinned IPD-IMGT/HLA release. No patient identifiers.",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": "https://github.com/jasonbrelsford/verifiable-science-envs",
    "website_url": "https://hlaverify.com",
    "published_at": "2026-09-16T14:55:19.592Z",
    "updated_at": "2026-09-16T14:55:19.592Z",
    "first_seen": "2026-11-21T06:00:02.713Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:10:10.478Z"
  },
  "operator": {
    "key": "hlaverify.com",
    "name": "hlaverify.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 144,
    "first_check_in_window": "2026-11-21T08:58:03.619Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "511293f5adc71cbc657a247bf40bdb7be85d2dd2b97ca9b66b60ee9539f4c5df",
    "tools": 15,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T08:58:03.748Z",
    "tool_names": [
      "verify_text",
      "normalize_allele",
      "allele_info",
      "match_score",
      "check_typing",
      "donor_compat",
      "validate_gl_string",
      "pgx_lookup",
      "pgx_pair",
      "translate_names",
      "release_diff",
      "allele_history",
      "beta_signup",
      "research_access",
      "about"
    ],
    "declared": {
      "tools": [
        {
          "name": "verify_text",
          "description": "Scan HLA typing report text, or model output about HLA, for allele-shaped tokens and classify each one: valid / legacy spelling such as A*0201 or Cw*0702 (valid, with modern form and flag deprecated_name) / G-P group / deleted (with successor) / hallucinated (an invented name, never passed as real) / NMDP MAC code (seen, not expanded) / KIR name (out of scope, not checked); a valid token with fewer than four fields carries resolution, what that field count does and does not distinguish. Nomenclature checking against a pinned IPD-IMGT/HLA release, not interpretation of a case. Use on any AI-generated or transcribed content mentioning HLA. Send the HLA content only, with patient identifiers removed first.",
          "inputSchema": {
            "type": "object",
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 200000,
                "description": "HLA typing report text, or model output about HLA typing, to scan for allele names. Send the HLA content only: strip patient names, medical record numbers, dates of birth, accession and case identifiers, and any other patient details before sending. The caller is responsible for de-identifying the text; this service neither needs nor wants identifiers and does not store request bodies."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "tokens",
              "counts",
              "clean"
            ],
            "properties": {
              "clean": {
                "type": "boolean",
                "description": "The guardrail: true only when no token is hallucinated, fabricated_group or deleted. Gate on this before presenting the text. NMDP multiple allele codes (counts.mac_code) and KIR allele names (counts.out_of_scope) are not checked — treat them as unverified."
              },
              "counts": {
                "type": "object",
                "required": [
                  "valid",
                  "deleted",
                  "group",
                  "fabricated_group",
                  "hallucinated",
                  "mac_code",
                  "out_of_scope"
                ],
                "properties": {
                  "group": {
                    "type": "integer"
                  },
                  "valid": {
                    "type": "integer"
                  },
                  "deleted": {
                    "type": "integer"
                  },
                  "mac_code": {
                    "type": "integer",
                    "description": "NMDP multiple allele codes (A*02:AB) seen but not expanded."
                  },
                  "hallucinated": {
                    "type": "integer"
                  },
                  "out_of_scope": {
                    "type": "integer",
                    "description": "KIR allele names (KIR3DL1*001) seen; a gene family outside IPD-IMGT/HLA, not checked."
                  },
                  "fabricated_group": {
                    "type": "integer"
                  }
                },
                "description": "Number of distinct tokens per status."
              },
              "tokens": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token",
                    "status",
                    "note"
                  ],
                  "properties": {
                    "note": {
                      "type": "string",
                      "description": "Human-readable meaning of status."
                    },
                    "flags": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "token": {
                      "type": "string",
                      "description": "The token without any HLA- prefix."
                    },
                    "status": {
                      "enum": [
                        "valid",
                        "group",
                        "deleted",
                        "fabricated_group",
                        "hallucinated",
                        "mac_code",
                        "out_of_scope"
                      ],
                      "type": "string",
                      "description": "valid: assigned (or a valid prefix; A*02:XX and two-field A*02:01g are checked by the name they abbreviate, and a legacy spelling such as A*0201, Cw*0702 or Cw*07:02 by the current name it stands for, with flag deprecated_name); group: a real G/P group; deleted: no longer current (see successor); fabricated_group: G/P-shaped but no such group; hallucinated: never existed in any release; mac_code: an NMDP multiple allele code, reporting shorthand this service does not expand; out_of_scope: a KIR allele name (IPD-KIR), outside IPD-IMGT/HLA and not checked."
                    },
                    "g_group": {
                      "type": "string",
                      "description": "G group; NONE or AMBIGUOUS when there is no single group."
                    },
                    "successor": {
                      "type": "string",
                      "description": "deleted: the name it was renamed to, when known."
                    },
                    "resolution": {
                      "type": "object",
                      "required": [
                        "fields",
                        "level",
                        "distinguishes"
                      ],
                      "properties": {
                        "level": {
                          "enum": [
                            "allele_group",
                            "protein",
                            "coding_sequence"
                          ],
                          "type": "string",
                          "description": "1 field: allele_group; 2: protein; 3: coding_sequence."
                        },
                        "fields": {
                          "enum": [
                            1,
                            2,
                            3
                          ],
                          "type": "integer",
                          "description": "Number of colon-separated fields in the name."
                        },
                        "distinguishes": {
                          "type": "string",
                          "description": "What finer typing at the next field would add."
                        }
                      },
                      "description": "Present on a name with fewer than four fields: what this resolution level does and does not distinguish."
                    },
                    "current_2field": {
                      "type": "string",
                      "description": "valid/deleted tokens that resolve: current 2-field form."
                    }
                  }
                },
                "description": "Each distinct allele-shaped token found, sorted by token."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "normalize_allele",
          "description": "Normalize one reported HLA allele name (any era or reporting shorthand: legacy A*0101, Cw*0702 or Cw*07:02, G/P group names, A*02:XX, two-field A*02:01g, optional HLA- prefix) to current 2-field form, with G group, P group, serologic equivalent, and flags. NMDP MAC codes (A*02:AB) are recognised but not expanded (flag mac_code). A name that does not exist comes back UNRESOLVABLE (flag nonexistent_allele), never corrected to a nearby real one.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 64,
                "description": "One reported HLA allele name, any nomenclature era. An allele string only, never a patient name, medical record number or other identifier."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "reported",
              "current_name",
              "allele_2field",
              "g_group",
              "flags"
            ],
            "properties": {
              "flags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "e.g. deprecated_name, legacy_rollover (a pre-2010 rollover name such as A*9201, resolved through the official 2010 mapping to A*02:101), nonexistent_allele, null_allele, g_group_name, p_group_name, xx_code, lg_notation, mac_code."
              },
              "g_group": {
                "type": "string",
                "description": "G group; NONE (no group), AMBIGUOUS (members differ) or UNRESOLVABLE."
              },
              "reported": {
                "type": "string",
                "description": "The input, verbatim."
              },
              "current_name": {
                "type": "string",
                "description": "Current full name in the pinned release, or UNRESOLVABLE."
              },
              "allele_2field": {
                "type": "string",
                "description": "Current 2-field form, or UNRESOLVABLE. Never present an UNRESOLVABLE name as an allele."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "allele_info",
          "description": "Look up one name in the pinned release and return what it is: assigned (G/P group, first release, confirmed status, WMDA serology, null flag), valid_prefix (member count and sample, plus resolution: what a name with fewer than four fields does and does not distinguish), group (a G or P group name: member count and sample), or deleted (successor). Reported shorthands are accepted as /v1/normalize accepts them — legacy spellings (A*0101, Cw*0702, Cw*07:02), the XX code (A*02:XX), two-field A*02:01g, an optional HLA- prefix — and answer with the facts of the name they stand for plus resolves_to and a flag (deprecated_name, xx_code, lg_notation); an NMDP multiple allele code (A*02:AB) returns mac_code, recognised but not expanded. A name that has never existed in any release is refused, not guessed at: the tool returns an error result (HTTP 404 on /v1/allele) and never a near match. A deleted name is answered as deleted, with its successor when the release records one.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 64,
                "description": "An HLA allele name of any era: exact name, lower-resolution prefix, deleted name, G/P group, legacy colon-less name, XX code or lg notation. An allele string only, never a patient name, medical record number or other identifier."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "note": {
                "type": "string",
                "description": "mac_code: what a multiple allele code is and why it is not expanded."
              },
              "flags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Present for a shorthand: deprecated_name (legacy spelling: colon-less A*0101, or the Cw locus label as in Cw*07:02), xx_code, lg_notation, or mac_code. Absent for a plain name."
              },
              "detail": {
                "type": "string",
                "description": "Present only when the name is not assigned in this release (and then no other field is)."
              },
              "status": {
                "enum": [
                  "assigned",
                  "valid_prefix",
                  "group",
                  "deleted",
                  "mac_code"
                ],
                "type": "string",
                "description": "assigned: an exact allele in this release; valid_prefix: a lower-resolution prefix of assigned alleles; group: a G or P group name (see group_type); deleted: withdrawn or renamed (see successor); mac_code: an NMDP multiple allele code (A*02:AB), recognised but not expanded or checked."
              },
              "g_group": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "assigned: G group, or null."
              },
              "ligands": {
                "type": "object",
                "required": [
                  "expressed",
                  "leader_21",
                  "residue_80",
                  "bw",
                  "c_group",
                  "kir_ligand"
                ],
                "properties": {
                  "bw": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Bw4 / Bw6 / non-Bw4 / unclassified / ambiguous / unknown / not_expressed; null for HLA-C."
                  },
                  "c_group": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "C1 / C2 / unclassified / ambiguous / unknown; null when not applicable."
                  },
                  "expressed": {
                    "type": "boolean",
                    "description": "false when every member allele is null (not expressed)."
                  },
                  "leader_21": {
                    "type": "string",
                    "description": "Residue at leader position -21 (M or T; another letter is possible), ambiguous, unknown or not_expressed."
                  },
                  "kir_ligand": {
                    "type": "string",
                    "description": "C1 / C2 / Bw4 / Bw4-80I / Bw4-80T / none / ambiguous / unknown."
                  },
                  "residue_80": {
                    "type": "string",
                    "description": "Residue at position 80 (amino-acid letter), ambiguous, unknown or not_expressed."
                  },
                  "ambiguities": {
                    "type": "object",
                    "description": "For each ambiguous field, the distinct member values.",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "description": "Class I (A/B/C) ligand facts, aggregated over member alleles: 'ambiguous' when members disagree, 'unknown' when no residue data."
              },
              "p_group": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "assigned: P group, or null."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "serology": {
                "type": "object",
                "properties": {
                  "expert": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "assumed": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "possible": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "unambiguous": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "description": "assigned: WMDA serologic equivalents by column (non-empty columns only), as published in rel_dna_ser.txt: an antigen number, '?' (undetermined equivalent) or '∅' (no serological equivalent, null). The lab tools report these as 'uncertain' and 'null'.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "confirmed": {
                "type": "boolean",
                "description": "assigned: confirmed (vs unconfirmed) allele."
              },
              "successor": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "deleted: the current name, or null if none."
              },
              "group_type": {
                "enum": [
                  "G",
                  "P"
                ],
                "type": "string",
                "description": "group: whether the name is a G group (identical exons 2+3 / exon 2) or a P group (identical peptide-binding domain)."
              },
              "resolution": {
                "type": "object",
                "required": [
                  "fields",
                  "level",
                  "distinguishes"
                ],
                "properties": {
                  "level": {
                    "enum": [
                      "allele_group",
                      "protein",
                      "coding_sequence"
                    ],
                    "type": "string",
                    "description": "1 field: allele_group; 2: protein; 3: coding_sequence."
                  },
                  "fields": {
                    "enum": [
                      1,
                      2,
                      3
                    ],
                    "type": "integer",
                    "description": "Number of colon-separated fields in the name."
                  },
                  "distinguishes": {
                    "type": "string",
                    "description": "What finer typing at the next field would add."
                  }
                },
                "description": "Present on a name with fewer than four fields: what this resolution level does and does not distinguish."
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              },
              "null_allele": {
                "type": "boolean",
                "description": "assigned: true for an N (null, not expressed) allele."
              },
              "resolves_to": {
                "type": "string",
                "description": "Present when the name was a reported shorthand (legacy colon-less or Cw spelling, XX code, lg notation): the current-style name it stands for, whose facts this result carries."
              },
              "first_release": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "assigned: first release the exact name appeared in."
              },
              "members_count": {
                "type": "integer",
                "description": "valid_prefix / group: number of assigned alleles under the prefix or in the group."
              },
              "members_sample": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "valid_prefix / group: up to 10 member alleles."
              }
            },
            "description": "Found: release, name, status and the status-specific fields. Never assigned: only `detail`."
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "match_score",
          "description": "Count a donor-recipient HLA match by the published counting rules (R1-R6): allele arithmetic over chromosomes, not a donor recommendation. recipient/donor: {\"A\": [\"A*01:01\",\"A*02:01\"], \"B\": [...], ...} (two reported alleles per locus, any nomenclature era including G/P group names such as A*02:01:01G; allele strings only, no patient identifiers). framework: 6/6, 8/8, 10/10, 12/12, or antigen. Returns count, per-locus verdicts, GvH/HvG mismatch counts, and flags; unresolvable typing yields 'potential', never a confident count.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipient",
              "donor"
            ],
            "properties": {
              "donor": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "framework": {
                "enum": [
                  "6/6",
                  "8/8",
                  "10/10",
                  "12/12",
                  "antigen"
                ],
                "type": "string",
                "default": "8/8"
              },
              "recipient": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "framework",
              "count",
              "verdicts",
              "hvg_mismatches",
              "gvh_mismatches",
              "flags"
            ],
            "properties": {
              "count": {
                "type": "string",
                "description": "'matched/total' over the resolvable loci only, or UNRESOLVABLE when none resolves. Check verdicts for 'potential' loci before quoting it as a confident count."
              },
              "flags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "e.g. resolution_insufficient, null_allele, null_allele_mismatch."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "verdicts": {
                "type": "object",
                "description": "Framework locus -> verdict.",
                "additionalProperties": {
                  "enum": [
                    "match",
                    "mismatch",
                    "potential"
                  ],
                  "type": "string",
                  "description": "potential: typing missing or not resolvable at the framework's level; excluded from count."
                }
              },
              "framework": {
                "enum": [
                  "6/6",
                  "8/8",
                  "10/10",
                  "12/12",
                  "antigen"
                ],
                "type": "string"
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              },
              "gvh_mismatches": {
                "type": "integer",
                "description": "Graft-versus-host mismatches over non-potential loci."
              },
              "hvg_mismatches": {
                "type": "integer",
                "description": "Host-versus-graft mismatches over non-potential loci."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "check_typing",
          "description": "QC-check one HLA typing (all loci) against the pinned release: resolves every reported allele, flags unresolvable/outdated/locus-mismatched/null alleles, flags too-many/single/homozygous per locus, computes the B-leader (-21 M/T) and KIR-ligand (C1/C2/Bw4) profile, and DRB3/4/5 expected-vs-reported. Nomenclature and internal-consistency checking of the report, not clinical interpretation. typing: {\"A\": [\"A*01:01\", \"A*02:01\"], \"B\": [...], \"DRB1\": [...], ...} (any nomenclature era, G/P group names, A*02:XX and two-field A*02:01g included; NMDP MAC codes are flagged, not expanded; allele strings only, no patient identifiers).",
          "inputSchema": {
            "type": "object",
            "required": [
              "typing"
            ],
            "properties": {
              "typing": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "valid",
              "loci",
              "issues",
              "counts",
              "profile",
              "drb345"
            ],
            "properties": {
              "loci": {
                "type": "object",
                "description": "Reported locus key -> one row per reported allele, in input order.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "reported",
                      "status",
                      "current_name",
                      "allele_2field",
                      "g_group",
                      "flags",
                      "antigen"
                    ],
                    "properties": {
                      "flags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "status": {
                        "enum": [
                          "ok",
                          "renamed",
                          "unresolvable"
                        ],
                        "type": "string"
                      },
                      "antigen": {
                        "type": "string",
                        "description": "WMDA serologic antigen, or 'null' (not expressed) / 'uncertain'."
                      },
                      "g_group": {
                        "type": "string",
                        "description": "G group; NONE, AMBIGUOUS or UNRESOLVABLE."
                      },
                      "ligands": {
                        "type": "object",
                        "required": [
                          "expressed",
                          "leader_21",
                          "residue_80",
                          "bw",
                          "c_group",
                          "kir_ligand"
                        ],
                        "properties": {
                          "bw": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Bw4 / Bw6 / non-Bw4 / unclassified / ambiguous / unknown / not_expressed; null for HLA-C."
                          },
                          "c_group": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "C1 / C2 / unclassified / ambiguous / unknown; null when not applicable."
                          },
                          "expressed": {
                            "type": "boolean",
                            "description": "false when every member allele is null (not expressed)."
                          },
                          "leader_21": {
                            "type": "string",
                            "description": "Residue at leader position -21 (M or T; another letter is possible), ambiguous, unknown or not_expressed."
                          },
                          "kir_ligand": {
                            "type": "string",
                            "description": "C1 / C2 / Bw4 / Bw4-80I / Bw4-80T / none / ambiguous / unknown."
                          },
                          "residue_80": {
                            "type": "string",
                            "description": "Residue at position 80 (amino-acid letter), ambiguous, unknown or not_expressed."
                          },
                          "ambiguities": {
                            "type": "object",
                            "description": "For each ambiguous field, the distinct member values.",
                            "additionalProperties": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "description": "Class I (A/B/C) ligand facts, aggregated over member alleles: 'ambiguous' when members disagree, 'unknown' when no residue data."
                      },
                      "reported": {
                        "type": "string"
                      },
                      "current_name": {
                        "type": "string",
                        "description": "Current name, or UNRESOLVABLE."
                      },
                      "allele_2field": {
                        "type": "string",
                        "description": "Current 2-field form, or UNRESOLVABLE."
                      }
                    }
                  }
                }
              },
              "valid": {
                "type": "boolean",
                "description": "true when there are no error-severity issues. Gate on this before using the typing."
              },
              "counts": {
                "type": "object",
                "required": [
                  "error",
                  "warning",
                  "info"
                ],
                "properties": {
                  "info": {
                    "type": "integer"
                  },
                  "error": {
                    "type": "integer"
                  },
                  "warning": {
                    "type": "integer"
                  }
                }
              },
              "drb345": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "expected",
                  "reported",
                  "determinate"
                ],
                "properties": {
                  "expected": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "reported": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "determinate": {
                    "type": "boolean"
                  }
                },
                "description": "DRB3/4/5 expected from DRB1 vs reported; null when DRB1 is not typed."
              },
              "issues": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "severity",
                    "locus",
                    "code",
                    "detail"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "unresolvable, deprecated_name, locus_mismatch, null_allele, too_many_alleles, single_allele, homozygous, drb345_unexpected or drb345_not_reported."
                    },
                    "locus": {
                      "type": "string",
                      "description": "The locus key as reported."
                    },
                    "detail": {
                      "type": "string"
                    },
                    "severity": {
                      "enum": [
                        "error",
                        "warning",
                        "info"
                      ],
                      "type": "string",
                      "description": "Any error makes the typing invalid."
                    }
                  }
                }
              },
              "profile": {
                "type": "object",
                "required": [
                  "b_leader_genotype",
                  "c_kir_ligand_genotype",
                  "kir_ligands_present",
                  "kir_ligand_status"
                ],
                "properties": {
                  "b_leader_genotype": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "HLA-B -21 leader genotype such as M/T ('?' unknown); null when B is not typed."
                  },
                  "kir_ligand_status": {
                    "enum": [
                      "complete",
                      "incomplete"
                    ],
                    "type": "string",
                    "description": "complete only with two classified alleles at each of A, B and C."
                  },
                  "kir_ligands_present": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Sorted subset of C1, C2, Bw4, Bw4-80I, Bw4-80T."
                  },
                  "c_kir_ligand_genotype": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "HLA-C KIR ligand genotype such as C1/C2 ('none', '?'); null when C is not typed."
                  }
                }
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "donor_compat",
          "description": "Donor/recipient immunogenetic compatibility under two published rule sets: HLA-B leader match (-21 M/T, Petersdorf 2020) for a single HLA-B mismatch, and KIR ligand (C1/C2/Bw4) class comparison, computed over each side's full typing QC. Rule checking against published frameworks; it does not rank or recommend a donor. recipient/donor: {\"A\": [...], \"B\": [...], \"C\": [...], \"DRB1\": [...], ...} (allele strings only, no patient identifiers). Decision support only; not a medical device.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipient",
              "donor"
            ],
            "properties": {
              "donor": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "recipient": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "b_leader",
              "kir_ligands",
              "recipient_valid",
              "donor_valid",
              "issues"
            ],
            "properties": {
              "issues": {
                "type": "object",
                "required": [
                  "recipient",
                  "donor"
                ],
                "properties": {
                  "donor": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "severity",
                        "locus",
                        "code",
                        "detail"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "unresolvable, deprecated_name, locus_mismatch, null_allele, too_many_alleles, single_allele, homozygous, drb345_unexpected or drb345_not_reported."
                        },
                        "locus": {
                          "type": "string",
                          "description": "The locus key as reported."
                        },
                        "detail": {
                          "type": "string"
                        },
                        "severity": {
                          "enum": [
                            "error",
                            "warning",
                            "info"
                          ],
                          "type": "string",
                          "description": "Any error makes the typing invalid."
                        }
                      }
                    }
                  },
                  "recipient": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "severity",
                        "locus",
                        "code",
                        "detail"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "unresolvable, deprecated_name, locus_mismatch, null_allele, too_many_alleles, single_allele, homozygous, drb345_unexpected or drb345_not_reported."
                        },
                        "locus": {
                          "type": "string",
                          "description": "The locus key as reported."
                        },
                        "detail": {
                          "type": "string"
                        },
                        "severity": {
                          "enum": [
                            "error",
                            "warning",
                            "info"
                          ],
                          "type": "string",
                          "description": "Any error makes the typing invalid."
                        }
                      }
                    }
                  }
                }
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "b_leader": {
                "type": "object",
                "required": [
                  "recipient",
                  "donor",
                  "b_mismatches",
                  "leader_match",
                  "rule"
                ],
                "properties": {
                  "rule": {
                    "type": "string"
                  },
                  "donor": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Donor HLA-B leader genotype; null when B is not typed."
                  },
                  "recipient": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Recipient HLA-B leader genotype, e.g. M/T; null when B is not typed."
                  },
                  "b_mismatches": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "HLA-B mismatch count; null when B is missing, over-typed or unresolvable on either side."
                  },
                  "leader_match": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Set only for exactly one HLA-B mismatch with a known M/T leader on both mismatched alleles; otherwise null (not assessable)."
                  }
                }
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              },
              "donor_valid": {
                "type": "boolean",
                "description": "Donor typing QC had no errors."
              },
              "kir_ligands": {
                "type": "object",
                "required": [
                  "recipient",
                  "donor",
                  "missing_in_recipient",
                  "missing_in_donor",
                  "status",
                  "rule"
                ],
                "properties": {
                  "rule": {
                    "type": "string"
                  },
                  "donor": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "incomplete"
                    ],
                    "type": "string",
                    "description": "Treat missing_in_* as provisional unless complete."
                  },
                  "recipient": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "KIR ligand classes present (C1, C2, Bw4)."
                  },
                  "missing_in_donor": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "missing_in_recipient": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "recipient_valid": {
                "type": "boolean",
                "description": "Recipient typing QC had no errors."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "validate_gl_string",
          "description": "Validate and normalize a GL String (Genotype List, ^ | + ~ / grammar): resolves every allele token, flags outdated/unresolvable names and structural problems (mixed loci within a slash-list, a repeated locus within a haplotype or across ^ blocks, more than two haplotypes, differing loci across a genotype or genotype list, empty elements), and returns the normalized string. Grammar and nomenclature checking only; send allele names, not patient identifiers.",
          "inputSchema": {
            "type": "object",
            "required": [
              "gl"
            ],
            "properties": {
              "gl": {
                "type": "string",
                "maxLength": 100000,
                "description": "GL String to validate and normalize. Allele names and GL grammar only, never patient identifiers."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "valid",
              "normalized_gl",
              "changed",
              "loci",
              "alleles",
              "issues",
              "counts"
            ],
            "properties": {
              "loci": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "valid": {
                "type": "boolean",
                "description": "true when there are no error-severity issues."
              },
              "counts": {
                "type": "object",
                "required": [
                  "error",
                  "warning"
                ],
                "properties": {
                  "error": {
                    "type": "integer"
                  },
                  "warning": {
                    "type": "integer"
                  }
                }
              },
              "issues": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "severity",
                    "code",
                    "detail"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "unresolvable_allele, renamed_allele, whitespace_in_name, empty_element, mixed_locus_allele_list, haplotype_repeats_locus, genotype_loci_differ, more_than_two_haplotypes, genotype_list_loci_differ or locus_repeated_across_blocks."
                    },
                    "detail": {
                      "type": "string"
                    },
                    "severity": {
                      "enum": [
                        "error",
                        "warning"
                      ],
                      "type": "string"
                    }
                  }
                }
              },
              "alleles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "token",
                    "status",
                    "current_name",
                    "locus"
                  ],
                  "properties": {
                    "locus": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "token": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "valid",
                        "renamed",
                        "group",
                        "unresolvable"
                      ],
                      "type": "string"
                    },
                    "current_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "null when unresolvable."
                    }
                  }
                },
                "description": "Each distinct allele token, in first-seen order."
              },
              "changed": {
                "type": "boolean",
                "description": "normalized_gl differs from the trimmed input."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "attribution": {
                "type": "string",
                "description": "Data attribution (IPD-IMGT/HLA, CC-BY-ND)."
              },
              "normalized_gl": {
                "type": "string",
                "description": "The GL String with outdated names replaced by current ones."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "pgx_lookup",
          "description": "Which drugs an HLA typing carries a published pharmacogenomic association for. Looks each allele up in hla-pgx-open (CPIC guidelines + PharmGKB clinical annotations, CC BY-SA, snapshot date in every answer) after normalizing the name first, so any era or shorthand works (A*3101, B*5701, HLA-B*15:02:01G) and every conversion leaves a flag. Returns per allele the current name, the two-field form, the flags and the associations (source, drug, evidence level, CPIC testing recommendation, implication, recommendation, guideline or annotation URL, PMIDs), plus summary.actionable: the CPIC level-A, allele-positive rows. Guideline lookup over published CPIC and PharmGKB associations, keyed by two-field HLA allele. Decision support only; not a medical device. After an allogeneic transplant the recipient's blood carries the donor's genome, and which genome should drive an HLA-mediated drug alert is an open question (NCT06856226); this lookup reports both and decides nothing. Allele strings only, no patient identifiers.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "typing": {
                "type": "object",
                "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "alleles": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "maxItems": 96,
                "description": "A flat list of reported allele names instead of a typing. Send exactly one of typing or alleles."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "pgx_snapshot",
              "scope",
              "alleles",
              "summary"
            ],
            "properties": {
              "scope": {
                "type": "string"
              },
              "alleles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "reported",
                    "current_name",
                    "allele_2field",
                    "flags",
                    "associations"
                  ],
                  "properties": {
                    "flags": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "reported": {
                      "type": "string"
                    },
                    "associations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "drug": {
                            "type": "string"
                          },
                          "gene": {
                            "type": "string"
                          },
                          "score": {
                            "type": "string"
                          },
                          "allele": {
                            "type": "string"
                          },
                          "source": {
                            "enum": [
                              "cpic",
                              "pharmgkb"
                            ],
                            "type": "string"
                          },
                          "drug_id": {
                            "type": "string"
                          },
                          "population": {
                            "type": "string"
                          },
                          "implication": {
                            "type": "string"
                          },
                          "pgx_testing": {
                            "type": "string"
                          },
                          "allele_status": {
                            "type": "string",
                            "description": "positive / negative / carrier, or empty when the source's label is not a status."
                          },
                          "clinpgx_level": {
                            "type": "string"
                          },
                          "guideline_url": {
                            "type": "string"
                          },
                          "annotation_url": {
                            "type": "string"
                          },
                          "citations_pmid": {
                            "type": "string"
                          },
                          "classification": {
                            "type": "string"
                          },
                          "evidence_level": {
                            "type": "string"
                          },
                          "guideline_name": {
                            "type": "string"
                          },
                          "recommendation": {
                            "type": "string"
                          },
                          "source_record_id": {
                            "type": "string"
                          },
                          "phenotype_category": {
                            "type": "string"
                          },
                          "source_allele_label": {
                            "type": "string"
                          }
                        },
                        "description": "One published association for the allele, as hla-pgx-open records it (CPIC or PharmGKB)."
                      }
                    },
                    "current_name": {
                      "type": "string"
                    },
                    "allele_2field": {
                      "type": "string"
                    }
                  }
                }
              },
              "license": {
                "type": "string"
              },
              "release": {
                "type": "string"
              },
              "summary": {
                "type": "object",
                "properties": {
                  "names": {
                    "type": "integer"
                  },
                  "actionable": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "drug": {
                          "type": "string"
                        },
                        "gene": {
                          "type": "string"
                        },
                        "score": {
                          "type": "string"
                        },
                        "allele": {
                          "type": "string"
                        },
                        "source": {
                          "enum": [
                            "cpic",
                            "pharmgkb"
                          ],
                          "type": "string"
                        },
                        "drug_id": {
                          "type": "string"
                        },
                        "population": {
                          "type": "string"
                        },
                        "implication": {
                          "type": "string"
                        },
                        "pgx_testing": {
                          "type": "string"
                        },
                        "allele_status": {
                          "type": "string",
                          "description": "positive / negative / carrier, or empty when the source's label is not a status."
                        },
                        "clinpgx_level": {
                          "type": "string"
                        },
                        "guideline_url": {
                          "type": "string"
                        },
                        "annotation_url": {
                          "type": "string"
                        },
                        "citations_pmid": {
                          "type": "string"
                        },
                        "classification": {
                          "type": "string"
                        },
                        "evidence_level": {
                          "type": "string"
                        },
                        "guideline_name": {
                          "type": "string"
                        },
                        "recommendation": {
                          "type": "string"
                        },
                        "source_record_id": {
                          "type": "string"
                        },
                        "phenotype_category": {
                          "type": "string"
                        },
                        "source_allele_label": {
                          "type": "string"
                        }
                      },
                      "description": "One published association for the allele, as hla-pgx-open records it (CPIC or PharmGKB)."
                    },
                    "description": "CPIC level-A, allele-positive rows: the ones a prescriber acts on."
                  },
                  "unresolvable": {
                    "type": "integer"
                  },
                  "drugs_actionable": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "with_associations": {
                    "type": "integer"
                  }
                }
              },
              "attribution": {
                "type": "string"
              },
              "pgx_snapshot": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "commit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "description": "The hla-pgx-open snapshot the answer came from (UTC date and git commit)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "pgx_pair",
          "description": "For a donor-recipient pair, which genome carries each actionable HLA-drug association. Screens both typings as pgx_lookup does and marks every CPIC level-A, allele-positive association in_recipient, in_donor, discordant (present in exactly one) and whose_hla (both / recipient_only / donor_only). Guideline lookup over published CPIC and PharmGKB associations, keyed by two-field HLA allele. Decision support only; not a medical device. After an allogeneic transplant the recipient's blood carries the donor's genome, and which genome should drive an HLA-mediated drug alert is an open question (NCT06856226); this lookup reports both and decides nothing. Allele strings only, no patient identifiers.",
          "inputSchema": {
            "type": "object",
            "required": [
              "recipient",
              "donor"
            ],
            "properties": {
              "donor": {
                "type": "object",
                "properties": {
                  "typing": {
                    "type": "object",
                    "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "alleles": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "maxItems": 96
                  }
                },
                "description": "Donor typing: {\"typing\": {...}} or {\"alleles\": [...]}.",
                "additionalProperties": false
              },
              "recipient": {
                "type": "object",
                "properties": {
                  "typing": {
                    "type": "object",
                    "description": "locus -> up to 4 reported allele names. Allele strings only: never patient names, medical record numbers, dates of birth, or accession or case identifiers.",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "alleles": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "maxItems": 96
                  }
                },
                "description": "Recipient typing: {\"typing\": {...}} or {\"alleles\": [...]}.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "release",
              "pgx_snapshot",
              "scope",
              "recipient",
              "donor",
              "actionable",
              "summary"
            ],
            "properties": {
              "donor": {
                "type": "object",
                "properties": {
                  "alleles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "reported",
                        "current_name",
                        "allele_2field",
                        "flags",
                        "associations"
                      ],
                      "properties": {
                        "flags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "reported": {
                          "type": "string"
                        },
                        "associations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "drug": {
                                "type": "string"
                              },
                              "gene": {
                                "type": "string"
                              },
                              "score": {
                                "type": "string"
                              },
                              "allele": {
                                "type": "string"
                              },
                              "source": {
                                "enum": [
                                  "cpic",
                                  "pharmgkb"
                                ],
                                "type": "string"
                              },
                              "drug_id": {
                                "type": "string"
                              },
                              "population": {
                                "type": "string"
                              },
                              "implication": {
                                "type": "string"
                              },
                              "pgx_testing": {
                                "type": "string"
                              },
                              "allele_status": {
                                "type": "string",
                                "description": "positive / negative / carrier, or empty when the source's label is not a status."
                              },
                              "clinpgx_level": {
                                "type": "string"
                              },
                              "guideline_url": {
                                "type": "string"
                              },
                              "annotation_url": {
                                "type": "string"
                              },
                              "citations_pmid": {
                                "type": "string"
                              },
                              "classification": {
                                "type": "string"
                              },
                              "evidence_level": {
                                "type": "string"
                              },
                              "guideline_name": {
                                "type": "string"
                              },
                              "recommendation": {
                                "type": "string"
                              },
                              "source_record_id": {
                                "type": "string"
                              },
                              "phenotype_category": {
                                "type": "string"
                              },
                              "source_allele_label": {
                                "type": "string"
                              }
                            },
                            "description": "One published association for the allele, as hla-pgx-open records it (CPIC or PharmGKB)."
                          }
                        },
                        "current_name": {
                          "type": "string"
                        },
                        "allele_2field": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unresolvable": {
                    "type": "integer"
                  }
                }
              },
              "scope": {
                "type": "string"
              },
              "license": {
                "type": "string"
              },
              "release": {
                "type": "string"
              },
              "summary": {
                "type": "object",
                "properties": {
                  "drugs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "actionable": {
                    "type": "integer"
                  },
                  "discordant": {
                    "type": "integer"
                  }
                }
              },
              "recipient": {
                "type": "object",
                "properties": {
                  "alleles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "reported",
                        "current_name",
                        "allele_2field",
                        "flags",
                        "associations"
                      ],
                      "properties": {
                        "flags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "reported": {
                          "type": "string"
                        },
                        "associations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "drug": {
                                "type": "string"
                              },
                              "gene": {
                                "type": "string"
                              },
                              "score": {
                                "type": "string"
                              },
                              "allele": {
                                "type": "string"
                              },
                              "source": {
                                "enum": [
                                  "cpic",
                                  "pharmgkb"
                                ],
                                "type": "string"
                              },
                              "drug_id": {
                                "type": "string"
                              },
                              "population": {
                                "type": "string"
                              },
                              "implication": {
                                "type": "string"
                              },
                              "pgx_testing": {
                                "type": "string"
                              },
                              "allele_status": {
                                "type": "string",
                                "description": "positive / negative / carrier, or empty when the source's label is not a status."
                              },
                              "clinpgx_level": {
                                "type": "string"
                              },
                              "guideline_url": {
                                "type": "string"
                              },
                              "annotation_url": {
                                "type": "string"
                              },
                              "citations_pmid": {
                                "type": "string"
                              },
                              "classification": {
                                "type": "string"
                              },
                              "evidence_level": {
                                "type": "string"
                              },
                              "guideline_name": {
                                "type": "string"
                              },
                              "recommendation": {
                                "type": "string"
                              },
                              "source_record_id": {
                                "type": "string"
                              },
                              "phenotype_category": {
                                "type": "string"
                              },
                              "source_allele_label": {
                                "type": "string"
                              }
                            },
                            "description": "One published association for the allele, as hla-pgx-open records it (CPIC or PharmGKB)."
                          }
                        },
                        "current_name": {
                          "type": "string"
                        },
                        "allele_2field": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unresolvable": {
                    "type": "integer"
                  }
                }
              },
              "actionable": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "drug": {
                      "type": "string"
                    },
                    "gene": {
                      "type": "string"
                    },
                    "score": {
                      "type": "string"
                    },
                    "allele": {
                      "type": "string"
                    },
                    "source": {
                      "enum": [
                        "cpic",
                        "pharmgkb"
                      ],
                      "type": "string"
                    },
                    "drug_id": {
                      "type": "string"
                    },
                    "in_donor": {
                      "type": "boolean"
                    },
                    "whose_hla": {
                      "enum": [
                        "both",
                        "recipient_only",
                        "donor_only",
                        "neither"
                      ],
                      "type": "string"
                    },
                    "discordant": {
                      "type": "boolean"
                    },
                    "population": {
                      "type": "string"
                    },
                    "implication": {
                      "type": "string"
                    },
                    "pgx_testing": {
                      "type": "string"
                    },
                    "in_recipient": {
                      "type": "boolean"
                    },
                    "allele_status": {
                      "type": "string",
                      "description": "positive / negative / carrier, or empty when the source's label is not a status."
                    },
                    "clinpgx_level": {
                      "type": "string"
                    },
                    "guideline_url": {
                      "type": "string"
                    },
                    "annotation_url": {
                      "type": "string"
                    },
                    "citations_pmid": {
                      "type": "string"
                    },
                    "classification": {
                      "type": "string"
                    },
                    "evidence_level": {
                      "type": "string"
                    },
                    "guideline_name": {
                      "type": "string"
                    },
                    "recommendation": {
                      "type": "string"
                    },
                    "source_record_id": {
                      "type": "string"
                    },
                    "phenotype_category": {
                      "type": "string"
                    },
                    "source_allele_label": {
                      "type": "string"
                    }
                  }
                }
              },
              "attribution": {
                "type": "string"
              },
              "pgx_snapshot": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "commit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "description": "The hla-pgx-open snapshot the answer came from (UTC date and git commit)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "translate_names",
          "description": "Translate HLA allele names from one IPD-IMGT/HLA release to another, through each allele's HLA ID, using the official Allelelist_history.txt (every release since 1.05.0). Give the names as they were written in release `from` (omit `from` to accept a name used in any release); `to` defaults to the current release. Each row says unchanged, renamed (to_name), deleted (reason, successor and its name in `to`), not_yet_named, not_in_from_release, ambiguous (each allele listed) or unknown. Use it when data typed under an older release has to be compared with or reported under a newer one. Lab shorthand (B*1501, A*02:XX) belongs in normalize_allele first. Allele strings only, no patient identifiers.",
          "inputSchema": {
            "type": "object",
            "required": [
              "names"
            ],
            "properties": {
              "to": {
                "type": "string",
                "maxLength": 16,
                "description": "An IPD-IMGT/HLA release, like \"3.40.0\" (1.05.0 to the current one)."
              },
              "from": {
                "type": "string",
                "maxLength": 16,
                "description": "An IPD-IMGT/HLA release, like \"3.40.0\" (1.05.0 to the current one)."
              },
              "names": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "maxItems": 5000,
                "minItems": 1,
                "description": "Allele names exactly as written in the `from` release."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object"
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "release_diff",
          "description": "Which HLA allele names were added, removed (with the deletion reason and successor) and renamed between two IPD-IMGT/HLA releases, optionally for one locus. Counts are complete; each list is cut at `limit` and `truncated` says so. Use it to see what a release update changes before re-running or re-reporting typings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from",
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "maxLength": 16,
                "description": "An IPD-IMGT/HLA release, like \"3.40.0\" (1.05.0 to the current one)."
              },
              "from": {
                "type": "string",
                "maxLength": 16,
                "description": "An IPD-IMGT/HLA release, like \"3.40.0\" (1.05.0 to the current one)."
              },
              "limit": {
                "type": "integer",
                "maximum": 5000,
                "minimum": 1,
                "description": "Maximum items per list (default 500)."
              },
              "locus": {
                "type": "string",
                "maxLength": 8,
                "description": "One locus, like \"A\" or \"DRB1\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object"
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "allele_history",
          "description": "Every name the allele behind an HLA name has had, release by release since IPD-IMGT/HLA 1.05.0: its HLA ID, current name, the first and last release that used this name, the full timeline of names, and the deletion note if the name was retired. `as_of` adds what it was called in that release. Use it to answer when a name appeared, changed or disappeared; a retired name is answered with its deletion note, and a name that never existed is refused with an error result, not guessed at. An allele string only, no patient identifiers.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 64,
                "description": "An allele name as written in any release, like \"A*0101\"."
              },
              "as_of": {
                "type": "string",
                "maxLength": 16,
                "description": "An IPD-IMGT/HLA release, like \"3.40.0\" (1.05.0 to the current one)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object"
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "beta_signup",
          "description": "Put a user on the beta notification list: one email when anything about early access changes. Ask before calling: it records the address they give you. Re-signing the same address is safe (status already_recorded). Someone who needs a higher rate limit today should get a free key with research_access: it is issued instantly.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email"
            ],
            "properties": {
              "org": {
                "type": "string",
                "maxLength": 120,
                "description": "Lab, company or institution (optional)."
              },
              "email": {
                "type": "string",
                "maxLength": 254,
                "description": "The user's email address."
              },
              "source": {
                "type": "string",
                "maxLength": 120,
                "description": "Where the signup came from, e.g. mcp (optional)."
              },
              "use_case": {
                "type": "string",
                "maxLength": 500,
                "description": "What they would use the API for (optional). No patient details."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "ok",
              "status",
              "message",
              "release"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "Always true; a rejected signup comes back as an error result."
              },
              "status": {
                "enum": [
                  "recorded",
                  "already_recorded"
                ],
                "type": "string",
                "description": "already_recorded: the address was already on the list. Both are success — do not retry."
              },
              "message": {
                "type": "string",
                "description": "What to tell the user, including how to get a beta key today."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "research_access",
          "description": "Get the user a free HLA-Verify API key, instantly. HLA-Verify is free for anyone: the key comes back in this result (status issued, field key) with 1,000 calls/day, 250 typings per call and 60 requests/minute; the user sends it as the X-API-Key header (or connects this MCP server with it). Ask before calling: it stores the email address with the key, used for service notices only. The key is shown once: give it to the user straight away. One key per address; asking again returns already_issued and never the key (lost keys: hello@hlaverify.com). Disposable inboxes are refused. Verified labs that need more can set tier \"lab\" with institution and use_case to apply for the Lab tier (10,000 calls/day, 5,000 typings per call): that is reviewed, and an approved key is emailed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email"
            ],
            "properties": {
              "tier": {
                "enum": [
                  "lab"
                ],
                "type": "string",
                "description": "Omit for a free key now. \"lab\" applies for the Lab tier instead (institution and use_case required)."
              },
              "email": {
                "type": "string",
                "maxLength": 254,
                "description": "The user's email address. Stored with the key; service notices only."
              },
              "source": {
                "type": "string",
                "maxLength": 120,
                "description": "Where the request came from, e.g. mcp (optional)."
              },
              "use_case": {
                "type": "string",
                "maxLength": 1000,
                "description": "What the API would be used for (optional; required with tier lab, where the decision is made on it). No patient details."
              },
              "institution": {
                "type": "string",
                "maxLength": 200,
                "description": "Lab, hospital, university, registry or company (optional; required with tier lab)."
              },
              "expected_volume": {
                "type": "string",
                "maxLength": 120,
                "description": "Rough call or typing volume, e.g. 'about 20,000 typings a month' (optional)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "ok",
              "status",
              "message",
              "release"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "Always true; a refused request comes back as an error result."
              },
              "key": {
                "type": "string",
                "description": "The API key, only when status is issued. Give it to the user; it is not shown again."
              },
              "tier": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "mcp": {
                    "type": "string"
                  },
                  "curl": {
                    "type": "string"
                  },
                  "docs": {
                    "type": "string"
                  },
                  "usage": {
                    "type": "string"
                  },
                  "header": {
                    "type": "string"
                  },
                  "mcp_config": {
                    "type": "string"
                  }
                }
              },
              "issued": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "limits": {
                "type": "object",
                "properties": {
                  "burst": {
                    "type": "string"
                  },
                  "calls_per_day": {
                    "type": "integer"
                  },
                  "typings_per_call": {
                    "type": "integer"
                  }
                }
              },
              "status": {
                "enum": [
                  "issued",
                  "already_issued",
                  "recorded",
                  "already_recorded"
                ],
                "type": "string",
                "description": "issued: `key` holds a new free key, shown only this once. already_issued: this address already has a key (never shown again; lost keys: hello@hlaverify.com). recorded/already_recorded: a Lab-tier application (tier \"lab\") is on file. All are success; do not retry."
              },
              "key_ref": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The key's first 8 characters."
              },
              "message": {
                "type": "string",
                "description": "What to tell the user."
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "about",
          "description": "What this server is and is not, what to send it, benchmark evidence for why to use it, the beta state, and terms.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "name",
              "release"
            ],
            "properties": {
              "api": {
                "type": "string"
              },
              "why": {
                "type": "string"
              },
              "beta": {
                "type": "string"
              },
              "code": {
                "type": "string"
              },
              "demo": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "scope": {
                "type": "string"
              },
              "agents": {
                "type": "string"
              },
              "inputs": {
                "type": "string"
              },
              "limits": {
                "type": "string"
              },
              "release": {
                "type": "string",
                "description": "IPD-IMGT/HLA release every verdict was computed against."
              },
              "beta_key": {
                "type": "string"
              },
              "research": {
                "type": "string"
              },
              "commercial": {
                "type": "string"
              },
              "disclaimer": {
                "type": "string"
              },
              "beta_signup": {
                "type": "string"
              },
              "differentiation": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Nomenclature and reference-release validation for HLA: allele names, typing-report consistency and match arithmetic, checked against a pinned IPD-IMGT/HLA release. No LLM inside: every verdict is a table lookup. This is not a diagnostic aid and not clinical decision support; it does not interpret a case or recommend a donor. What to send: allele names, typing strings, GL strings and report text about HLA typing. What never to send: patient identifiers of any kind, including names, medical record numbers, dates of birth, accession or case identifiers, and other patient details. The service does not need them and does not store request bodies; removing them before sending is the caller's responsibility. Call verify_text on any AI-generated or transcribed content that mentions HLA alleles before presenting it; call normalize_allele or allele_info before asserting an allele name is valid or current; call match_score instead of computing a donor-recipient match count yourself. LLMs (including you) fabricate allele names and miscount matches — verify HLA names before presenting them. Call pgx_lookup before asserting that an HLA allele carries a drug-reaction risk (CPIC/PharmGKB associations, names normalized first; guideline lookup, not prescribing advice), and pgx_pair when the question is which of a donor's and a recipient's alleles carry one. The service is free: if your user needs more than the anonymous limit, call research_access (with their consent and their email address) and it returns a free API key at once (1,000 calls/day); give the key to the user, who sends it as the X-API-Key header. Verified labs that need more can apply for the Lab tier with research_access and tier \"lab\". beta_signup only puts them on the list for news."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}