Server definition
- Hash
- sha256:43dee938752feb6f873bc8a8c4a69acacb5a64c6cbe15e0c80132f8d71a13257
- What it is
- What a remote MCP server returned when asked what it offers: 18 tools
The blob, as servednamed by its sha256
{
"instructions": "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": [
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"albuminGdL": {
"description": "Albumin in g/dL (default 4.3)",
"exclusiveMinimum": 0,
"maximum": 6,
"type": "number"
},
"shbg": {
"description": "SHBG in nmol/L",
"exclusiveMinimum": 0,
"type": "number"
},
"totalT": {
"description": "Total testosterone",
"exclusiveMinimum": 0,
"type": "number"
},
"totalTUnit": {
"description": "Default ng/dL",
"enum": [
"ng/dL",
"nmol/L"
],
"type": "string"
}
},
"required": [
"totalT",
"shbg"
],
"type": "object"
},
"name": "calculate_free_testosterone",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"bioavailableTestosterone": {
"additionalProperties": {},
"properties": {
"ngdL": {
"type": "number"
},
"nmolL": {
"type": "number"
}
},
"type": "object"
},
"freePercent": {
"type": "number"
},
"freeTestosterone": {
"additionalProperties": {},
"properties": {
"ngdL": {
"type": "number"
},
"nmolL": {
"type": "number"
},
"pgmL": {
"type": "number"
}
},
"type": "object"
},
"inputs": {
"additionalProperties": {},
"properties": {
"albuminGdL": {
"type": "number"
},
"shbg": {
"type": "number"
},
"totalT": {
"type": "number"
},
"totalTUnit": {
"type": "string"
}
},
"type": "object"
},
"method": {
"type": "string"
},
"tests": {
"items": {
"additionalProperties": {},
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"toolUrl": {
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Cancel an open (unpaid) checkout session. Paid sessions cannot be canceled here — the patient's complete-details email explains refunds.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"checkout_session_id": {
"maxLength": 80,
"minLength": 8,
"type": "string"
}
},
"required": [
"checkout_session_id"
],
"type": "object"
},
"name": "cancel_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"id",
"status"
],
"type": "object"
}
},
{
"description": "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 typical hospital self-pay and Quest Direct reference prices. States the multi-test caveat (fees are paid once per order). Source: the TestWell Blood Test Price Index (CC BY 4.0).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"test": {
"description": "Test slug or name, e.g. 'tsh', 'lipid panel', 'vitamin-d'",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"test"
],
"type": "object"
},
"name": "compare_prices",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"caveats": {
"items": {
"type": "string"
},
"type": "array"
},
"cheapestSingleTestAllIn": {
"additionalProperties": {},
"properties": {
"allIn": {
"description": "Sticker + that provider's per-order fees, one test ordered alone",
"type": "number"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"perOrderFees": {
"description": "USD",
"type": "number"
},
"pricedAt": {
"description": "Date the price was verified (YYYY-MM-DD)",
"type": "string"
},
"provider": {
"type": "string"
},
"providerName": {
"type": "string"
},
"sticker": {
"description": "USD",
"type": "number"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"dataset": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"found": {
"type": "boolean"
},
"hint": {
"type": "string"
},
"license": {
"type": "string"
},
"methodology": {
"type": "string"
},
"providers": {
"description": "Sorted by all-in price, TestWell included",
"items": {
"additionalProperties": {},
"properties": {
"allIn": {
"description": "Sticker + that provider's per-order fees, one test ordered alone",
"type": "number"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"perOrderFees": {
"description": "USD",
"type": "number"
},
"pricedAt": {
"description": "Date the price was verified (YYYY-MM-DD)",
"type": "string"
},
"provider": {
"type": "string"
},
"providerName": {
"type": "string"
},
"sticker": {
"description": "USD",
"type": "number"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"query": {
"type": "string"
},
"reference": {
"additionalProperties": {},
"properties": {
"hospitalTypical": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"questDirect": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"test": {
"additionalProperties": {},
"properties": {
"category": {
"type": "string"
},
"cpt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"provider": {
"description": "Competitor slug or name, e.g. 'quest-direct', 'Function Health', 'justlabs'",
"maxLength": 60,
"type": "string"
}
},
"type": "object"
},
"name": "compare_provider",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"competitor": {
"additionalProperties": {},
"properties": {
"labPartners": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"perOrderFees": {},
"pricingModel": {
"type": "string"
},
"statesServed": {
"type": "number"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"competitorWinsAt": {
"items": {
"type": "string"
},
"type": "array"
},
"found": {
"type": "boolean"
},
"providers": {
"description": "Returned when no provider was named",
"items": {
"additionalProperties": {},
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"spotPrices": {
"items": {
"additionalProperties": {},
"properties": {
"competitor": {},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"test": {
"type": "string"
},
"testwell": {}
},
"type": "object"
},
"type": "array"
},
"testWellNotFor": {
"items": {
"type": "string"
},
"type": "array"
},
"testWellWinsAt": {
"items": {
"type": "string"
},
"type": "array"
},
"testwell": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"verdict": {
"type": "string"
},
"verified": {
"description": "Date the competitor's prices were verified",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"buyer": {
"anyOf": [
{
"properties": {
"email": {
"anyOf": [
{
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"type": "string"
},
{
"type": "null"
}
]
},
"first_name": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
]
},
"last_name": {
"anyOf": [
{
"maxLength": 80,
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"maxLength": 160,
"type": "string"
},
{
"type": "null"
}
]
},
"phone_number": {
"anyOf": [
{
"maxLength": 20,
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"checkout_session_id": {
"maxLength": 80,
"minLength": 8,
"type": "string"
},
"idempotency_key": {
"maxLength": 128,
"type": "string"
},
"payment_data": {
"properties": {
"billing_address": {
"anyOf": [
{
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"line_one": {
"type": "string"
},
"line_two": {
"type": "string"
},
"name": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"state": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"provider": {
"description": "'stripe'",
"maxLength": 40,
"type": "string"
},
"token": {
"maxLength": 400,
"minLength": 4,
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
}
},
"required": [
"checkout_session_id",
"payment_data"
],
"type": "object"
},
"name": "complete_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"content": {
"type": "string"
},
"type": {
"enum": [
"info",
"error"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": false,
"properties": {
"checkout_session_id": {
"type": "string"
},
"id": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"checkout_session_id",
"permalink_url"
],
"type": "object"
},
"status": {
"type": "string"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"display_text",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"status",
"totals",
"messages"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"analyte": {
"description": "Analyte slug or name, e.g. 'glucose', 'total-cholesterol', 'testosterone', 'vitamin-d', 'a1c'",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"direction": {
"description": "Default toSI (US → SI)",
"enum": [
"toSI",
"toConventional"
],
"type": "string"
},
"value": {
"description": "The numeric value to convert",
"type": "number"
}
},
"required": [
"analyte",
"value"
],
"type": "object"
},
"name": "convert_units",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"analyte": {
"type": "string"
},
"biomarkerUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"error": {
"type": "string"
},
"estimatedAverageGlucose": {
"additionalProperties": {},
"properties": {
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"factor": {
"type": "number"
},
"input": {
"additionalProperties": {},
"properties": {
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"method": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"output": {
"additionalProperties": {},
"properties": {
"unit": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"buyer": {
"properties": {
"email": {
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"type": "string"
},
"first_name": {
"maxLength": 80,
"type": "string"
},
"last_name": {
"maxLength": 80,
"type": "string"
},
"phone_number": {
"maxLength": 20,
"type": "string"
}
},
"type": "object"
},
"dry_run": {
"description": "Price only; do not create a session",
"type": "boolean"
},
"items": {
"items": {
"properties": {
"id": {
"description": "Test or panel slug/id",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"quantity": {
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
},
"state": {
"description": "US state code or name where the blood will be drawn",
"maxLength": 40,
"minLength": 2,
"type": "string"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "create_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"currency": {
"const": "usd",
"type": "string"
},
"dry_run": {
"type": "boolean"
},
"fulfillment_options": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"const": "digital",
"type": "string"
}
},
"required": [
"type",
"id",
"title"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"base_amount": {
"type": "number"
},
"id": {
"type": "string"
},
"item": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"quantity": {
"type": "number"
}
},
"required": [
"id",
"quantity"
],
"type": "object"
},
"lab": {
"type": "string"
},
"name": {
"type": "string"
},
"subtotal": {
"type": "number"
},
"total": {
"type": "number"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"item",
"base_amount",
"subtotal",
"total"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"content": {
"type": "string"
},
"param": {
"type": "string"
},
"type": {
"enum": [
"info",
"error"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": false,
"properties": {
"checkout_session_id": {
"type": "string"
},
"id": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"checkout_session_id",
"permalink_url"
],
"type": "object"
},
"pay_online_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Prefilled cart for browser payment when the platform has no payment token"
},
"status": {
"enum": [
"not_ready_for_payment",
"ready_for_payment",
"in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"display_text",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"status",
"currency",
"line_items",
"totals",
"messages",
"fulfillment_options",
"links"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lab": {
"description": "Limit to one lab",
"enum": [
"quest",
"labcorp",
"bioreference"
],
"type": "string"
},
"limit": {
"description": "Max sites (default 10)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"radiusMiles": {
"description": "Search radius in miles (snapped to 10/20/25/50/100; default 25)",
"maximum": 100,
"minimum": 5,
"type": "integer"
},
"zip": {
"description": "5-digit US ZIP code",
"pattern": "^\\d{5}$",
"type": "string"
}
},
"required": [
"zip"
],
"type": "object"
},
"name": "find_draw_sites",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"count": {
"type": "number"
},
"mapUrl": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"radiusMiles": {
"type": "number"
},
"sites": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"distance": {
"description": "Miles from the ZIP centroid",
"type": "number"
},
"hours": {},
"lab": {
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"zip": {
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Current state of a checkout session (status, line items, totals, messages, order once paid). Read-only.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"checkout_session_id": {
"maxLength": 80,
"minLength": 8,
"type": "string"
}
},
"required": [
"checkout_session_id"
],
"type": "object"
},
"name": "get_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"total": {
"type": "number"
}
},
"required": [
"id",
"total"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"content": {
"type": "string"
},
"type": {
"enum": [
"info",
"error"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"status": {
"type": "string"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"display_text",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"status",
"line_items",
"totals",
"messages"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"description": "Spanish version when one exists (default en)",
"enum": [
"en",
"es"
],
"type": "string"
},
"path": {
"description": "Site path, e.g. '/guides/annual-blood-work' or 'conditions/anemia'",
"maxLength": 160,
"type": "string"
}
},
"type": "object"
},
"name": "get_guide",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"answers": {
"items": {
"additionalProperties": {},
"properties": {
"path": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"additionalProperties": {},
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"found": {
"type": "boolean"
},
"guides": {
"description": "Index, returned when no path was given",
"items": {
"additionalProperties": {},
"properties": {
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"markdown": {
"description": "Full page as Markdown",
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"description": "Spanish prose where a translation exists (default en)",
"enum": [
"en",
"es"
],
"type": "string"
},
"slug": {
"description": "Catalog slug (from search_tests) or id, e.g. 'tsh', 'general-wellness-panel'",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "get_test",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"found": {
"type": "boolean"
},
"item": {
"additionalProperties": {},
"properties": {
"aliases": {
"items": {
"type": "string"
},
"type": "array"
},
"biomarkerCount": {
"type": "number"
},
"biomarkers": {
"items": {
"type": "string"
},
"type": "array"
},
"category": {
"type": "string"
},
"cpt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "CPT code when verified"
},
"currency": {
"type": "string"
},
"description": {
"type": "string"
},
"fastingRequired": {
"type": "boolean"
},
"id": {
"type": "string"
},
"labFee": {
"description": "Flat per-order lab processing fee (charged once per order)",
"type": "number"
},
"labs": {
"description": "Labs that run it: Quest, Labcorp, BioReference",
"items": {
"type": "string"
},
"type": "array"
},
"markdownUrl": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"measuredTurnaround": {
"description": "Measured medians from real orders (specimen at lab → results), per lab; published only when n ≥ 30. Empty until enough data exists.",
"items": {
"additionalProperties": false,
"properties": {
"asOf": {
"type": "string"
},
"lab": {
"type": "string"
},
"medianDays": {
"type": "number"
},
"n": {
"type": "number"
},
"p90Days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"lab",
"n",
"medianDays",
"asOf"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"orderUrl": {
"description": "Prefilled cart link",
"type": "string"
},
"orderable": {
"type": "boolean"
},
"popular": {
"type": "boolean"
},
"prepInstructions": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"prices": {
"additionalProperties": {},
"description": "Sticker price per lab; null where the lab does not run the item",
"properties": {
"bioreference": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"labcorp": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"quest": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"resultsIn": {
"description": "Turnaround, e.g. '1-3 business days'",
"type": "string"
},
"reviewedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sampleType": {
"type": "string"
},
"slug": {
"type": "string"
},
"type": {
"enum": [
"test",
"panel"
],
"type": "string"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
},
"suggestions": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"age": {
"maximum": 120,
"minimum": 0,
"type": "integer"
},
"postmenopausal": {
"type": "boolean"
},
"pregnancy": {
"type": "boolean"
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
},
"values": {
"description": "Results to explain, e.g. [{marker:'TSH', value:5.2, unit:'mIU/L'}, {marker:'ferritin', value:12}]",
"items": {
"properties": {
"marker": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"unit": {
"maxLength": 20,
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"marker",
"value"
],
"type": "object"
},
"maxItems": 40,
"minItems": 1,
"type": "array"
}
},
"required": [
"values"
],
"type": "object"
},
"name": "interpret_results",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"disclaimer": {
"type": "string"
},
"results": {
"items": {
"additionalProperties": {},
"properties": {
"citations": {
"items": {
"additionalProperties": {},
"properties": {
"label": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"deviationPct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Distance outside the band as % of band width"
},
"flag": {
"enum": [
"low",
"normal",
"high",
"unknown"
],
"type": "string"
},
"found": {
"type": "boolean"
},
"input": {
"additionalProperties": {},
"properties": {
"marker": {
"type": "string"
},
"unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"value": {
"type": "number"
}
},
"type": "object"
},
"links": {
"additionalProperties": {},
"properties": {
"biomarker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"interpretation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"orderTest": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"marker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"range": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"qualifier": {
"type": "string"
},
"text": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"retest": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"suggestions": {
"items": {
"type": "string"
},
"type": "array"
},
"suggests": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Reviewed copy for this direction"
},
"unitMismatch": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"reviewed": {
"additionalProperties": {},
"properties": {
"catalog": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reviewer": {
"type": "string"
}
},
"type": "object"
},
"summary": {
"additionalProperties": {},
"properties": {
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"matched": {
"type": "number"
},
"normal": {
"type": "number"
},
"total": {
"type": "number"
},
"unknown": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"description": "Catalog category, e.g. 'Hormones', 'General Health'",
"maxLength": 60,
"type": "string"
},
"limit": {
"description": "Max results (default 25)",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"maxPrice": {
"description": "Only panels at or under this sticker price (USD)",
"exclusiveMinimum": 0,
"type": "number"
}
},
"type": "object"
},
"name": "list_panels",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"count": {
"type": "number"
},
"labFee": {
"description": "USD",
"type": "number"
},
"panels": {
"items": {
"additionalProperties": {},
"properties": {
"biomarkers": {
"description": "Number of biomarkers reported",
"type": "number"
},
"category": {
"type": "string"
},
"labs": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"orderUrl": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"price": {
"description": "USD",
"type": "number"
},
"prices": {
"additionalProperties": {},
"description": "Sticker price per lab; null where the lab does not run the item",
"properties": {
"bioreference": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"labcorp": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"quest": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"slug": {
"type": "string"
},
"tests": {
"description": "Number of tests in the panel",
"type": "number"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"age": {
"maximum": 120,
"minimum": 0,
"type": "integer"
},
"marker": {
"description": "Marker name or alias, e.g. 'TSH', 'ferritin', 'HbA1c', 'LDL'",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"postmenopausal": {
"type": "boolean"
},
"pregnancy": {
"type": "boolean"
},
"sex": {
"enum": [
"male",
"female"
],
"type": "string"
}
},
"required": [
"marker"
],
"type": "object"
},
"name": "lookup_reference_range",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"aliases": {
"items": {
"type": "string"
},
"type": "array"
},
"browse": {
"type": "string"
},
"category": {
"type": "string"
},
"citations": {
"items": {
"additionalProperties": {},
"properties": {
"label": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"filteredToQuery": {
"type": "boolean"
},
"found": {
"type": "boolean"
},
"highSuggests": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"howToTest": {
"items": {
"additionalProperties": {},
"properties": {
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"description": "USD",
"type": "number"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lowSuggests": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"marker": {
"type": "string"
},
"measures": {
"type": "string"
},
"ranges": {
"items": {
"additionalProperties": {},
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"qualifier": {
"description": "Who the band applies to, e.g. 'Female, age 18+'",
"type": "string"
},
"range": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"retest": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"suggestions": {
"items": {
"type": "string"
},
"type": "array"
},
"units": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"items": {
"description": "Catalog slugs or ids, e.g. ['tsh', 'vitamin-d']",
"items": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
},
"lab": {
"description": "Preferred lab outside NY/NJ (default quest)",
"enum": [
"quest",
"labcorp",
"bioreference"
],
"type": "string"
},
"state": {
"description": "US state code or name where the user will be drawn, e.g. 'FL' or 'Florida'",
"maxLength": 40,
"minLength": 2,
"type": "string"
}
},
"required": [
"items"
],
"type": "object"
},
"name": "quote_order",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"checkoutUrl": {
"anyOf": [
{
"description": "Absolute https URL on test-well.com",
"type": "string"
},
{
"type": "null"
}
],
"description": "Prefilled cart on test-well.com — purchases complete there; null when nothing is orderable"
},
"currency": {
"type": "string"
},
"error": {
"description": "Present when ok=false, e.g. state not served",
"type": "string"
},
"lab": {
"type": "string"
},
"labFee": {
"description": "USD",
"type": "number"
},
"labName": {
"type": "string"
},
"lines": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"lab": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"description": "USD",
"type": "number"
},
"slug": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"ok": {
"type": "boolean"
},
"state": {
"type": "string"
},
"subtotal": {
"description": "USD",
"type": "number"
},
"total": {
"description": "All-in total: subtotal + the single lab processing fee",
"type": "number"
},
"unavailable": {
"description": "Requested items the routed lab cannot run in this state",
"items": {},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"budget": {
"description": "Budget band: low ≈ $80, medium ≈ $200, high ≈ $400",
"enum": [
"low",
"medium",
"high",
"no_limit"
],
"type": "string"
},
"goals": {
"description": "Health goals, e.g. ['energy', 'thyroid']",
"items": {
"maxLength": 60,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"symptoms": {
"description": "Symptoms, e.g. ['always cold', 'weight gain']",
"items": {
"maxLength": 60,
"type": "string"
},
"maxItems": 8,
"type": "array"
}
},
"type": "object"
},
"name": "recommend_tests",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"byGoal": {
"anyOf": [
{
"additionalProperties": {},
"properties": {},
"type": "object"
},
{
"type": "null"
}
],
"description": "Recommended panel and alternatives for the stated goals"
},
"bySymptom": {
"anyOf": [
{
"additionalProperties": {},
"properties": {},
"type": "object"
},
{
"type": "null"
}
],
"description": "Panels, individual tests and explanations for the stated symptoms"
},
"disclaimer": {
"type": "string"
},
"goals": {
"items": {
"type": "string"
},
"type": "array"
},
"labFee": {
"description": "USD",
"type": "number"
},
"next": {
"description": "Suggested next tool call",
"type": "string"
},
"symptoms": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "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).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"category": {
"description": "Catalog category, e.g. 'Thyroid', 'Heart Health'",
"maxLength": 60,
"type": "string"
},
"lang": {
"description": "Return Spanish names/descriptions where a translation exists (default en)",
"enum": [
"en",
"es"
],
"type": "string"
},
"limit": {
"description": "Max results (default 10)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"orderableOnly": {
"description": "Exclude items listed as coming soon (default true)",
"type": "boolean"
},
"query": {
"description": "Keyword, biomarker, CPT code or health goal, e.g. 'vitamin d', 'TSH', '80053', 'cholesterol'",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type": {
"description": "Restrict to individual tests or bundled panels",
"enum": [
"test",
"panel"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search_tests",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"count": {
"type": "number"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"aliases": {
"items": {
"type": "string"
},
"type": "array"
},
"biomarkerCount": {
"type": "number"
},
"biomarkers": {
"items": {
"type": "string"
},
"type": "array"
},
"category": {
"type": "string"
},
"cpt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "CPT code when verified"
},
"currency": {
"type": "string"
},
"description": {
"type": "string"
},
"fastingRequired": {
"type": "boolean"
},
"id": {
"type": "string"
},
"labFee": {
"description": "Flat per-order lab processing fee (charged once per order)",
"type": "number"
},
"labs": {
"description": "Labs that run it: Quest, Labcorp, BioReference",
"items": {
"type": "string"
},
"type": "array"
},
"markdownUrl": {
"description": "Absolute https URL on test-well.com",
"type": "string"
},
"measuredTurnaround": {
"description": "Measured medians from real orders (specimen at lab → results), per lab; published only when n ≥ 30. Empty until enough data exists.",
"items": {
"additionalProperties": false,
"properties": {
"asOf": {
"type": "string"
},
"lab": {
"type": "string"
},
"medianDays": {
"type": "number"
},
"n": {
"type": "number"
},
"p90Days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"lab",
"n",
"medianDays",
"asOf"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"orderUrl": {
"description": "Prefilled cart link",
"type": "string"
},
"orderable": {
"type": "boolean"
},
"popular": {
"type": "boolean"
},
"prepInstructions": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"prices": {
"additionalProperties": {},
"description": "Sticker price per lab; null where the lab does not run the item",
"properties": {
"bioreference": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"labcorp": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
},
"quest": {
"anyOf": [
{
"description": "USD",
"type": "number"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"resultsIn": {
"description": "Turnaround, e.g. '1-3 business days'",
"type": "string"
},
"reviewedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sampleType": {
"type": "string"
},
"slug": {
"type": "string"
},
"type": {
"enum": [
"test",
"panel"
],
"type": "string"
},
"url": {
"description": "Absolute https URL on test-well.com",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"labFee": {
"description": "USD",
"type": "number"
},
"lang": {
"type": "string"
},
"query": {
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Change items, state or buyer details on an open checkout session and get it re-priced. Returns the same session object as create_checkout.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"buyer": {
"properties": {
"email": {
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"type": "string"
},
"first_name": {
"maxLength": 80,
"type": "string"
},
"last_name": {
"maxLength": 80,
"type": "string"
},
"phone_number": {
"maxLength": 20,
"type": "string"
}
},
"type": "object"
},
"checkout_session_id": {
"maxLength": 80,
"minLength": 8,
"type": "string"
},
"items": {
"items": {
"properties": {
"id": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"quantity": {
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
},
"state": {
"maxLength": 40,
"minLength": 2,
"type": "string"
}
},
"required": [
"checkout_session_id"
],
"type": "object"
},
"name": "update_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"total": {
"type": "number"
}
},
"required": [
"id",
"total"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"content": {
"type": "string"
},
"type": {
"enum": [
"info",
"error"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"status": {
"type": "string"
},
"totals": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"display_text",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"status",
"line_items",
"totals",
"messages"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:43dee938752feb6f873bc8a8c4a69acacb5a64c6cbe15e0c80132f8d71a13257 | sha256sum