Compare State Trends
compare_state_trendsCompare two states’ EEOC charge trends by basis and fiscal years to determine which had the larger count or percent change, returning start/end counts and source cells.
Instructions
Decide which of two states had the larger change in charge receipts.
Use for head-to-head questions like "Did California or Texas see the larger rise in retaliation charges from FY 2021 to FY 2025?". Returns each state's start and end counts with source cells, the count and percent change, and which state leads on each measure (they can differ). State/territory codes follow Table E1b, FY 2009–2025.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state_a": "<state_a>",
"state_b": "<state_b>",
"basis": "<basis>",
"start_fy": "<start_fy>",
"end_fy": "<end_fy>"
},
"name": "compare_state_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | Yes | Charge basis or statute; 'receipts' = all. | |
| end_fy | Yes | ||
| state_a | Yes | ||
| state_b | Yes | ||
| start_fy | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||