---
summary: "Structured errors for invalid session identifier and single-character name filter in search tools"
breaking: false
security: false
---

# 0.1.7 — 2026-06-04

## Fixed

- **`openstates_search_bills`** now throws `invalid_session` (with recovery hint pointing to `openstates_get_jurisdiction`) when a `session` filter returns no results, instead of emitting a generic enrichment notice. Agents can now distinguish a bad session ID from a legitimately empty result set. ([#9](https://github.com/cyanheads/openstates-mcp-server/issues/9))
- **`openstates_search_people`** adds a `name_too_short` error contract: single-character `name` inputs that the API rejects with `InvalidParams` are re-thrown as the typed error with a recovery hint, rather than surfacing as an opaque validation error. ([#11](https://github.com/cyanheads/openstates-mcp-server/issues/11))
