agency_response
Summarize NYC 311 agency response metrics by district and period, showing request counts, closed and not-yet-closed totals, and median/average days to close.
Instructions
For each agency in a district and period: requests, how many are closed and not yet closed, and the median and average days to close (closed requests only). Optional problem and description filters. From BoardStat (BetaNYC, NYC Open Data, 2020 on); not an official City report. 311 counts are reports, not problems; 'closed' is not 'fixed'.
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": "agency_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to list (default 25). | |
| to_date | No | End, YYYY-MM-DD, inclusive. | |
| problems | No | BoardStat problem names, e.g. ['HEAT/HOT WATER']; any case. | |
| from_date | No | Start, YYYY-MM-DD, inclusive. | |
| last_days | No | The last N days of data, ending on the newest request's day (not today). | |
| fiscal_year | No | NYC fiscal year: 2027 or 'FY2027' = 2026-07-01 to 2027-06-30. | |
| descriptions | No | 311 descriptors, e.g. ['Blocked Bike Lane']; a missing one is '(none)'. | |
| council_district | No | Council district, 1 to 51. Not with community_district. | |
| community_district | No | 306, BK06 or 'Brooklyn 6' (all forms: server instructions). Not with council_district. | |
| exclude_descriptions | No | Leave out these descriptions instead of keeping only them. |