Koskamo

TestWell MCP

An official read-only MCP server providing 18 tools for AI agents to search cash-pay lab test catalogs, retrieve detailed test information, list bundled panels, receive health-goal-based recommendations, and calculate all-inclusive prices by state including the mandatory lab processing fee.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

TestWell MCP logo, by TestWellVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by TestWell
MCP endpoint (Streamable HTTP)
https://www.test-well.com/mcp
Vendor documentation

What its tools do

18 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

18 of 18 have a description · 18 of 18 declare behavior hints · 11 of 18 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to test-well.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Search public catalog for lab tests by keyword or biomarker
  • Retrieve detailed test info including CPT codes and fasting requirements
  • Calculate all-inclusive prices for orders by state and lab provider
  • Recommend tests or panels based on health goals and budget

Source and maintenance

Vendor evidenceRegistry 1.2.0

Protocol and capabilities

Server
testwell 1.2.0
MCP protocol negotiated in check
2025-11-25
Tools
18 advertised
Resources
2 advertised
Resource templates
0 advertised
Prompts
2 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Cash-pay lab tests without insurance: search TestWell's catalog, get all-in quotes by state (Quest, Labcorp, BioReference in NY/NJ), find draw sites by ZIP, look up physician-reviewed reference ranges, convert units, calculate free testosterone, compare providers and read guides. Read-only; purchases complete on test-well.com. Rules: quote all-in (sticker + one $6.00 lab processing fee per order, nothing else) using quote_order; New York and New Jersey draw at BioReference; Rhode Island is not served; reference ranges are educational, not diagnosis; purchases complete on test-well.com via the checkoutUrl returned by quote_order.

Tools

18 advertised

search_tests — Search the TestWell catalog
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search TestWell's public catalog of cash-pay lab tests and panels by keyword, biomarker, CPT code, or category. Returns name, slug, per-lab prices, sample, fasting, turnaround and order URL. Prices are stickers; every order adds one $6 lab processing fee (see quote_order for all-in totals).

search_tests input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "query"
  ],
  "properties": {
    "lang": {
      "enum": [
        "en",
        "es"
      ],
      "type": "string",
      "description": "Return Spanish names/descriptions where a translation exists (default en)"
    },
    "type": {
      "enum": [
        "test",
        "panel"
      ],
      "type": "string",
      "description": "Restrict to individual tests or bundled panels"
    },
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Max results (default 10)"
    },
    "query": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "Keyword, biomarker, CPT code or health goal, e.g. 'vitamin d', 'TSH', '80053', 'cholesterol'"
    },
    "category": {
      "type": "string",
      "maxLength": 60,
      "description": "Catalog category, e.g. 'Thyroid', 'Heart Health'"
    },
    "orderableOnly": {
      "type": "boolean",
      "description": "Exclude items listed as coming soon (default true)"
    }
  }
}
search_tests output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "lang": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "cpt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "CPT code when verified"
          },
          "url": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "labs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Labs that run it: Quest, Labcorp, BioReference"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "enum": [
              "test",
              "panel"
            ],
            "type": "string"
          },
          "labFee": {
            "type": "number",
            "description": "Flat per-order lab processing fee (charged once per order)"
          },
          "prices": {
            "type": "object",
            "properties": {
              "quest": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "labcorp": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bioreference": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "description": "Sticker price per lab; null where the lab does not run the item",
            "additionalProperties": {}
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "popular": {
            "type": "boolean"
          },
          "category": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "orderUrl": {
            "type": "string",
            "description": "Prefilled cart link"
          },
          "orderable": {
            "type": "boolean"
          },
          "resultsIn": {
            "type": "string",
            "description": "Turnaround, e.g. '1-3 business days'"
          },
          "biomarkers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reviewedAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sampleType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "eligibility": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "minAge": {
                    "type": "number"
                  },
                  "attestation": {
                    "type": "string"
                  },
                  "mustOrderAlone": {
                    "type": "boolean"
                  },
                  "consentDocument": {
                    "type": "object",
                    "required": [
                      "publisher",
                      "title",
                      "version",
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "description": "Absolute https URL on test-well.com"
                      },
                      "title": {
                        "type": "string"
                      },
                      "version": {
                        "type": "string"
                      },
                      "publisher": {
                        "type": "string"
                      }
                    },
                    "description": "A document the patient must read and acknowledge at the pay step on test-well.com before this test is ordered; url is a printable copy",
                    "additionalProperties": false
                  },
                  "siteCheckoutOnly": {
                    "type": "boolean",
                    "description": "True when the test can only be bought through the checkout on test-well.com (orderUrl), never inside an assistant's own checkout"
                  },
                  "unavailableStates": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ],
            "description": "Ordering rules set by the lab or the test's maker; present only on tests that have them"
          },
          "markdownUrl": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "biomarkerCount": {
            "type": "number"
          },
          "fastingRequired": {
            "type": "boolean"
          },
          "prepInstructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "measuredTurnaround": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "lab",
                "medianDays",
                "asOf"
              ],
              "properties": {
                "lab": {
                  "type": "string"
                },
                "asOf": {
                  "type": "string"
                },
                "p90Days": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "medianDays": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            },
            "description": "Measured medians from real TestWell orders (specimen at lab → final results), per lab, in days; a pair is published only when it has 30+ completed orders. Sample sizes are not published."
          }
        },
        "additionalProperties": {}
      }
    },
    "query": {
      "type": "string"
    },
    "labFee": {
      "type": "number",
      "description": "USD"
    }
  },
  "additionalProperties": {}
}
search_tests annotations
{
  "title": "Search the TestWell catalog",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_test — Get a test or panel
Advertised by the server during the last successful anonymous check.
Advertised read-only

Full public detail for one TestWell test or panel by slug or id: description, biomarkers, CPT, per-lab prices, labs, fasting/prep, turnaround, included tests (panels), FAQ, related conditions, order URL and a Markdown page URL. Tests also carry labPages — per-lab pages (/tests/<slug>/quest, /tests/<slug>/labcorp) with the lab's test code, requisition name, the lab's own dated price vs TestWell's, and walk-in steps — cite them when the user asks about a specific lab.

get_test input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "slug"
  ],
  "properties": {
    "lang": {
      "enum": [
        "en",
        "es"
      ],
      "type": "string",
      "description": "Spanish prose where a translation exists (default en)"
    },
    "slug": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "Catalog slug (from search_tests) or id, e.g. 'tsh', 'general-wellness-panel'"
    }
  }
}
get_test output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "cpt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "CPT code when verified"
        },
        "url": {
          "type": "string",
          "description": "Absolute https URL on test-well.com"
        },
        "labs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Labs that run it: Quest, Labcorp, BioReference"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "type": {
          "enum": [
            "test",
            "panel"
          ],
          "type": "string"
        },
        "labFee": {
          "type": "number",
          "description": "Flat per-order lab processing fee (charged once per order)"
        },
        "prices": {
          "type": "object",
          "properties": {
            "quest": {
              "anyOf": [
                {
                  "type": "number",
                  "description": "USD"
                },
                {
                  "type": "null"
                }
              ]
            },
            "labcorp": {
              "anyOf": [
                {
                  "type": "number",
                  "description": "USD"
                },
                {
                  "type": "null"
                }
              ]
            },
            "bioreference": {
              "anyOf": [
                {
                  "type": "number",
                  "description": "USD"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "description": "Sticker price per lab; null where the lab does not run the item",
          "additionalProperties": {}
        },
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "popular": {
          "type": "boolean"
        },
        "category": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "orderUrl": {
          "type": "string",
          "description": "Prefilled cart link"
        },
        "orderable": {
          "type": "boolean"
        },
        "resultsIn": {
          "type": "string",
          "description": "Turnaround, e.g. '1-3 business days'"
        },
        "biomarkers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "reviewedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sampleType": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "eligibility": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "minAge": {
                  "type": "number"
                },
                "attestation": {
                  "type": "string"
                },
                "mustOrderAlone": {
                  "type": "boolean"
                },
                "consentDocument": {
                  "type": "object",
                  "required": [
                    "publisher",
                    "title",
                    "version",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "Absolute https URL on test-well.com"
                    },
                    "title": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "publisher": {
                      "type": "string"
                    }
                  },
                  "description": "A document the patient must read and acknowledge at the pay step on test-well.com before this test is ordered; url is a printable copy",
                  "additionalProperties": false
                },
                "siteCheckoutOnly": {
                  "type": "boolean",
                  "description": "True when the test can only be bought through the checkout on test-well.com (orderUrl), never inside an assistant's own checkout"
                },
                "unavailableStates": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ],
          "description": "Ordering rules set by the lab or the test's maker; present only on tests that have them"
        },
        "markdownUrl": {
          "type": "string",
          "description": "Absolute https URL on test-well.com"
        },
        "biomarkerCount": {
          "type": "number"
        },
        "fastingRequired": {
          "type": "boolean"
        },
        "prepInstructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "measuredTurnaround": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "lab",
              "medianDays",
              "asOf"
            ],
            "properties": {
              "lab": {
                "type": "string"
              },
              "asOf": {
                "type": "string"
              },
              "p90Days": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "medianDays": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "description": "Measured medians from real TestWell orders (specimen at lab → final results), per lab, in days; a pair is published only when it has 30+ completed orders. Sample sizes are not published."
        }
      },
      "additionalProperties": {}
    },
    "found": {
      "type": "boolean"
    },
    "suggestions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
get_test annotations
{
  "title": "Get a test or panel",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_panels — List panels
Advertised by the server during the last successful anonymous check.
Advertised read-only

List TestWell's bundled panels (multi-test packages priced below the sum of their tests), optionally filtered by category or maximum price. Sorted by price.

list_panels input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Max results (default 25)"
    },
    "category": {
      "type": "string",
      "maxLength": 60,
      "description": "Catalog category, e.g. 'Hormones', 'General Health'"
    },
    "maxPrice": {
      "type": "number",
      "description": "Only panels at or under this sticker price (USD)",
      "exclusiveMinimum": 0
    }
  }
}
list_panels output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "count": {
      "type": "number"
    },
    "labFee": {
      "type": "number",
      "description": "USD"
    },
    "panels": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "labs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "description": "USD"
          },
          "tests": {
            "type": "number",
            "description": "Number of tests in the panel"
          },
          "prices": {
            "type": "object",
            "properties": {
              "quest": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "labcorp": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bioreference": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "USD"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "description": "Sticker price per lab; null where the lab does not run the item",
            "additionalProperties": {}
          },
          "category": {
            "type": "string"
          },
          "orderUrl": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "biomarkers": {
            "type": "number",
            "description": "Number of biomarkers reported"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
list_panels annotations
{
  "title": "List panels",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
recommend_tests — Recommend tests for goals or symptoms
Advertised by the server during the last successful anonymous check.
Advertised read-only

Suggest TestWell panels and tests for stated health goals (e.g. 'annual checkup', 'heart health', 'TRT monitoring') and/or symptoms (e.g. 'fatigue', 'hair loss'). Prefers a curated pre-built panel when one fits; otherwise assembles individual tests within a budget. Educational matching, not a diagnosis.

recommend_tests input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "goals": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 60
      },
      "maxItems": 8,
      "description": "Health goals, e.g. ['energy', 'thyroid']"
    },
    "budget": {
      "enum": [
        "low",
        "medium",
        "high",
        "no_limit"
      ],
      "type": "string",
      "description": "Budget band: low ≈ $80, medium ≈ $200, high ≈ $400"
    },
    "symptoms": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 60
      },
      "maxItems": 8,
      "description": "Symptoms, e.g. ['always cold', 'weight gain']"
    }
  }
}
recommend_tests output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "next": {
      "type": "string",
      "description": "Suggested next tool call"
    },
    "goals": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "byGoal": {
      "anyOf": [
        {
          "type": "object",
          "properties": {},
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Recommended panel and alternatives for the stated goals"
    },
    "labFee": {
      "type": "number",
      "description": "USD"
    },
    "symptoms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "bySymptom": {
      "anyOf": [
        {
          "type": "object",
          "properties": {},
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Panels, individual tests and explanations for the stated symptoms"
    },
    "disclaimer": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
recommend_tests annotations
{
  "title": "Recommend tests for goals or symptoms",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
quote_order — All-in order quote
Advertised by the server during the last successful anonymous check.
Advertised read-only

Price a set of tests/panels exactly as TestWell's checkout would: per-lab prices for the user's state (New York and New Jersey route to BioReference; Rhode Island is not served), the single $6 lab processing fee, the total, items that can't be ordered and why, and a prefilled cart URL. Use this before quoting any total to a user.

quote_order input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "items"
  ],
  "properties": {
    "lab": {
      "enum": [
        "quest",
        "labcorp",
        "bioreference"
      ],
      "type": "string",
      "description": "Preferred lab outside NY/NJ (default quest)"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 120,
        "minLength": 1
      },
      "maxItems": 25,
      "minItems": 1,
      "description": "Catalog slugs or ids, e.g. ['tsh', 'vitamin-d']"
    },
    "state": {
      "type": "string",
      "maxLength": 40,
      "minLength": 2,
      "description": "US state code or name where the user will be drawn, e.g. 'FL' or 'Florida'"
    }
  }
}
quote_order output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "lab": {
      "type": "string"
    },
    "error": {
      "type": "string",
      "description": "Present when ok=false, e.g. state not served"
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "lab": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "description": "USD"
          }
        },
        "additionalProperties": {}
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "state": {
      "type": "string"
    },
    "total": {
      "type": "number",
      "description": "All-in total: subtotal + the single lab processing fee"
    },
    "labFee": {
      "type": "number",
      "description": "USD"
    },
    "labName": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "subtotal": {
      "type": "number",
      "description": "USD"
    },
    "checkoutUrl": {
      "anyOf": [
        {
          "type": "string",
          "description": "Absolute https URL on test-well.com"
        },
        {
          "type": "null"
        }
      ],
      "description": "Prefilled cart on test-well.com — purchases complete there; null when nothing is orderable"
    },
    "unavailable": {
      "type": "array",
      "items": {},
      "description": "Requested items the routed lab cannot run in this state"
    }
  },
  "additionalProperties": {}
}
quote_order annotations
{
  "title": "All-in order quote",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_checkout — Create a checkout session
Advertised by the server during the last successful anonymous check.

Start a TestWell order for the user: tests/panels, the US state where they will visit the lab (required for pricing and lab routing), and the buyer's name, email and phone. Returns priced line items in cents, the single $6 lab fee, the total, any blocking messages, and pay_online_url — a prefilled cart the user can pay in a browser when the platform has no payment token. Use dry_run to preview without creating a session.

create_checkout input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "items"
  ],
  "properties": {
    "buyer": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
        },
        "last_name": {
          "type": "string",
          "maxLength": 80
        },
        "first_name": {
          "type": "string",
          "maxLength": 80
        },
        "phone_number": {
          "type": "string",
          "maxLength": 20
        }
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "description": "Test or panel slug/id"
          },
          "quantity": {
            "type": "integer",
            "maximum": 1,
            "minimum": 1
          }
        }
      },
      "maxItems": 25,
      "minItems": 1
    },
    "state": {
      "type": "string",
      "maxLength": 40,
      "minLength": 2,
      "description": "US state code or name where the blood will be drawn"
    },
    "dry_run": {
      "type": "boolean",
      "description": "Price only; do not create a session"
    }
  }
}
create_checkout output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "status",
    "currency",
    "line_items",
    "totals",
    "messages",
    "fulfillment_options",
    "links"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "url"
        ],
        "properties": {
          "url": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "order": {
      "type": "object",
      "required": [
        "id",
        "checkout_session_id",
        "permalink_url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "permalink_url": {
          "type": "string"
        },
        "checkout_session_id": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "status": {
      "enum": [
        "not_ready_for_payment",
        "ready_for_payment",
        "in_progress",
        "completed",
        "canceled"
      ],
      "type": "string"
    },
    "totals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "display_text",
          "amount"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "display_text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "dry_run": {
      "type": "boolean"
    },
    "currency": {
      "type": "string",
      "const": "usd"
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "content"
        ],
        "properties": {
          "type": {
            "enum": [
              "info",
              "error"
            ],
            "type": "string"
          },
          "param": {
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "item",
          "base_amount",
          "subtotal",
          "total"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "lab": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "item": {
            "type": "object",
            "required": [
              "id",
              "quantity"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "quantity": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "name": {
            "type": "string"
          },
          "total": {
            "type": "number"
          },
          "subtotal": {
            "type": "number"
          },
          "base_amount": {
            "type": "number"
          }
        },
        "additionalProperties": {}
      }
    },
    "pay_online_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Prefilled cart for browser payment when the platform has no payment token"
    },
    "fulfillment_options": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "id",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "digital"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
create_checkout annotations
{
  "title": "Create a checkout session",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
update_checkout — Update a checkout session
Advertised by the server during the last successful anonymous check.

Change items, state or buyer details on an open checkout session and get it re-priced. Returns the same session object as create_checkout.

update_checkout input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "checkout_session_id"
  ],
  "properties": {
    "buyer": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
        },
        "last_name": {
          "type": "string",
          "maxLength": 80
        },
        "first_name": {
          "type": "string",
          "maxLength": 80
        },
        "phone_number": {
          "type": "string",
          "maxLength": 20
        }
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1
          },
          "quantity": {
            "type": "integer",
            "maximum": 1,
            "minimum": 1
          }
        }
      },
      "maxItems": 25,
      "minItems": 1
    },
    "state": {
      "type": "string",
      "maxLength": 40,
      "minLength": 2
    },
    "checkout_session_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 8
    }
  }
}
update_checkout output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "status",
    "line_items",
    "totals",
    "messages"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "totals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "display_text",
          "amount"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "display_text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "content"
        ],
        "properties": {
          "type": {
            "enum": [
              "info",
              "error"
            ],
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "total"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
update_checkout annotations
{
  "title": "Update a checkout session",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_checkout — Read a checkout session
Advertised by the server during the last successful anonymous check.
Advertised read-only

Current state of a checkout session (status, line items, totals, messages, order once paid). Read-only.

get_checkout input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "checkout_session_id"
  ],
  "properties": {
    "checkout_session_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 8
    }
  }
}
get_checkout output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "status",
    "line_items",
    "totals",
    "messages"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "totals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "display_text",
          "amount"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "display_text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "content"
        ],
        "properties": {
          "type": {
            "enum": [
              "info",
              "error"
            ],
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "total"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
get_checkout annotations
{
  "title": "Read a checkout session",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cancel_checkout — Cancel a checkout session
Advertised by the server during the last successful anonymous check.

Cancel an open (unpaid) checkout session. Paid sessions cannot be canceled here — the patient's complete-details email explains refunds.

cancel_checkout input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "checkout_session_id"
  ],
  "properties": {
    "checkout_session_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 8
    }
  }
}
cancel_checkout output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
cancel_checkout annotations
{
  "title": "Cancel a checkout session",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
complete_checkout — Pay and place the order
Advertised by the server during the last successful anonymous check.

Charge the payment credential the platform obtained for a session that is ready_for_payment and create the order. Input follows the ChatGPT payment-sheet contract: checkout_session_id, buyer, payment_data { token, provider: 'stripe', billing_address }. The token is a Stripe shared payment token (spt_…); platforms without one should send the user to pay_online_url from create_checkout. After payment the patient gets an email link to add date of birth, sex, phone and consent — the lab requisition is issued when that is done.

complete_checkout input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "checkout_session_id",
    "payment_data"
  ],
  "properties": {
    "buyer": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 160
                },
                {
                  "type": "null"
                }
              ]
            },
            "email": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "email",
                  "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "last_name": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 80
                },
                {
                  "type": "null"
                }
              ]
            },
            "first_name": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 80
                },
                {
                  "type": "null"
                }
              ]
            },
            "phone_number": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 20
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "payment_data": {
      "type": "object",
      "required": [
        "token"
      ],
      "properties": {
        "token": {
          "type": "string",
          "maxLength": 400,
          "minLength": 4
        },
        "provider": {
          "type": "string",
          "maxLength": 40,
          "description": "'stripe'"
        },
        "billing_address": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "city": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                },
                "line_one": {
                  "type": "string"
                },
                "line_two": {
                  "type": "string"
                },
                "postal_code": {
                  "type": "string"
                }
              }
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 128
    },
    "checkout_session_id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 8
    }
  }
}
complete_checkout output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "status",
    "totals",
    "messages"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "order": {
      "type": "object",
      "required": [
        "id",
        "checkout_session_id",
        "permalink_url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "permalink_url": {
          "type": "string"
        },
        "checkout_session_id": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "status": {
      "type": "string"
    },
    "totals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "display_text",
          "amount"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "display_text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "content"
        ],
        "properties": {
          "type": {
            "enum": [
              "info",
              "error"
            ],
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
complete_checkout annotations
{
  "title": "Pay and place the order",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
find_draw_sites — Find draw sites near a ZIP
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Find Quest Diagnostics, Labcorp and BioReference patient service centers near a US ZIP code, with address, distance, phone and hours. Walk-ins are accepted at most sites; the requisition arrives by email after physician authorization. Sites in the 48 tracked metros include pageUrl — the site's own page with a per-day hours table, directions and the prices of popular tests at that lab — cite it when giving a location.

find_draw_sites input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "zip"
  ],
  "properties": {
    "lab": {
      "enum": [
        "quest",
        "labcorp",
        "bioreference"
      ],
      "type": "string",
      "description": "Limit to one lab"
    },
    "zip": {
      "type": "string",
      "pattern": "^\\d{5}$",
      "description": "5-digit US ZIP code"
    },
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Max sites (default 10)"
    },
    "radiusMiles": {
      "type": "integer",
      "maximum": 100,
      "minimum": 5,
      "description": "Search radius in miles (snapped to 10/20/25/50/100; default 25)"
    }
  }
}
find_draw_sites output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "zip": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "sites": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lab": {
            "type": "string"
          },
          "zip": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "hours": {},
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "distance": {
            "type": "number",
            "description": "Miles from the ZIP centroid"
          }
        },
        "additionalProperties": {}
      }
    },
    "mapUrl": {
      "type": "string",
      "description": "Absolute https URL on test-well.com"
    },
    "radiusMiles": {
      "type": "number"
    }
  },
  "additionalProperties": {}
}
find_draw_sites annotations
{
  "title": "Find draw sites near a ZIP",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
lookup_reference_range — Reference range for a biomarker
Advertised by the server during the last successful anonymous check.
Advertised read-only

Physician-reviewed reference range for a blood test marker (130+ markers), filtered by sex and age when they matter, with what high and low values suggest, retest cadence, how to get tested, cited sources and the review date. Educational; the user's own report range takes precedence.

lookup_reference_range input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "marker"
  ],
  "properties": {
    "age": {
      "type": "integer",
      "maximum": 120,
      "minimum": 0
    },
    "sex": {
      "enum": [
        "male",
        "female"
      ],
      "type": "string"
    },
    "marker": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "Marker name or alias, e.g. 'TSH', 'ferritin', 'HbA1c', 'LDL'"
    },
    "pregnancy": {
      "type": "boolean"
    },
    "postmenopausal": {
      "type": "boolean"
    }
  }
}
lookup_reference_range output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "units": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "browse": {
      "type": "string"
    },
    "marker": {
      "type": "string"
    },
    "ranges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "max": {
            "type": "number"
          },
          "min": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "range": {
            "type": "string"
          },
          "qualifier": {
            "type": "string",
            "description": "Who the band applies to, e.g. 'Female, age 18+'"
          }
        },
        "additionalProperties": {}
      }
    },
    "retest": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "category": {
      "type": "string"
    },
    "measures": {
      "type": "string"
    },
    "citations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "howToTest": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Absolute https URL on test-well.com"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number",
            "description": "USD"
          }
        },
        "additionalProperties": {}
      }
    },
    "lowSuggests": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "suggestions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "highSuggests": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "filteredToQuery": {
      "type": "boolean"
    }
  },
  "additionalProperties": {}
}
lookup_reference_range annotations
{
  "title": "Reference range for a biomarker",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_prices — Compare all-in prices across providers for a test
Advertised by the server during the last successful anonymous check.
Advertised read-only

For one blood test, the all-in single-test price (sticker + per-order fees) at TestWell and at every tracked direct-to-consumer provider with a verified equivalent — JustLabs, Quest, Labcorp OnDemand, Ulta Lab Tests, Walk-In Lab, HealthLabs and more — each with the date it was verified, plus TestWell's price at each lab (Quest and Labcorp can differ), a typical hospital self-pay estimate and Quest Health's own list price where it sells the same test. States the multi-test caveat (fees are paid once per order). Source: the TestWell Blood Test Price Index (CC BY 4.0).

compare_prices input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "test"
  ],
  "properties": {
    "test": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "description": "Test slug or name, e.g. 'tsh', 'lipid panel', 'vitamin-d'"
    }
  }
}
compare_prices output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "hint": {
      "type": "string"
    },
    "test": {
      "type": "object",
      "properties": {
        "cpt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "category": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    },
    "found": {
      "type": "boolean"
    },
    "query": {
      "type": "string"
    },
    "caveats": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "dataset": {
      "type": "string",
      "description": "Absolute https URL on test-well.com"
    },
    "license": {
      "type": "string"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "allIn": {
            "type": "number",
            "description": "Sticker + that provider's per-order fees, one test ordered alone"
          },
          "sticker": {
            "type": "number",
            "description": "USD"
          },
          "pricedAt": {
            "type": "string",
            "description": "Date the price was verified (YYYY-MM-DD)"
          },
          "provider": {
            "type": "string"
          },
          "perOrderFees": {
            "type": "number",
            "description": "USD"
          },
          "providerName": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Sorted by all-in price, TestWell included"
    },
    "reference": {
      "type": "object",
      "properties": {
        "questDirect": {
          "anyOf": [
            {
              "type": "number",
              "description": "USD"
            },
            {
              "type": "null"
            }
          ]
        },
        "questDirectUrl": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "hospitalTypical": {
          "anyOf": [
            {
              "type": "number",
              "description": "USD"
            },
            {
              "type": "null"
            }
          ]
        },
        "questDirectAllIn": {
          "anyOf": [
            {
              "type": "number",
              "description": "USD"
            },
            {
              "type": "null"
            }
          ]
        },
        "questDirectCheckedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": {}
    },
    "methodology": {
      "type": "string"
    },
    "cheapestSingleTestAllIn": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "allIn": {
          "type": "number",
          "description": "Sticker + that provider's per-order fees, one test ordered alone"
        },
        "sticker": {
          "type": "number",
          "description": "USD"
        },
        "pricedAt": {
          "type": "string",
          "description": "Date the price was verified (YYYY-MM-DD)"
        },
        "provider": {
          "type": "string"
        },
        "perOrderFees": {
          "type": "number",
          "description": "USD"
        },
        "providerName": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
compare_prices annotations
{
  "title": "Compare all-in prices across providers for a test",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
interpret_results — Explain lab results against reviewed reference ranges
Advertised by the server during the last successful anonymous check.
Advertised read-only

Flag each pasted lab value as low / normal / high against TestWell's physician-reviewed reference catalog (130+ markers; sex- and age-specific bands where they exist), with the reviewed 'what high/low suggests' copy, retest guidance, cited sources and links to the marker's page and, where one exists, its high/low interpretation page. Stateless — values are not stored or logged. Educational, not a diagnosis; the user's own report range takes precedence.

interpret_results input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "values"
  ],
  "properties": {
    "age": {
      "type": "integer",
      "maximum": 120,
      "minimum": 0
    },
    "sex": {
      "enum": [
        "male",
        "female"
      ],
      "type": "string"
    },
    "values": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "marker",
          "value"
        ],
        "properties": {
          "unit": {
            "type": "string",
            "maxLength": 20
          },
          "value": {
            "type": "number"
          },
          "marker": {
            "type": "string",
            "maxLength": 80,
            "minLength": 1
          }
        }
      },
      "maxItems": 40,
      "minItems": 1,
      "description": "Results to explain, e.g. [{marker:'TSH', value:5.2, unit:'mIU/L'}, {marker:'ferritin', value:12}]"
    },
    "pregnancy": {
      "type": "boolean"
    },
    "postmenopausal": {
      "type": "boolean"
    }
  }
}
interpret_results output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "flag": {
            "enum": [
              "low",
              "normal",
              "high",
              "unknown"
            ],
            "type": "string"
          },
          "slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "found": {
            "type": "boolean"
          },
          "input": {
            "type": "object",
            "properties": {
              "unit": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "type": "number"
              },
              "marker": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "links": {
            "type": "object",
            "properties": {
              "biomarker": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "orderTest": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "interpretation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": {}
          },
          "range": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "max": {
                    "type": "number"
                  },
                  "min": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "qualifier": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "marker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "retest": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "suggests": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Reviewed copy for this direction"
          },
          "citations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "additionalProperties": {}
            }
          },
          "suggestions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "deviationPct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Distance outside the band as % of band width"
          },
          "unitMismatch": {
            "type": "boolean"
          }
        },
        "additionalProperties": {}
      }
    },
    "summary": {
      "type": "object",
      "properties": {
        "low": {
          "type": "number"
        },
        "high": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "normal": {
          "type": "number"
        },
        "matched": {
          "type": "number"
        },
        "unknown": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "reviewed": {
      "type": "object",
      "properties": {
        "catalog": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "reviewer": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    },
    "disclaimer": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
interpret_results annotations
{
  "title": "Explain lab results against reviewed reference ranges",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
convert_units — Convert lab units
Advertised by the server during the last successful anonymous check.
Advertised read-only

Convert a lab value between US conventional and SI units for 30 common analytes (glucose, cholesterol, testosterone, vitamin D, …) using published factors; hemoglobin A1c uses the NGSP↔IFCC master equation and also returns estimated average glucose.

convert_units input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "analyte",
    "value"
  ],
  "properties": {
    "value": {
      "type": "number",
      "description": "The numeric value to convert"
    },
    "analyte": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1,
      "description": "Analyte slug or name, e.g. 'glucose', 'total-cholesterol', 'testosterone', 'vitamin-d', 'a1c'"
    },
    "direction": {
      "enum": [
        "toSI",
        "toConventional"
      ],
      "type": "string",
      "description": "Default toSI (US → SI)"
    }
  }
}
convert_units output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "error": {
      "type": "string"
    },
    "input": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "factor": {
      "type": "number"
    },
    "method": {
      "type": "string"
    },
    "output": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "analyte": {
      "type": "string"
    },
    "biomarkerUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "estimatedAverageGlucose": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
convert_units annotations
{
  "title": "Convert lab units",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
calculate_free_testosterone — Calculate free testosterone (Vermeulen)
Advertised by the server during the last successful anonymous check.
Advertised read-only

Calculate free and bioavailable testosterone from total testosterone, SHBG and albumin using the Vermeulen (1999) mass-action equation — the method behind lab-reported 'calculated free testosterone'. Educational; not a diagnosis.

calculate_free_testosterone input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "totalT",
    "shbg"
  ],
  "properties": {
    "shbg": {
      "type": "number",
      "description": "SHBG in nmol/L",
      "exclusiveMinimum": 0
    },
    "totalT": {
      "type": "number",
      "description": "Total testosterone",
      "exclusiveMinimum": 0
    },
    "albuminGdL": {
      "type": "number",
      "maximum": 6,
      "description": "Albumin in g/dL (default 4.3)",
      "exclusiveMinimum": 0
    },
    "totalTUnit": {
      "enum": [
        "ng/dL",
        "nmol/L"
      ],
      "type": "string",
      "description": "Default ng/dL"
    }
  }
}
calculate_free_testosterone output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "tests": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "inputs": {
      "type": "object",
      "properties": {
        "shbg": {
          "type": "number"
        },
        "totalT": {
          "type": "number"
        },
        "albuminGdL": {
          "type": "number"
        },
        "totalTUnit": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    },
    "method": {
      "type": "string"
    },
    "toolUrl": {
      "type": "string"
    },
    "freePercent": {
      "type": "number"
    },
    "freeTestosterone": {
      "type": "object",
      "properties": {
        "ngdL": {
          "type": "number"
        },
        "pgmL": {
          "type": "number"
        },
        "nmolL": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "bioavailableTestosterone": {
      "type": "object",
      "properties": {
        "ngdL": {
          "type": "number"
        },
        "nmolL": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
calculate_free_testosterone annotations
{
  "title": "Calculate free testosterone (Vermeulen)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_provider — Compare TestWell with another lab-testing service
Advertised by the server during the last successful anonymous check.
Advertised read-only

Honest side-by-side of TestWell and another direct-to-consumer lab service (Quest Direct, Labcorp OnDemand, Function Health, JustLabs, Ulta Lab Tests, …): pricing model, per-order fees, labs, turnaround, where each wins, spot prices on common tests as sticker AND all-in, with verification dates and sources. Call with no argument to list the providers covered.

compare_provider input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "provider": {
      "type": "string",
      "maxLength": 60,
      "description": "Competitor slug or name, e.g. 'quest-direct', 'Function Health', 'justlabs'"
    }
  }
}
compare_provider output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "url": {
      "type": "string",
      "description": "Absolute https URL on test-well.com"
    },
    "found": {
      "type": "boolean"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "verdict": {
      "type": "string"
    },
    "testwell": {
      "type": "object",
      "properties": {},
      "additionalProperties": {}
    },
    "verified": {
      "type": "string",
      "description": "Date the competitor's prices were verified"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Returned when no provider was named"
    },
    "competitor": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "labPartners": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "perOrderFees": {},
        "pricingModel": {
          "type": "string"
        },
        "statesServed": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "spotPrices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "test": {
            "type": "string"
          },
          "testwell": {},
          "competitor": {}
        },
        "additionalProperties": {}
      }
    },
    "testWellNotFor": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "testWellWinsAt": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "competitorWinsAt": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
compare_provider annotations
{
  "title": "Compare TestWell with another lab-testing service",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_guide — Get a guide, condition or answer page as Markdown
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return one of TestWell's educational pages as Markdown: guides (/guides/<slug>), condition workups (/conditions/<slug>), biomarker pages (/biomarkers/<slug>), state pages (/lab-locations/<slug>) or comparisons (/compare/<slug>). Call with no path to list the available guides and conditions.

get_guide input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "lang": {
      "enum": [
        "en",
        "es"
      ],
      "type": "string",
      "description": "Spanish version when one exists (default en)"
    },
    "path": {
      "type": "string",
      "maxLength": 160,
      "description": "Site path, e.g. '/guides/annual-blood-work' or 'conditions/anemia'"
    }
  }
}
get_guide output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "url": {
      "type": "string",
      "description": "Absolute https URL on test-well.com"
    },
    "path": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "title": {
      "type": "string"
    },
    "guides": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Index, returned when no path was given"
    },
    "answers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "markdown": {
      "type": "string",
      "description": "Full page as Markdown"
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
get_guide annotations
{
  "title": "Get a guide, condition or answer page as Markdown",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

2 advertised

price_a_test — Price a lab test for someone in a US state

Advertised by the server during the last successful anonymous check.

Find the right TestWell test or panel, quote the all-in price for the user's state (sticker + the one $6 fee, correct lab routing), and hand back a prefilled cart link.

request
What the user wants tested, in their words, e.g. 'thyroid check' or 'TSH and ferritin' (required)
state
Two-letter US state code where they will be drawn, e.g. FL (required)
explain_results — Explain pasted lab results

Advertised by the server during the last successful anonymous check.

Flag each pasted value low / normal / high against physician-reviewed reference ranges and explain what an out-of-range result commonly means, with next steps — educational, never a diagnosis.

results
The user's results, one per line, e.g. 'TSH 5.2 mIU/L' (required)
sex
male or female, if known
age
Age in years, if known

Resources

2 advertised

catalog — TestWell catalog

Advertised by the server during the last successful anonymous check.

Every public test and panel with per-lab prices. Prices are stickers; each order adds one $6.00 lab processing fee.

catalog URI
testwell://catalog

MIME type: application/json

llms-txt — TestWell overview for agents

Advertised by the server during the last successful anonymous check.

What TestWell is, pricing rules, popular tests, guides, and every agent surface.

llms-txt URI
testwell://llms.txt

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (78 of 78 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
2499 ms
95th percentile latency
3086 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1847 ms · metadata changed · 18 tool(s), 2 resource(s), 0 resource template(s), 2 prompt(s)
  • · probe · passed · 3151 ms · metadata changed · 18 tool(s), 2 resource(s), 0 resource template(s), 2 prompt(s)
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http testwell-mcp https://www.test-well.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add testwell-mcp --url https://www.test-well.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable testwell-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "testwell-mcp": {
      "url": "https://www.test-well.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "testwell-mcp": {
      "type": "streamableHttp",
      "url": "https://www.test-well.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start testwell-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "testwell-mcp": {
      "type": "http",
      "url": "https://www.test-well.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http testwell-mcp https://www.test-well.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://www.test-well.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "testwell-mcp": {
      "serverUrl": "https://www.test-well.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like TestWell MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run TestWell MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing