Skip to main content
Glama
zencity-product

city-data-mcp

Official

Query Crime Statistics

query_national_crime

Fetch city-level crime data for US, UK, and Canadian cities, covering violent/property crime, street incidents, and Crime Severity Index trends; auto-detects country.

Instructions

Query crime data for a city in the US, UK, or Canada.

US: FBI UCR — state-level violent/property crime, homicide, robbery, assault, multi-year trends. UK: data.police.uk — street-level crime by category (anti-social behaviour, burglary, robbery, violence, etc.). CA: StatCan UCR — Crime Severity Index, violent/non-violent CSI, homicide rate (CMA level).

Country auto-detected or specify with country parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity name (e.g., 'Denver', 'Manchester', 'Toronto')
countryNoCountry code. Auto-detected from city name if omitted. Required for ambiguous cities like London, Birmingham, Richmond, Hamilton, Cambridge, Windsor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavioral traits: geographic granularity differs by country (US state-level, UK street-level, CA CMA-level) and UK data is reported by category. It says nothing about authentication, rate limits, data freshness/lag, or the shape of the result, which leaves real gaps for a data-retrieval tool.

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

Conciseness5/5

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

Front-loaded purpose sentence followed by a tight, scannable per-country breakdown and a one-line note on country handling. Every sentence carries information and nothing is padded.

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

Completeness4/5

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

For a query tool with no output schema and no annotations, the description supplies the key context an agent needs: what each country returns and at what granularity. It is nearly complete, missing only return-format or data-freshness detail that an agent might benefit from.

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%, so the schema already documents both 'city' (with examples) and 'country' (enum plus auto-detect and ambiguous-city note). The description largely restates the auto-detection behavior, so baseline 3 is appropriate.

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 names a specific verb and resource ('query crime data') and scopes it to three countries, with per-country detail on the underlying sources (FBI UCR, data.police.uk, StatCan UCR). It clearly distinguishes the tool from non-crime siblings like query_public_health or query_demographics by domain, though it does not name any sibling explicitly.

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 implied by the domain (call it when you need crime statistics) and it usefully notes that country is auto-detected and required for ambiguous cities such as London or Birmingham. However, it gives no explicit when-to-use vs alternative guidance and names no competing sibling tool.

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