Title96/100
Find nearby blood-draw locations
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Find nearby Empirical blood-draw locations from a local Quest/BioReference directory. No authentication. Returns addresses, distances, coordinate accuracy and snapshot provenance. Hours and appointment availability are not checked; this does not book a test. An empty list means no indexed matches.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
zipCode
ZIP code supplied by the user for the search area; ZIP+4 is reduced to its first five digits.
Clear enough to supply this argument.
radius
Search radius in miles from the ZIP centroid.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
labSlug
Defaults to BioReference for NY/NJ, Quest elsewhere.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Maximum number of nearest lab locations to return; increase to see more indexed matches.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema97/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"oneOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"data"
],
"properties": {
"status": {
"const": "ok"
}
}
},
{
"not": {
"required": [
"data"
]
},
"required": [
"error"
],
"properties": {
"status": {
"const": "error"
}
}
}
],
"required": [
"status"
],
"properties": {
"data": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"locations",
"total",
"hasMore",
"source",
"importedAt",
"verifiedAt",
"distanceOrigin",
"distanceUnit",
"availability",
"coverage"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "All matching indexed locations before the result limit."
},
"source": {
"type": "string",
"description": "Directory snapshot provenance."
},
"hasMore": {
"type": "boolean",
"description": "More matches exist than were returned; increase limit or narrow the search."
},
"coverage": {
"type": "string",
"const": "indexed_locations_only",
"description": "Only locations present in the bundled directory are searched."
},
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"labType",
"name",
"address1",
"address2",
"city",
"state",
"zipcode",
"latitude",
"longitude",
"coordinateAccuracy",
"distanceMiles",
"distance",
"phone",
"hours"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identifier in the bundled lab directory."
},
"city": {
"type": "string",
"description": "City containing the lab."
},
"name": {
"type": "string",
"description": "Lab location display name."
},
"hours": {
"type": "null",
"description": "Opening hours are not checked."
},
"phone": {
"type": "string",
"const": "",
"description": "Unavailable in this directory; always an empty string."
},
"state": {
"type": "string",
"description": "US state abbreviation."
},
"labType": {
"enum": [
"quest",
"bioreference"
],
"type": "string",
"description": "Collection network for this location."
},
"zipcode": {
"type": "string",
"description": "Location ZIP code; may be empty in the source directory."
},
"address1": {
"type": "string",
"description": "Street address."
},
"address2": {
"type": "string",
"description": "Suite or additional address details; may be empty."
},
"distance": {
"type": "string",
"description": "The same rounded miles as distanceMiles, as a display string."
},
"latitude": {
"type": "number",
"description": "Latitude in decimal degrees; interpret with coordinateAccuracy."
},
"longitude": {
"type": "number",
"description": "Longitude in decimal degrees; interpret with coordinateAccuracy."
},
"distanceMiles": {
"type": "number",
"minimum": 0,
"description": "Straight-line miles from the search ZIP centroid, rounded to one decimal."
},
"coordinateAccuracy": {
"enum": [
"city",
"geocoded",
"unknown"
],
"type": "string",
"description": "City-level coordinates are approximate, not a verified entrance."
}
},
"additionalProperties": false
},
"description": "Nearest indexed locations first; empty means no indexed matches within the selected radius/network."
},
"importedAt": {
"type": "string",
"description": "ISO timestamp when the directory snapshot was imported, not a freshness guarantee."
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "When the source was independently verified; null means unverified."
},
"availability": {
"type": "string",
"const": "not_checked",
"description": "No live appointment availability is verified."
},
"distanceUnit": {
"type": "string",
"const": "miles",
"description": "Unit for distance and distanceMiles."
},
"distanceOrigin": {
"type": "string",
"const": "zip_centroid",
"description": "Distances originate at the search ZIP centroid, not the user’s exact position."
}
},
"additionalProperties": false
},
"error": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"code",
"message",
"retryable"
],
"properties": {
"code": {
"enum": [
"invalid_arguments",
"unknown_location",
"unsupported_location",
"unknown_tool",
"temporarily_unavailable"
],
"type": "string",
"description": "Machine-readable failure reason. Correct arguments/location for nonretryable errors."
},
"message": {
"type": "string",
"description": "Human-readable explanation without backend details."
},
"retryable": {
"type": "boolean",
"description": "Retry later only when true; otherwise correct the request or choose another supported location."
}
},
"additionalProperties": false
},
"status": {
"enum": [
"ok",
"error"
],
"type": "string",
"description": "Selects the success data or error branch."
}
},
"additionalProperties": false
}