top_problems
Ranks 311 problem types by report volume in a NYC council or community district for a chosen period, with prior-year counts and median days to close; optional agency and status filters.
Instructions
The most-reported problems in a community or council district for a period, each with the count for the same days a year earlier and the median days to close. Optional agency and status 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": "top_problems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to list (default 10). | |
| agency | No | Agency code as 311 writes it, e.g. 'NYPD'. | |
| status | No | 'not_closed' = any status but Closed. | |
| to_date | No | End, YYYY-MM-DD, inclusive. | |
| 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. | |
| 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. |