Skip to main content
Glama

City incidents

get_city_crimes
Read-onlyIdempotent

Returns one page of individual incidents in a city, filtered by crime type, location type, dates, text, and an optional lat/lon box. Supports limit/offset pagination. A window longer than 45 days needs a geographic filter: the box, place, or location_descriptions. Chicago's portal withholds about the last seven days. New York publishes complaints after a quarter closes.

Input Schema

NameRequiredDescriptionDefault
cityNoCity to query.chicago
limitNoMaximum incidents on this page. Defaults to 25.
placeNoAddress text, such as a street name, matched against location, block, and community area. Neighborhood boundaries come from the lat/lon box.
offsetNoNumber of incidents to skip. Defaults to 0. pagination.next_offset in the result is the next page, or null when there are no more.
lat_maxNoNorth edge of the box.
lat_minNoSouth edge of the box.
lon_maxNoEast edge of the box.
lon_minNoWest edge of the box.
end_dateNoEnd date, YYYY-MM-DD. Defaults to the newest incident.
start_dateNoStart date, YYYY-MM-DD. Defaults to 30 days before the newest incident.
search_textNoText matched against crime type and description.
primary_typesNoCrime types to include, such as THEFT or BATTERY. Defaults to all types.
location_descriptionsNoLocation types to include, such as STREET or RESIDENCE. Defaults to all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedInput schema / properties / end_date / description
      Previous value: -"End date in YYYY-MM-DD format."New value: +"End date, YYYY-MM-DD. Defaults to the newest incident."
    • changedInput schema / properties / lat_max / description
      Previous value: -"North edge. Required geographic filter for a long window."New value: +"North edge of the box."
    • changedInput schema / properties / lat_min / description
      Previous value: -"South edge. Required geographic filter for a long window."New value: +"South edge of the box."
    • changedInput schema / properties / limit / default
      Previous value: -50New value: +25
    • changedInput schema / properties / limit / description
      Previous value: -"Max records to return (1-500)."New value: +"Maximum incidents on this page. Defaults to 25."
    • changedInput schema / properties / limit / maximum
      Previous value: -500New value: +100
    • changedInput schema / properties / location_descriptions / description
      Previous value: -"Filter by location descriptions (e.g., ['STREET', 'RESIDENCE']). Omit for all."New value: +"Location types to include, such as STREET or RESIDENCE. Defaults to all."
    • changedInput schema / properties / lon_max / description
      Previous value: -"East edge. Required geographic filter for a long window."New value: +"East edge of the box."
    • changedInput schema / properties / lon_min / description
      Previous value: -"West edge. Required geographic filter for a long window."New value: +"West edge of the box."
    • changedInput schema / properties / offset / description
      Previous value: -"Records to skip for pagination."New value: +"Number of incidents to skip. Defaults to 0. pagination.next_offset in the result is the next page, or null when there are no more."
    • changedInput schema / properties / place / description
      Previous value: -"Address text, such as a street name, matched against location, block, and community area. This is not a neighborhood boundary. Harbor View and other neighborhood names need the lat/lon box, or get_area_trends."New value: +"Address text, such as a street name, matched against location, block, and community area. Neighborhood boundaries come from the lat/lon box."
    • changedInput schema / properties / primary_types / description
      Previous value: -"Filter by crime types (e.g., ['THEFT', 'BATTERY', 'NARCOTICS']). Omit for all types."New value: +"Crime types to include, such as THEFT or BATTERY. Defaults to all types."
    • changedInput schema / properties / search_text / description
      Previous value: -"Text search across primary_type and description fields."New value: +"Text matched against crime type and description."
    • changedInput schema / properties / start_date / description
      Previous value: -"Start date in YYYY-MM-DD format."New value: +"Start date, YYYY-MM-DD. Defaults to 30 days before the newest incident."
  2. Changed5 schema fields changed
    • changedInput schema / properties / lat_max / description
      Previous value: -"North edge of a resolve_place box."New value: +"North edge. Required geographic filter for a long window."
    • changedInput schema / properties / lat_min / description
      Previous value: -"South edge of a resolve_place box."New value: +"South edge. Required geographic filter for a long window."
    • changedInput schema / properties / lon_max / description
      Previous value: -"East edge of a resolve_place box."New value: +"East edge. Required geographic filter for a long window."
    • changedInput schema / properties / lon_min / description
      Previous value: -"West edge of a resolve_place box."New value: +"West edge. Required geographic filter for a long window."
    • changedInput schema / properties / place / description
      Previous value: -"Neighborhood or street text from resolve_place. Matched against location, block, and community area."New value: +"Address text, such as a street name, matched against location, block, and community area. This is not a neighborhood boundary. Harbor View and other neighborhood names need the lat/lon box, or get_area_trends."
  3. Changed6 schema fields changed
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "chicago",
      -  "milwaukee"
      -]New value: +[
      +  "chicago",
      +  "milwaukee",
      +  "new york",
      +  "minneapolis",
      +  "denver"
      +]
    • addedInput schema / properties / lat_max
      Added value: +{
      +  "description": "North edge of a resolve_place box.",
      +  "type": "number"
      +}
    • addedInput schema / properties / lat_min
      Added value: +{
      +  "description": "South edge of a resolve_place box.",
      +  "type": "number"
      +}
    • addedInput schema / properties / lon_max
      Added value: +{
      +  "description": "East edge of a resolve_place box.",
      +  "type": "number"
      +}
    • addedInput schema / properties / lon_min
      Added value: +{
      +  "description": "West edge of a resolve_place box.",
      +  "type": "number"
      +}
    • addedInput schema / properties / place
      Added value: +{
      +  "description": "Neighborhood or street text from resolve_place. Matched against location, block, and community area.",
      +  "type": "string"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources