Skip to main content
Glama

Citywide crime stats

get_crime_stats
Read-onlyIdempotent

Returns citywide counts, the date range, top crime types, and top location types for one city or all cities. The figures cover whole cities; get_area_trends covers a neighborhood.

Input Schema

NameRequiredDescriptionDefault
cityNoCity to summarize, or all for every city side by side.all
top_nNoNumber of crime types and location types to list. Defaults to 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City to get stats for. Use 'all' for cross-city comparison."New value: +"City to summarize, or all for every city side by side."
    • changedInput schema / properties / top_n / description
      Previous value: -"Number of top items to return."New value: +"Number of crime types and location types to list. Defaults to 10."
  2. Changed1 schema field changed
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "all",
      -  "chicago",
      -  "milwaukee"
      -]New value: +[
      +  "all",
      +  "chicago",
      +  "milwaukee",
      +  "new york",
      +  "minneapolis",
      +  "denver"
      +]
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources