Skip to main content
Glama

Get a test or panel

get_test
Read-onlyIdempotent

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//quest, /tests//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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "get_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoSpanish prose where a translation exists (default en)
slugYesCatalog slug (from search_tests) or id, e.g. 'tsh', 'general-wellness-panel'

Output Schema

NameRequiredDescriptionDefault
itemNo
foundNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / item / properties / biomarkersNotReportedAt
      Added value: +{
      +  "additionalProperties": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "description": "Markers of `biomarkers` that one lab's report for this test does not carry, keyed by lab; present only where it applies. Choose the lab accordingly",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / item / properties / reportNote
      Added value: +{
      +  "description": "How the labs' reports for this test differ, in the medical reviewer's words; present only where they do",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / item / properties / eligibility / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "attestation": {
      -        "type": "string"
      -      },
      -      "minAge": {
      -        "type": "number"
      -      },
      -      "mustOrderAlone": {
      -        "type": "boolean"
      -      },
      -      "unavailableStates": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "attestation": {
      +        "type": "string"
      +      },
      +      "consentDocument": {
      +        "additionalProperties": false,
      +        "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",
      +        "properties": {
      +          "publisher": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Absolute https URL on test-well.com",
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "publisher",
      +          "title",
      +          "version",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "minAge": {
      +        "type": "number"
      +      },
      +      "mustOrderAlone": {
      +        "type": "boolean"
      +      },
      +      "siteCheckoutOnly": {
      +        "description": "True when the test can only be bought through the checkout on test-well.com (orderUrl), never inside an assistant's own checkout",
      +        "type": "boolean"
      +      },
      +      "unavailableStates": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / item / properties / eligibility / description
      Added value: +"Ordering rules set by the lab or the test's maker; present only on tests that have them"
  3. Changed3 schema fields changed
    • changedOutput schema / properties / item / properties / measuredTurnaround / description
      Previous value: -"Measured medians from real orders (specimen at lab → results), per lab; published only when n ≥ 30. Empty until enough data exists."New value: +"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."
    • removedOutput schema / properties / item / properties / measuredTurnaround / items / properties / n
      Removed value: -{
      -  "type": "number"
      -}
    • changedOutput schema / properties / item / properties / measuredTurnaround / items / required
      Previous value: -[
      -  "lab",
      -  "n",
      -  "medianDays",
      -  "asOf"
      -]New value: +[
      +  "lab",
      +  "medianDays",
      +  "asOf"
      +]
  4. Changed1 schema field changed
    • addedOutput schema / properties / item / properties / eligibility
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "attestation": {
      +          "type": "string"
      +        },
      +        "minAge": {
      +          "type": "number"
      +        },
      +        "mustOrderAlone": {
      +          "type": "boolean"
      +        },
      +        "unavailableStates": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / item / properties / measuredTurnaround
      Added value: +{
      +  "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"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$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"
      +        },
      +        "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"
      +}
  7. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds value by disclosing that the record is 'public' detail, itemizing the payload groups, and flagging the labPages sub-structure with example paths and the competitive price framing a caller should surface. It does not cover behavior for an unknown slug, which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core verb and scope, and the long field enumeration is dense but each item is a distinct payload group an agent might need. The labPages sentence is the most valuable part and is placed second where it could arguably lead for lab-specific queries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present the description need not enumerate return values, yet it does so usefully to aid field discovery. Scope, id-vs-slug input, and the labPages nuance are all covered; only error/not-found behavior is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the schema itself already says the slug comes from search_tests, gives examples, and explains the lang fallback. The description only echoes 'by slug or id', adding no new format or constraint information, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Full public detail for one TestWell test or panel by slug or id', and enumerates the field groups returned (biomarkers, CPT, per-lab prices, FAQ, order URL). That is far more precise than a restated title, though it never explicitly contrasts itself with search_tests or list_panels.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only explicit usage instruction is conditional and narrow: cite labPages 'when the user asks about a specific lab.' There is no statement of when to use this instead of search_tests (to find a slug) or list_panels, so the caller must infer the lookup-after-search pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources