v2.5.0
get_field_definitions mode discriminator, enum error translation, funnel hints
Four fixes addressing production failure patterns. The mode discriminator on get_field_definitions (#49) was responsible for 10/10 field-definition errors in production.
Added:
- clinicaltrials_get_field_definitions now requires an explicit mode field ("search" | "drill" | "overview") — eliminates the mutually-exclusive optional param ambiguity that caused systematic failures (#49)
Fixed:
- Upstream enum errors now name the tool's input param (statusFilter, phaseFilter) instead of the API's internal param, with a recovery hint (#51)
- find_eligible noMatchHints now target the funnel collapse point: location, demographics/status, or generic (#50)
- get_study_record description no longer leaks structuredContent transport framing (#52)
Changed:
- package.json keywords trimmed (removed llm, api-client, hono, stdio, streamable-http, http)
326 tests pass; bun run devcheck clean.