What to ask before searching for a lawyer (older name)
get_matching_requirementsOlder name of get_search_filters, kept until 2026-12-15; use get_search_filters. Use first when someone wants a lawyer but the state or type of legal issue is unclear ("I need a lawyer", "help me with my landlord"). Returns the few filters still needed (state, type of issue, location, timing, budget) and what was understood, for the person to confirm. Does not answer the legal question and stores nothing. This is a listing service, not a lawyer referral service. No lawyer pays for placement or ranking of any kind.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_matching_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | 5-digit ZIP code, only if the user agreed to share it | |
| city | No | ||
| court | No | ||
| state | No | US state, two-letter code or name, e.g. CA or California | |
| county | No | ||
| urgency | No | ||
| category | No | ||
| languages | No | ||
| remote_ok | No | User is willing to work with a lawyer remotely (phone or video) anywhere in the state | |
| budget_max | No | Total budget the user mentioned, in US dollars | |
| budget_min | No | ||
| priorities | No | Older way to pick an order; used only when sort is not given (price: published_fees_first, speed: availability_reported_first, experience: years_licensed, proximity: nearest_office). | |
| client_side | No | Which side the user is on. ESQ Matching Engine has no record of which side lawyers usually represent, so results carry a warning to ask. | |
| description | No | Short description of the legal need in the user's words. Used only to pick a practice area and to notice a cost concern (then free and low-cost options are shown); not stored. | |
| matter_type | No | ||
| communication | No | ||
| deadline_date | No | A deadline the USER reported (hearing, filing, response). ESQ Matching Engine does not verify or calculate deadlines. | |
| deadline_type | No | ||
| practice_area | No | Practice area, e.g. 'Landlord-Tenant Law', 'Family Law', 'Criminal Law' | |
| service_needed | No | ||
| consultation_by | No | Latest date the user wants a first consultation | |
| procedural_stage | No | ||
| subpractice_area | No | ||
| language_required | No | True if the language is essential, not just preferred | |
| billing_preference | No | ||
| min_years_licensed | No | ||
| accessibility_needs | No | ||
| payment_plan_needed | No | ||
| exclude_attorney_ids | No | ||
| max_consultation_fee | No | 0 means the user wants a free first consultation | |
| reduced_fee_eligible | No | User may qualify for pro bono, legal aid or reduced fees | |
| representation_start_by | No | Date as YYYY-MM-DD | |
| include_unconfirmed_practice_area | No | Also include licensed lawyers whose practice areas are not on record (labeled clearly) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | ||
| missing | Yes | ||
| guidance | Yes | ||
| can_search | Yes | ||
| understood | Yes | ||
| api_version | Yes | ||
| urgency_notice | Yes | ||
| preliminary_search_possible | Yes |