Skip to main content
Glama

Incident counts

incident_stats
Read-only

Counts of police-published records around a point by type and record type, by month, and against the same-length period before, with the sources behind them. Counts describe published records, not all crime.

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": "incident_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD (default: today)
latNoLatitude
lonNoLongitude
fromNoFirst day, YYYY-MM-DD (default: 90 days before `to`)
crimeNoOnly these types: murder, rape, robbery, aggravated_assault, burglary, shoplifting, theft_from_vehicle, other_larceny, motor_vehicle_theft, simple_assault, intimidation, vandalism, weapons, drugs_alcohol, disorderly_conduct, trespass, theft_unspecified, assault_unspecified, other_offense, or a call_* type
addressNoA U.S. street address
radius_mNoRadius in meters (default 500; plan caps apply)
record_typeNooffense, report, cfs (calls for service), unknown. Default leaves out cfs.
include_callsNoWhen true, calls for service and records that read as calls (alarms, traffic, welfare checks) are included. Default false, unless crime names a call type or record_type includes cfs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include_calls / description
      Previous value: -"Include calls for service and records that read as calls (alarms, traffic, welfare checks). Default false, unless crime names a call type or record_type includes cfs."New value: +"When true, calls for service and records that read as calls (alarms, traffic, welfare checks) are included. Default false, unless crime names a call type or record_type includes cfs."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds two things not in the structured fields: the response includes a baseline comparison against the same-length prior period plus the sources behind the counts, and an interpretive caveat that 'Counts describe published records, not all crime.' It stops short of describing pagination or response shape details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core capability and followed by an essential caveat; no filler. The first sentence is densely packed with a long clause chain ('by type and record type, by month, and against the same-length period before'), which is information-rich but slightly hard to parse in one pass.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With nine parameters, all optional, no output schema, and no annotations covering inputs, the description should resolve invocation ambiguities. It leaves unaddressed the relationship between address and lat/lon, whether one is required, and any unit or limit specifics beyond the schema's plan-cap note, though the underlying aggregation behavior is well conveyed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including defaults for to/from, the enumerated crime list, record_type values, radius_m and the include_calls inference rule, so the schema carries the parameter burden. The description only restates the aggregation axes, adding no format or precedence detail beyond it (notably silent on how address relates to lat/lon).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Counts') on a specific resource ('police-published records') and enumerates the dimensions of aggregation: type, record type, month, and prior-period comparison. It does not name or contrast any sibling (e.g. nearby_incidents or crime_index), so an agent must infer the boundary between this aggregate-count tool and the raw-incident tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'around a point' plus per-month and prior-period breakdowns signal an aggregation/summary scenario rather than a list of incidents. There is no explicit statement of when to prefer this over nearby_incidents or crime_index, and no stated preconditions such as needing a plan tier or a resolved location.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.