Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.97 KB

File metadata and controls

16 lines (11 loc) · 1.97 KB
summary get_study_record renders the Locations header and reason on a nearLocation match of zero; find_eligible carries each site's LocationStatus into content[]; get_field_definitions surfaces the pre-cap totalMatches in search mode
breaking false
security false

2.8.4 — 2026-07-26

Changed

  • clinicaltrials_find_eligible locations render each site's LocationStatus — the tool already requests and returns LocationStatus in structuredContent; content[] now carries it too ([RECRUITING], [NOT_YET_RECRUITING], etc.), matching the bracket convention clinicaltrials_get_study_record already uses. A site with no published status renders bare. Previously a non-recruiting site under recruitingOnly=true was indistinguishable from a recruiting one in text output. (#91)
  • clinicaltrials_get_field_definitions enrichment gains totalMatches — populated on every search-mode call with the pre-cap match count, so a capped result (shown/cap) can be compared against how many fields actually matched instead of guessing a follow-up limit. drill and overview are unaffected — they return complete sets and have no cap. (#95)

Fixed

  • clinicaltrials_get_study_record Locations section on a zero-match nearLocation — previously gated on the filtered location list being non-empty, so a nearLocation filter matching nothing rendered no ## Locations section at all — indistinguishable from a study that publishes no sites. The header now renders through the existing header builder with the zero count, and the explanatory line distinguishes "all sites lack coordinates" from "no sites within the radius," each with its own recovery guidance. A study with no upstream sites still renders nothing, since the filter never runs. (#96)