Skip to content

Steer name/text filters from API endpoints to search #271

Description

@nadahlberg

~700 events over the last 14 days (MCP-76): models copy search-index field names into call_endpoint filters — entry_date_filed instead of date_filed on docket-entries (often with correct {"gte": …} range syntax, so only the name is wrong), case_name/party_name on dockets, name on attorneys/parties, description on docket-entries. These endpoints genuinely can't filter by name/text; that's search's job.

Proposed: add a note to the get_endpoint_schema response ("name/text lookups aren't filterable here — use the search tool"), and a did-you-mean on extra_forbidden errors comparing against the endpoint's real filter names.

Part of #205.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions